Today, we need to create an Ad-hoc package for testing on iOS devices,
Select archive in xcode. After compilation, the archives tab of origanizer is automatically opened,
There is an item called archive type that displays "generic xcode Archive ".
There are only two buttons on the right, validate and distribute. Remember that there was a share.
Google selects distriment and finds that there are only two options. The save for enterprise or ad-hoc deployment option is not described in the tutorial.
Go to stackoverflow to verify and find a setup problem.
In my project, I added a library xcode project file. I need to set the Skip install in build setting in the introduced xcdoe project file to yes and archive again to solve the problem.
To sum up, there are two points worth attention here,
1. For Versions later than xcode4.3.2, when you need to create an Ad-hoc package, there is no earlier share button, and you need to select distribute
2. if another xcode project file is added to your project, set skip install in build settings of the introduced project file to yes, but the current main project, to be set to no,
The subsequent process is simple. Select save for enterprise or ad-hoc deployment.
Pay attention to these two points, and it is OK.
If there is no problem with the settings, archive type is changed to "iOS app Archive" as mentioned above ".