You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once upon a time, Xcode's default directory values had issues when there
were spaces in project names, so we override the CONFIGURATION_BUILD_DIR
and SHARED_PRECOMPS_DIR variables with our own paths.
However, this can interfere with Cocoapods, and Xcode should be able to
handle things sensibly nowadays.
Unfortunately, that results in our build artifacts living somewhere in a
randomly-named Xcode DerivedData directory, and then we can't do things
like run the app in a simulator or on a device because we don't know the
path to it.
Setting SYMROOT allows us to control the output directory of the built
products, with the caveat that Xcode always creates a subdirectory named
with the current configuration.
So instead of `build/emulator`, we'll have `build/Debug-iphonesimulator`
and instead of `build/device`, we'll have `build/Release-iphoneos`.
Hypothetically this is better because now we are sure that debug and
release files never get mixed up in the same output directory.
The downside is that this is a breaking change because it alters the
path for the output .ipa files.
Closes#617.
Closes#659.
Closes#671.
Co-Authored-By: Susan Tan <[email protected]>
0 commit comments