Skip to content

Commit ac71945

Browse files
committed
Generic dest
1 parent 5601e68 commit ac71945

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/build-release.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,9 @@ jobs:
104104
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
105105
106106
- name: Build archive
107-
env:
108-
platform: ${{ 'iOS Simulator' }}
109107
run: |
110-
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
111-
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{print $1" "$2}'`
112-
set -o pipefail
113108
mkdir -p ~/build
114-
xcodebuild clean archive -scheme "Tree Tracker" -project "Tree Tracker.xcodeproj" -destination "platform=$platform,name=$device,arch=x86_64" -sdk iphoneos -configuration Release -archivePath ~/build/Tree\ Tracker.xcarchive | xcpretty
109+
xcodebuild clean archive -scheme "Tree Tracker" -project "Tree Tracker.xcodeproj" -destination "generic/platform=iOS" -sdk iphoneos -configuration Release -archivePath ~/build/Tree\ Tracker.xcarchive | xcpretty
115110
116111
- name: Export .ipa
117112
run: |

0 commit comments

Comments
 (0)