Xcode 3 offered to select a Build Configuration prior to building.
In Xcode 4 all I have is this:
RUN [Test | Profile | Analyze], STOP, [AppName > My iPhone]
When clicking and holding the large dropdown button that includes the app name, there are these options only:
While developing / debugging (at least intending to do so) Xcode 4 throws warnings that it failed to codesign verification. However, I have codesigning only active for the App Store distribution config. Before I set up that distribution config in the Scheme Editor for "Archive", there was no problem. So I guess Xcode 4 now still uses my distribution config for normal development.
How can I tell Xcode 4 to use my "Debug" configuration when building? Probably I must select a Scheme. But like you can see in the dropdown options list above, there's no way to pick one when building.
Edit your run/build-scheme;
Make sure the RUN scheme is currently selected and select the appropriate configuration;
Apparently, "build" is shorthand for "build for run". The configuration for "Run" is used for the "Build" task, therefore set your configuration in the Run task.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With