Common errors
Build and signing errors people actually hit, each reproduced on our machines and fixed until it built. The error text on each page is what our own run printed.
- Flutter: No valid code signing certificates were found — flutter build ios stops because there is nothing to sign the app with.
- Signing for “App” requires a development team — xcodebuild refuses to build for a device because no signing team is set.
- Building the .xcodeproj instead of the .xcworkspace — A project that uses CocoaPods fails to compile when you build the project file directly.
- xcodebuild: Unable to find a device matching the provided destination specifier — The simulator named in -destination does not exist on the machine.
- The sandbox is not in sync with the Podfile.lock — The installed pods do not match Podfile.lock, so the build stops before compiling.
- Android: SDK location not found — Gradle cannot find the Android SDK, so the Android build stops at once.
- error: invalid source release: 21 — A Capacitor 8 Android build needs Java 21, and the machine is using Java 17.
For problems that are not a single error message, such as a build that works on your Mac but not here, a build that hangs, or artifacts that do not show up, see Troubleshooting.