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 @@ -19,7 +19,8 @@ "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" + "expo": "PATH=/usr/bin:\"$PATH\" expo", + "xcodebuild": "cd ios && PATH=/usr/bin:/bin:\"$PATH\" xcodebuild" }, "devDependencies": { "@babel/cli": "^7.8.4",