mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-10-14 09:06:10 +08:00
Move Provisioning profiles to their own directory
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
ios/keys/profiles/CI__iogitjournalgitjournal.mobileprovision
Normal file
BIN
ios/keys/profiles/CI__iogitjournalgitjournal.mobileprovision
Normal file
Binary file not shown.
Binary file not shown.
@ -2,9 +2,12 @@
|
||||
|
||||
set -eox pipefail
|
||||
|
||||
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
#
|
||||
# Provisioning Profiles
|
||||
#
|
||||
cd ios/keys/profiles
|
||||
|
||||
cd ios/keys/
|
||||
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
||||
|
||||
uuid=$(security cms -D -i CI__iogitjournalgitjournal.mobileprovision | grep -aA1 UUID | grep -o "[-a-zA-Z0-9]\{36\}")
|
||||
cp ./CI__iogitjournalgitjournal.mobileprovision "$HOME/Library/MobileDevice/Provisioning Profiles/${uuid}.mobileprovision"
|
||||
@ -14,6 +17,11 @@ cp ./CI__iogitjournalgitjournalShareExtension.mobileprovision "$HOME/Library/Mob
|
||||
|
||||
ls -l "$HOME/Library/MobileDevice/Provisioning Profiles/"
|
||||
|
||||
#
|
||||
# Key Chain
|
||||
#
|
||||
cd ..
|
||||
|
||||
security create-keychain -p "" build.keychain
|
||||
security import ios_distribution.cer -t agg -k ~/Library/Keychains/build.keychain -P "" -A
|
||||
|
||||
|
Reference in New Issue
Block a user