Skip to content

Commit

Permalink
Update ci_cd.yml
Browse files Browse the repository at this point in the history
Added -workspace option
  • Loading branch information
Miggets7 authored Aug 28, 2024
1 parent 7ddf0c5 commit a3cda48
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,15 @@ jobs:
- name: CocoaPod Install
run: pod install --project-directory=./GenericApp

- name: Build GenericApp
run: xcodebuild -workspace GenericApp/GenericApp.xcodeproj/project.xcworkspace -scheme GenericApp -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12' -allowProvisioningUpdates

- name: Test GenericApp
run: xcodebuild -workspace GenericApp/GenericApp.xcodeproj/project.xcworkspace -scheme GenericApp -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12' test -allowProvisioningUpdates

- name: build archive
run: |
xcodebuild -scheme "GenericApp" \
xcodebuild -workspace GenericApp/GenericApp.xcodeproj/project.xcworkspace -scheme "GenericApp" \
-archivePath $RUNNER_TEMP/genericapp.xcarchive \
-sdk iphoneos \
-configuration Release \
Expand Down

0 comments on commit a3cda48

Please sign in to comment.