xcodebuild -exportArchive \
-archivePath /Users/desktop/xxx.xcarchive \
-exportPath /Users/desktop/build/xxx \
-exportFormat ipa \
-archivePath /Users/desktop/xxx.xcarchive \
-exportPath /Users/desktop/build/xxx \
-exportFormat ipa \
-exportProvisioningProfile xxx_development
注意:
1 -exportPath /Users/desktop/build/xxx ,Sword280 这个是ipa的名称
2 -exportProvisioningProfile xxx_development ,xxx_development 是provisioning profile 的名称,不是在finder里面看到的一串数字的文件的名称