get proper ipa for app store

This commit is contained in:
Kyle Spearrin 2020-06-10 12:24:52 -04:00
parent 302631c4fa
commit 6fd24c842f
3 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,5 @@
$rootPath = $env:GITHUB_WORKSPACE;
$ipaPath = "$rootPath/com.8bit.bitwarden.ipa"
$ipaPath = "$rootPath/Bitwarden.ipa"
xcrun altool --upload-app --type ios --file "$ipaPath" `
--username "$env:APPLE_ID_USERNAME" --password "$env:APPLE_ID_PASSWORD"

View file

@ -7,7 +7,12 @@ $rootPath = $env:GITHUB_WORKSPACE;
$homePath = Resolve-Path "~" | Select-Object -ExpandProperty Path
$exportOptionsPath = "$rootPath/.github/resources/export-options-$method.plist";
$archivePath = "$homePath/Library/Developer/Xcode/Archives/*/*.xcarchive";
$exportPath = "$rootPath/com.8bit.bitwarden.ipa"
$archiveBasePath = "$homePath/Library/Developer/Xcode/Archives/*";
$archivePath = "$archiveBasePath/*.xcarchive";
$exportPath = "$archiveBasePath/ipa-export";
$ipaPath = "$exportPath/Bitwarden.ipa";
$destIpaPath = "$rootPath/Bitwarden.ipa";
xcodebuild -exportArchive -archivePath $archivePath -exportPath $exportPath -exportOptionsPlist $exportOptionsPath
Copy-Item $ipaPath $destIpaPath

View file

@ -2,8 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>MinimumOSVersion</key>
<string>10.0</string>
<key>CFBundleDisplayName</key>