iOS xcodebuild command line package pit

1. When using xcodebuild archive to compile, you need to run the configuration file, you need to run the configuration file

Solution: In the exported configuration plist file exportOptionsPlist provisioningProfiles property

Content configuration: is the name of your run-time files, as shown below:

2. In xcodebuild be compiled, if the current workspace project can not be configured Target variable

Configured 3.exportOptionsPlist plist file format issue. For example, I configure provisioningProfiles, configure became key-value format, in fact, should be a dictionary format

Solution: the configuration file format viewing exportOptionsPlist is correct.

4. When xcodebuild engineering to clean up and can no longer command while using -target and -scheme, otherwise, it will error

Learning blog: https://testerhome.com/topics/10375

 

Guess you like

Origin blog.csdn.net/ioszhanghui/article/details/91045618