Xcode4 has just been installed in the evening. This is a long wait for a long time. I am always looking at the Internet to see how xcode4 has changed. Today, I spent a lot of effort uninstalling xcode 3.2.6 and installing xcode4! Even a helloworld won't be written, and the dead are lost. IB doesn't know where to go. Find the answer on the Internet and find a video. After reading the video, you can understand it. Well, you have to adapt to xcode4 for a while. You also find a depressing thing, xcode4 does not support projects of previous versions and cannot be opened !. Fortunately, I have another xcode3 installed, and the dual-SDK backup is true. I also thought that I had just completed the real machine test yesterday. How can I test this xcode4? So I quickly searched the internet and reprinted it.
CreateProgramYou need to enter the build ID. 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. Bundle display name, bundle name (display name), and excutable must be modified here.
File. 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.
This article Reprinted from http://mobile.51cto.com/iphone-265927.htm