Changing DEPLOYMENT_LOCATION doesn't work. For now I blame MacOS container manager. I can modify some string in the build, run the app and observe that during execution I still see the old string. Then I navigate to XCInstall within DerivedData or within /private/tmp/MyApp.dst/Applications/ (if DEPLOYMENT_LOCATION to YES) and confirm that the string within the build is correct (new). Then I can run the build directly from the Finder from XCInstall and the behavior is still old. But if I copy the build to a different directory and run from there, the behavior is new! I.e. I see the new string.
If I do "Clean build folder..." (Cmd-Shift-K) the app runs with the recent changes, but build time is much greater, as XCode does the full build.
Very annoying... Debugging on real iPhone is much slower in my case, but it seems I'm forced to do it that way :(
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: