Skip to content

Instantly share code, notes, and snippets.

@skabber
Last active April 14, 2024 20:47
Show Gist options
  • Star 46 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save skabber/4f2b20c6bd18e5934909189489549cce to your computer and use it in GitHub Desktop.
Save skabber/4f2b20c6bd18e5934909189489549cce to your computer and use it in GitHub Desktop.
Export Options Plist Example
<?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>method</key>
<string>app-store</string>
<key>teamID</key>
<string>XXXXXXXXXX</string>
<key>uploadBitcode</key>
<true/>
<key>compileBitcode</key>
<true/>
<key>uploadSymbols</key>
<true/>
<key>signingStyle</key>
<string>manual</string>
<key>signingCertificate</key>
<string>iOS Distribution: POSSIBLE Mobile</string>
<key>provisioningProfiles</key>
<dict>
<key>com.client.appname</key>
<string>Client App Release</string>
<key>com.client.appname.watchkitapp</key>
<string>Client App WatchApp Release</string>
<key>com.client.appname.watchkitapp.watchkitextension</key>
<string>Client App WatchKitExtension Release</string>
<key>com.client.appname.RemoteNotificationServiceExtension</key>
<string>Client App PushExtension Release</string>
<key>com.client.appname.Stickers</key>
<string>Client App Stickers Release</string>
</dict>
</dict>
</plist>
@rupalrapidops
Copy link

rupalrapidops commented Feb 20, 2019

Hi,

I'm trying to export .ipa for development method but I'm getting the error like

error: exportArchive: The data couldn’t be read because it isn’t in the correct format.

Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value., NSFilePath=/var/folders/jd/jb9v45913sx3mk2fqsb2thth0000gn/T/ipatool-json-filepath-I5MSVl}

It's working for app-store method.

My exportPlist is like:

<key>compileBitcode</key>
<true/>
<key>method</key>
<string>development</string>
<key>provisioningProfiles</key>
<dict>
	<key>Bundle-Id</key>
	<string>Profile-Name-Show-In-Xcode</string>
</dict>
<key>signingCertificate</key>
<string>Certificate-Added-In-Keychain</string>
<key>signingStyle</key>
<string>manual</string>
<key>stripSwiftSymbols</key>
<true/>
<key>teamID</key>
<string> XXXXXXXXXX </string>
<key>thinning</key>
<string>&lt;none&gt;</string>

Can you please give your advice for same?

@basdp
Copy link

basdp commented Mar 1, 2019

Hi,

I'm trying to export .ipa for development method but I'm getting the error like

error: exportArchive: The data couldn’t be read because it isn’t in the correct format.

Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value., NSFilePath=/var/folders/jd/jb9v45913sx3mk2fqsb2thth0000gn/T/ipatool-json-filepath-I5MSVl}

It's working for app-store method.

My exportPlist is like:

<key>compileBitcode</key>
<true/>
<key>method</key>
<string>development</string>
<key>provisioningProfiles</key>
<dict>
	<key>Bundle-Id</key>
	<string>Profile-Name-Show-In-Xcode</string>
</dict>
<key>signingCertificate</key>
<string>Certificate-Added-In-Keychain</string>
<key>signingStyle</key>
<string>manual</string>
<key>stripSwiftSymbols</key>
<true/>
<key>teamID</key>
<string> XXXXXXXXXX </string>
<key>thinning</key>
<string>&lt;none&gt;</string>

Can you please give your advice for same?

You're missing the header and footer. Is this your entire exportPlist file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment