Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/build-release-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,13 @@ jobs:
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp "$PROVISIONING_PROFILE_PATH" "$HOME/Library/MobileDevice/Provisioning Profiles/build_pp.mobileprovision"

- name: Extract UUID from provisioning profile
run: |
PROFILE="$HOME/Library/MobileDevice/Provisioning Profiles/build_pp.mobileprovision"
UUID=$(security cms -D -i "$PROFILE" | /usr/libexec/PlistBuddy -c "Print :UUID" /dev/stdin)
echo "UUID=$UUID" >> $GITHUB_ENV

- name: Generate ExportOptions.plist
working-directory: apps/storybook
run: |
FILE=ExportOptions.plist
/usr/libexec/PlistBuddy -c "add :method string app-store" $FILE
/usr/libexec/PlistBuddy -c "add :provisioningProfiles dict" $FILE
/usr/libexec/PlistBuddy -c "add :provisioningProfiles:${{ vars.APPLE_BUNDLE_IDENTIFIER }} string ${{ env.UUID }}" $FILE
/usr/libexec/PlistBuddy -c "add :provisioningProfiles:${{ vars.APPLE_BUNDLE_IDENTIFIER }} string ${{ vars.APPLE_PROVISIONING_PROFILE_NAME }}" $FILE
/usr/libexec/PlistBuddy -c "add :signingStyle string manual" $FILE
/usr/libexec/PlistBuddy -c "add :teamId string ${{ vars.APPLE_TEAM_ID }}" $FILE
cat $FILE
Expand Down Expand Up @@ -108,7 +102,7 @@ jobs:
-archivePath build/EDSMobile.xcarchive \
CODE_SIGN_STYLE="Manual" \
CODE_SIGN_IDENTITY="${{ vars.APPLE_CODE_SIGN_IDENTITY }}" \
PROVISIONING_PROFILE="${{ env.UUID }}"
PROVISIONING_PROFILE_SPECIFIER="${{ vars.APPLE_PROVISIONING_PROFILE_NAME }}"

- name: Export IPA
working-directory: apps/storybook
Expand Down
6 changes: 5 additions & 1 deletion apps/storybook/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"newArchEnabled": false,
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.equinor.eds.mobile"
"bundleIdentifier": "com.equinor.eds.mobile",
"buildNumber": "1",
"infoPlist": {
"ITSAppUsesNonExemptEncryption": false
}
},
"android": {
"adaptiveIcon": {
Expand Down
Loading