xcodebuild -exportArchive -archivePath .xcarchive -exportPath -exportFormat ipa -exportProvisioningProfile "Name of Provisioning Profile"
Right click on Archive on Organizer. Click Show in Finder. You can see .xcarchive file in Finder.
Open Terminal and cd to .xcarchive path.
Using following command to generate .ipa file. This will save .ipa on Desktop.
xcodebuild -exportArchive -exportFormat ipa -archivePath .xcarchive -exportPath ~/Desktop/.ipa
Open Xcode, go to Organizer and export as Ad Hoc build with proper provisioning profile
First, create yourself a build script. The proposed build script could start by a clean and followed with performing an archive call: xcodebuild clean -project .xcodeproj -configuration Release -alltargets xcodebuild archive -project .xcodeproj -scheme -archivePath .xcarchive
Export the archive into a .IPA file using the following command: xcodebuild -exportArchive -archivePath .xcarchive -exportPath -exportFormat ipa -exportProvisioningProfile "Name of Provisioning Profile"
转载于:https://www.cnblogs.com/octave/p/4365126.html
相关资源:python实现说话人识别实验与开发