This file contains hidden or 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
{ | |
"ios": { | |
"release": { | |
"codeSignIdentity": "iPhone Distribution", | |
"developmentTeam": "YOUR_TEAM_ID", | |
"packageType": "app-store", | |
"provisioningProfile": "YOUR_PROVISIONING_PROFILE_GUID", | |
"buildFlag": [ | |
"EMBEDDED_CONTENT_CONTAINS_SWIFT = YES", | |
"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO", |
This file contains hidden or 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
- run: | |
name: "Generate ipa" | |
command: | | |
sudo chown -R distiller:staff ../.ionic | |
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k default /Users/distiller/Library/Keychains/MyKeychain.keychain-db | |
ionic cordova build ios --release --device --buildConfig ./build.json | |
mkdir -p /tmp/ios | |
cp -r platforms/ios/build/device/*.ipa /tmp/ios |
This file contains hidden or 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
- run: | |
name: make Provisioning Profiles directory | |
command: mkdir -pv ~/Library/MobileDevice/Provisioning\ Profiles/ | |
- run: | |
name: Install Provisioning Profiles | |
context: org-global | |
command: | | |
cp ~/repo/provisioningprofiles/* ~/Library/MobileDevice/Provisioning\ Profiles/ | |
sudo chown distiller:staff ~/Library/MobileDevice/Provisioning\ Profiles/* |
This file contains hidden or 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
- run: | |
name: Install Certificates | |
context: org-global | |
command: | | |
security create-keychain -p default MyKeychain.keychain | |
security set-keychain-settings MyKeychain.keychain | |
security unlock-keychain -p default MyKeychain.keychain | |
security import ~/cert.p12 -x -t agg -k MyKeychain.keychain -A -P "" | |
security set-keychain-settings -lut 7200 MyKeychain.keychain | |
security list-keychains -d user -s MyKeychain.keychain $(security list-keychains -d user | sed s/\"//g) |