Thursday, May 5, 2011

Xcode 3.x to 4.0 transition tips

To change your build configuration, choose Product/Edit scheme. You can select different build configurations for run/test/profile/analyze/archive.

Which profile to use is determined in different build configurations. To view/edit a build configuration, in the left panel select the project navigator and click the top most entry (project). The settings of build configuration will show up in the right panel.

Building and submitting app to app store is done through archive, therefore the build configuration used by archive should choose distribution profile in code signing identity. However this makes the app cannot be run with Xcode. To run it you need to use developer profile as code signing identity.

No comments:

Post a Comment