Last active
March 19, 2021 21:34
-
-
Save joaomarcos96/a5b93bf3645b842a58353c79ac415a54 to your computer and use it in GitHub Desktop.
iOS automated deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcodebuild \ | |
-workspace Runner.xcworkspace \ | |
-scheme Runner \ | |
-sdk iphoneos \ | |
-configuration Release archive \ | |
-archivePath $PWD/build/Runner.xcarchive | |
xcodebuild \ | |
-exportArchive \ | |
-archivePath $PWD/build/Runner.xcarchive \ | |
-exportOptionsPlist ExportOptions.plist \ | |
-exportPath $PWD/build/Runner.ipa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>destination</key> | |
<string>upload</string> | |
<key>method</key> | |
<string>app-store</string> | |
<key>teamID</key> | |
<string>MyTeamID</string> <!-- your team ID, something like "AB12C345DE" --> | |
<key>uploadBitcode</key> | |
<false/> | |
<key>uploadSymbols</key> | |
<true/> | |
<key>signingStyle</key> | |
<string>manual</string> <!-- sets the signing process as manual --> | |
<key>signingCertificate</key> | |
<string>Apple Distribution</string> <!-- or another Signing Certificate like "iOS Distribution" --> | |
<key>provisioningProfiles</key> | |
<dict> | |
<key>br.com.myapp</key> <!-- your app id --> | |
<string>MyAppProfile</string> <!-- the profile you're using to compile and deploy --> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment