Fix iOS CI Build (#1673)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1673 XCode 12 starts building for apple hardware, but that fails on x86, so only build x86_64. Reviewed By: nikoant Differential Revision: D24857260 fbshipit-source-id: 30c0e021d4f809fd3a8ad72537a2627a43e589eb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
50f2b0db5f
commit
a9ac4da146
6
.github/workflows/iOS-Sample.yml
vendored
6
.github/workflows/iOS-Sample.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: Build Sample app
|
||||
run: |
|
||||
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
|
||||
xcodebuild build -workspace Sample.xcworkspace -scheme Sample -sdk $IPHONESIMULATOR
|
||||
xcodebuild build -workspace Sample.xcworkspace -scheme Sample -sdk $IPHONESIMULATOR -arch x86_64
|
||||
|
||||
build-sample-swift:
|
||||
runs-on: macos-latest
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Build SampleSwift app
|
||||
run: |
|
||||
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
|
||||
xcodebuild build -workspace SampleSwift.xcworkspace -scheme SampleSwift -sdk $IPHONESIMULATOR
|
||||
xcodebuild build -workspace SampleSwift.xcworkspace -scheme SampleSwift -sdk $IPHONESIMULATOR -arch x86_64
|
||||
|
||||
build-tutorial:
|
||||
runs-on: macos-latest
|
||||
@@ -44,5 +44,5 @@ jobs:
|
||||
- name: Build Tutorial app
|
||||
run: |
|
||||
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
|
||||
xcodebuild build -workspace Tutorial.xcworkspace -scheme Tutorial -sdk $IPHONESIMULATOR
|
||||
xcodebuild build -workspace Tutorial.xcworkspace -scheme Tutorial -sdk $IPHONESIMULATOR -arch x86_64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user