File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -78,14 +78,17 @@ jobs:
7878 env :
7979 BUILD_CERTIFICATE_BASE64 : ${{ secrets.BS_BUILD_CERTIFICATE }}
8080 P12_PASSWORD : ${{ secrets.BS_P12_PASSWORD }}
81+ BUILD_PROVISION_PROFILE_BASE64 : ${{ secrets.BS_BUILD_PROVISION_PROFILE_BASE64 }}
8182 KEYCHAIN_PASSWORD : ${{ secrets.KEYCHAIN_PASSWORD }}
8283 run : |
8384 # create variables
8485 CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
8586 KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
87+ PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision
8688
8789 # import certificate
8890 echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
91+ echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PATH
8992
9093 # create temporary keychain
9194 security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
9598 # import certificate to keychain
9699 security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
97100 security list-keychain -d user -s $KEYCHAIN_PATH
101+
102+ # apply provisioning profile
103+ mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
104+ cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
98105
99106 # --- Step 6: Build the iOS Branch Link Simulator App using the local SDK Framework ---
100107 - name : Build iOS App with local SDK
You can’t perform that action at this time.
0 commit comments