-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix support for additional iOS build configurations #769
Comments
Merged
will be available in 0.24.3 release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So we added an additional configuration to the iOS side, but it was not working with task to copy framework resources to the app and the app crashed because the resources were not in the app.
To support iOS configurations other than DEBUG and RELEASE the cocoapods plugin provides the xcodeConfigurationToNativeBuildType property so you can map configurations to DEBUG and RELEASE.
Moko resources copy resources task is honoring this mapping so if the mapping is setup it will honor it.
The issue however is that the copy task is configured as soon as the moko resources plugin is applied which is before the xcodeConfigurationToNativeBuildType is setup.
The workaround that I had to use is to not apply the plugin in the plugins block:
and then apply it later in the file after we configure the mapping.
The request is to delay the setup of the task so that the xcodeConfigurationToNativeBuildType mapping can be confgured without the workaround
The text was updated successfully, but these errors were encountered: