-
Notifications
You must be signed in to change notification settings - Fork 904
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: pick correct TARGET_BUILD_DIR for run-ios #1032
fix: pick correct TARGET_BUILD_DIR for run-ios #1032
Conversation
In my case xcode ENV causing this error was:
And that |
Also there more build settings in |
Tested on my broken project (now works) and also tested on |
@leethree Could you verify if this fixes your issue? |
Yes it does |
More info about
Reference: https://pewpewthespells.com/blog/xcconfig_guide.html |
would have been nice to have this for cli ^3.0.0 (react-native ^0.61.0), 'cause this fixes my issue where I had the wrong |
React > v0.62.0 has this |
I think we could cherry-pick this to 3.x |
…y#1032) * ci: fix wrong TARGET_BUILD_DIR * ci: better version of detecting right build settings
Summary:
Related: facebook/react-native#21303
Related: facebook/react-native#14423
Test Plan:
I'm getting wrong build target because some pods are also specified a target and this was in xcode env. The grep just matches first but not always the right TARGET. So instead of matching use JSON parsing.