-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
102 additions
and
32 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?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>compileBitcode</key> | ||
<true/> | ||
<key>method</key> | ||
<string>ad-hoc</string> | ||
<key>provisioningProfiles</key> | ||
<dict> | ||
<key>com.ginkgo.ginkgo</key> | ||
<string>Test Github Actions Adhoc</string> | ||
</dict> | ||
<key>signingCertificate</key> | ||
<string>Apple Distribution: Prostage Limited Liability Company (LWGNF97J5S)</string> | ||
<key>signingStyle</key> | ||
<string>manual</string> | ||
<key>stripSwiftSymbols</key> | ||
<true/> | ||
<key>teamID</key> | ||
<string>LWGNF97J5S</string> | ||
<key>thinning</key> | ||
<string><none></string> | ||
</dict> | ||
</plist> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
# Decrypt the files | ||
# --batch to prevent interactive command --yes to assume "yes" for questions | ||
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_PASSWORD" --output ios/keys/Certificates.p12 ios/keys/Certificates.p12.gpg | ||
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_PASSWORD" --output ios/keys/Test_Github_Actions_Adhoc.mobileprovision ios/keys/Test_Github_Actions_Adhoc.mobileprovision.gpg | ||
|
||
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles | ||
|
||
echo "List profiles" | ||
ls ~/Library/MobileDevice/Provisioning\ Profiles/ | ||
echo "Move profiles" | ||
cp ios/keys/*.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/ | ||
echo "List profiles" | ||
ls ~/Library/MobileDevice/Provisioning\ Profiles/ | ||
|
||
echo "Import certifications" | ||
security create-keychain -p "" build.keychain | ||
security import ios/keys/Certificates.p12 -t agg -k ~/Library/Keychains/build.keychain -P "$CERTIFICATES_PASSWORD" -A | ||
|
||
security list-keychains -s ~/Library/Keychains/build.keychain | ||
security default-keychain -s ~/Library/Keychains/build.keychain | ||
security unlock-keychain -p "" ~/Library/Keychains/build.keychain | ||
security set-key-partition-list -S apple-tool:,apple: -s -k "" ~/Library/Keychains/build.keychain |
Binary file not shown.
Binary file not shown.