code signing - Xcode 9 distribution build fails because format of exportOptions.plist has changed in new release -


i trying compile ad-hoc ipa app using sdk version 6.1.2 , xcode 9 beta (trying see if app works in new version). build failing following error message:

error domain=ideprovisioningerrordomain code=9 ""dghospice.app"  requires provisioning profile." userinfo= {nslocalizeddescription="dghospice.app" requires provisioning  profile., nslocalizedrecoverysuggestion=add profile  "provisioningprofiles" dictionary in export options property   list.} 

the distribution profile valid , can create ipa if use ios sdk 10. build fails in 11.0. can me pinpoint issue?

use command /applications/xcode-beta.app/xcodebuild -help. you'll have detail information exportoptionsplist available keys -exportoptionsplist:

....

provisioningprofiles : dictionary

for manual signing only. specify provisioning profile use each executable in app. keys in dictionary bundle identifiers of executables; values provisioning profile name or uuid use.

....

here sample option plist

<?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>provisioningprofiles</key>     <dict>         <key>com.aaa.bbb</key>         <string>adhoc_bbb</string>         <key>com.aaa.ccc</key>         <string>adhoc_ccc</string>     </dict>     <key>method</key>     <string>ad-hoc</string>     <key>uploadbitcode</key>     <false/>     <key>uploadsymbols</key>     <true/> </dict> </plist> 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -