Skip to content

Commit

Permalink
💚 Xcode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 committed Jul 7, 2024
1 parent 3efb20b commit b99e0cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo "FROM_TAG=$FROM_TAG" >> $GITHUB_ENV
- name: 🔧 Select Xcode
run: sudo xcode-select -s "/Applications/Xcode_16.0.app"
run: sudo xcode-select -s "/Applications/Xcode_15.4.app"

- name: 🎟️ Install Certificate
id: profile
Expand All @@ -57,6 +57,7 @@ jobs:
echo -n "$DEVELOPMENT_CERT_BASE64" | base64 --decode -o $DEVELOPMENT_CERT_PATH
echo -n "$DEVELOPER_ID_CERT_BASE64" | base64 --decode -o $DEVELOPER_ID_CERT_PATH
echo -n "$PROVISION_PROFILE_B64" | base64 --decode --output $PROVISION_PROFILE_PATH
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
Expand All @@ -67,12 +68,8 @@ jobs:
security list-keychain -d user -s $KEYCHAIN_PATH
echo -n "$PROVISION_PROFILE_B64" | base64 --decode --output $PROVISION_PROFILE_PATH
uuid=`grep UUID -A1 -a "$PROVISION_PROFILE_PATH" | grep -io "[-A-F0-9]\{36\}"`
echo "uuid=$uuid" >> $GITHUB_OUTPUT
mkdir -p "~/Library/Developer/Xcode/UserData/Provisioning Profiles"
cp "$PROVISION_PROFILE_PATH" "~/Library/Developer/Xcode/UserData/Provisioning Profiles"
mkdir -p "~/Library/MobileDevice/Provisioning Profiles"
cp "$PROVISION_PROFILE_PATH" "~/Library/MobileDevice/Provisioning Profiles"
- name: 🛠️ Build Loop
run: |
Expand All @@ -81,8 +78,7 @@ jobs:
-project Loop.xcodeproj/ \
-scheme "Loop (GH ACTIONS)" \
-destination 'generic/platform=macOS' \
-archivePath dist/Loop.xcarchive \
PROVISIONING_PROFILE=${{ steps.profile.outputs.uuid }}
-archivePath dist/Loop.xcarchive
- name: 🥡 Export Loop.app
run: |
Expand Down
6 changes: 4 additions & 2 deletions Loop.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,8 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = "";
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CODE_SIGN_ENTITLEMENTS = Loop/Loop.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
Expand Down Expand Up @@ -818,7 +819,8 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = "";
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CODE_SIGN_ENTITLEMENTS = Loop/Loop.entitlements;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEAD_CODE_STRIPPING = YES;
Expand Down

0 comments on commit b99e0cd

Please sign in to comment.