Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3398738
D6785.id22740.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6785.id22740.diff
View Options
diff --git a/.buildkite/ios.yml b/.buildkite/ios.yml
--- a/.buildkite/ios.yml
+++ b/.buildkite/ios.yml
@@ -5,7 +5,7 @@
- 'curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y'
- 'source /Users/comm/.cargo/env'
- 'yarn ci-cleaninstall'
- - 'cd native/ios && xcodebuild -workspace Comm.xcworkspace -scheme Comm -destination generic/platform=iOS -allowProvisioningUpdates'
+ - 'cd native && yarn xcodebuild -workspace Comm.xcworkspace -scheme Comm -destination generic/platform=iOS -allowProvisioningUpdates'
retry:
automatic: true
env:
diff --git a/native/package.json b/native/package.json
--- a/native/package.json
+++ b/native/package.json
@@ -18,8 +18,9 @@
"logfirebase": "adb shell logcat | grep -E -i 'FIRMessagingModule|firebase'",
"redux-devtools": "redux-devtools --port=8043 --open",
"codegen-jsi": "flow && babel codegen/src/ -d codegen/dist/ && node codegen/dist",
- "react-native": "PATH=/usr/bin:\"$PATH\" react-native",
- "expo": "PATH=/usr/bin:\"$PATH\" expo"
+ "react-native": "PATH=/usr/bin:/bin:\"$PATH\" react-native",
+ "expo": "PATH=/usr/bin:/bin:\"$PATH\" expo",
+ "xcodebuild": "cd ios && PATH=/usr/bin:/bin:\"$PATH\" xcodebuild"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
diff --git a/postinstall.sh b/postinstall.sh
--- a/postinstall.sh
+++ b/postinstall.sh
@@ -14,5 +14,5 @@
yarn workspace native jetify
if [[ "$OSTYPE" == "darwin"* ]]; then
- (cd native/ios && PATH=/usr/bin:"$PATH" pod install)
+ (cd native/ios && PATH=/usr/bin:/bin:"$PATH" pod install)
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 3, 12:18 AM (21 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2609414
Default Alt Text
D6785.id22740.diff (1 KB)
Attached To
Mode
D6785: [native] Fix Buildkite iOS build to work from inside Nix
Attached
Detach File
Event Timeline
Log In to Comment