It has been nearly a year since last July when I started developing iPhone/iPad applications. I started to use xcode3 for development. Later I used xcode4 to compile and generate IPA for internal enterprise release. When I moved to the office a few days ago, I suddenly found that the generated IPA file could not be downloaded from the publishing website and installed on the iPad machine. After more than two days of uninstalling and installing xcode, I searched for information online and finally fixed the following two problems. I wrote them here and talked about them for help.
1. After connecting to the iPad device, the device does not appear in the run list. The list contains only iOS devices and simulator.
Solution: In the setting item of the project, set the IOS version of IOS deploy target to the IOS version of the device. IPad ios4.2,However, the default SDK version of xcode4 is ios4.3, so the device does not appear.
As follows:
2.Xcode cocould not find a valid Private Certificate/valid key-pair for this profile in your keychain
Solution: first, drag and install the provision file to the library under the device in the organizer, and then drag and install the file to the device.
As follows: