重点是在脚本配合的打包plist中,设置signingStyle为manual
然后配置provisioningProfiles字典类型 对象为 key:bundleId value:profile的name 如下:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.xx.xx</key>
<string>profileName</string>
<key>com.xx.xxx</key>
<string>profileName2</string>
</dict>
</plist>
网友评论