Expo
An Expo app builds here the same way it does on a Mac: expo prebuild writes the native projects, then Xcode and Gradle build them. You do not need an Expo account, and EAS is not involved.
We ran this on 25 November 2026 on a fresh machine with our default image: a new Expo SDK 58 app (create-expo-app, blank template), from nothing to an unsigned iOS app and a release APK.
| Step | Time |
|---|---|
| npm ci | 3s |
| expo prebuild --platform ios (includes pod install, 98 pods) | 39s |
| xcodebuild, Release, unsigned | 39s |
| expo prebuild --platform android | 1s |
| gradlew assembleRelease | 2m 54s |
Your own app will take longer if it has more native modules; the shape of the build stays the same.
01The whole file
Save this as .macbuildcloud.yml in your repository, or paste it into Build steps on the Repositories page. It finds your workspace and scheme on its own, so you do not need to change any names.
script:
- npm ci
- npx expo prebuild --platform ios
- xcodebuild -workspace ios/*.xcworkspace -scheme "$(basename ios/*.xcworkspace .xcworkspace)" -configuration Release -destination "generic/platform=iOS" -derivedDataPath ios/build CODE_SIGNING_ALLOWED=NO -quiet build
- npx expo prebuild --platform android
- cd android && ./gradlew assembleRelease --no-daemon -q && cd ..
artifacts:
- ios/build/Build/Products/Release-iphoneos/*.app
- android/app/build/outputs/apk/release/*.apk
02If your repository already has ios/ and android/
Some projects commit the native folders instead of generating them. Then leave out the two expo prebuild lines and install the pods yourself before xcodebuild:
- cd ios && pod install && cd ..
03Name, bundle identifier and package
expo prebuild takes the app's identifiers from app.json. Without ios.bundleIdentifier and android.package it makes some up (in our test the Android package became com.anonymous.expodemo). That is fine for a test build; set your real ones before you sign anything.
04What is on the machine
Node 24.22.2, npm 11.19.1, Yarn and pnpm, CocoaPods 1.17.0, Xcode 27.2, JDK 17 and the Android SDK. Gradle fetches any extra Android SDK pieces it needs on the first build (in our test, CMake 3.22.1).
05Signing and TestFlight
The file above builds without signing, which proves the project compiles. To produce a signed .ipa and upload it, follow Code signing & TestFlight: the steps after expo prebuild are the same as for any Xcode workspace. The APK from assembleRelease is signed with the debug key that expo prebuild sets up, so it installs on a device but is not for the Play Store.