-
Notifications
You must be signed in to change notification settings - Fork 902
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(ios): fix Xcode defaulting to 'Release' #1957
fix(ios): fix Xcode defaulting to 'Release' #1957
Conversation
`getBuildConfigurationFromXcScheme` currently assumes where the `.xcodeproj` lives (it could be anywhere). The proper fix is to get the path from `.xcworkspace`, but that's a much more intrusive change. The least we can do for now is to fall back to `Debug`.
yeah most likely we need to backport to both so that we can then have in RN 72 and 71. |
`getBuildConfigurationFromXcScheme` currently assumes where the `.xcodeproj` lives (it could be anywhere). The proper fix is to get the path from `.xcworkspace`, but that's a much more intrusive change. The least we can do for now is to fall back to `Debug`.
`getBuildConfigurationFromXcScheme` currently assumes where the `.xcodeproj` lives (it could be anywhere). The proper fix is to get the path from `.xcworkspace`, but that's a much more intrusive change. The least we can do for now is to fall back to `Debug`.
Released v12.0.0-alpha.4, v11.3.2 and v10.2.4 with this fix. Btw, the |
Thank you ❤️
|
Let me know if you have ideas on how to improve it (e.g. extra configuration) 👍🏼 |
Summary:
getBuildConfigurationFromXcScheme
currently assumes where the.xcodeproj
lives (it could be anywhere). The proper fix is to get the path from.xcworkspace
, but that's a much more intrusive change. The least we can do for now is to fall back toDebug
.Test Plan:
Take note of whether
-configuration
is correctly set whenxcodebuild
is run. This is what it looks like without this fix: