Default iPhone Version for iPhone Simulator

I recently played with the iPhone SDK. At first I did not use anything that required SDK version 2.2. However, I recently started using some features that were added or changed in 2.1 and 2.2.

I installed the new 2.2 SDK and changed my project settings to the target 2.2 SDK. However, when I click "Build and Run" in Xcode, the simulator starts with the selected version 2.0. I can change it to 2.2, and my application works as expected, however, this kills the debugging session that needs to be reconnected.

I missed some parameter somewhere, which will lead to the launch of the simulator with the selected version 2.2?

Thanks for any info.

+3
source share
3 answers

Maybe something is missing for me, but you can’t just select "Simulator - 2.2 | Debug" in the "Overview" menu, then "Build and Debug"?

+1
source

Right-click on the toolbar of the Xcode project window and select "Customize Toolbar ...". From there, drag "Active Build Configuration" and "Active SDK" into the menu. Select "Debug" for your active build configuration and "Simulator - iPhone OS 2.2" for your SDK and try again.

Sometimes automatic grouped configuration does not work correctly.

0
source

, , , Xcode.

0
source

All Articles