You need to enter the Build ID when creating a program. Xcode 4 is user-friendly and can be entered as needed.
Enter the project, select the project configuration and deploy the sdk (note the differences with the base sdk) as shown in the figure below. You can copy several configurations below to achieve different requirements. Generally, you can copy a release for publishing configuration. We will not talk about the localization below.
Next, select the following target configuration. Here, we need to configure idertifier.
Select info for the above tag. The bundle display name and bundle name (display name) need to be changed here. I usually use excutable file by default. Icon file is the icon file name (note the difference with icon files ). Bundle identifier is the id of step 1st and step 3rd, and the following version number and all info. plist keys are set here.
Select build settings for the preceding tag, locate the code signing group, and set the signature. If you have copied multiple signatures in step 1, multiple signatures are displayed.
In the drop-down list in the upper left corner of Xcode 4, select ios device and enter edit scheme.
Select the configuration, whether you want to compile debug or release. If it is too troublesome, you can modify it separately on the left side. For the switch, press the left button on the RUN button in the upper left corner of Xcode.