Skip to content

Commit 1e49e41

Browse files
authored
Update Xcode setup in iOS deployment workflow (#516)
1 parent dda03fb commit 1e49e41

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • docs/03-github/06-deployment

docs/03-github/06-deployment/ios.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,10 @@ jobs:
459459
name: build-iOS
460460
path: build/iOS
461461
462-
- name: Select Xcode
463-
run: |
464-
sudo xcode-select --switch /Applications/Xcode_16.4.app
465-
xcodebuild -downloadPlatform iOS
462+
- name: Setup Xcode
463+
uses: maxim-lobanov/setup-xcode@v1
464+
with:
465+
xcode-version: '16.4'
466466
467467
- name: Fix File Permissions and Run fastlane
468468
env:
@@ -482,6 +482,7 @@ jobs:
482482
IOS_BUNDLE_ID: com.company.application # Change it to match your Unity bundle id
483483
PROJECT_NAME: Your Project Name # Change it to match your project's name
484484
run: |
485+
xcodebuild -downloadPlatform iOS
485486
eval "$(ssh-agent -s)"
486487
ssh-add - <<< "${MATCH_DEPLOY_KEY}"
487488
find $IOS_BUILD_PATH -type f -name "**.sh" -exec chmod +x {} \;

0 commit comments

Comments
 (0)