I had the same problem, fixed it by manually starting the simulator app before starting expo.
The app is located in /Applications/Xcode.app/Contents/Developper/Applications/Simulator.app
Answer from Nogesma on Stack OverflowI had the same problem, fixed it by manually starting the simulator app before starting expo.
The app is located in /Applications/Xcode.app/Contents/Developper/Applications/Simulator.app
Manually opening the simulator first can help:
open -a Simulator
Then if using expo:
expo start
Finally click:
"Run on iOS simulator"
Hi all,
Any idea why it keeps failing to run on my device. ?
how to solve it ?
```bash
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x objective-c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -V
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 /Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/ios/trackyourmacros/Images.xcassets
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x assembler-with-cpp -c /dev/null
ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: b973098b8ee78349309e32f795460611
Build description path: /Users/johnstilia/Library/Developer/Xcode/DerivedData/trackyourmacros-ccermiqugxezozgnegowvaovxbop/Build/Intermediates.noindex/XCBuildData/b973098b8ee78349309e32f795460611.xcbuilddata
warning: Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
/Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.4.99. (in target 'GoogleSignIn-GoogleSignIn' from project 'Pods')
note: Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'EXConstants' from project 'Pods')
/Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.4.99. (in target 'GTMAppAuth-GTMAppAuth_Privacy' from project 'Pods')
/Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.4.99. (in target 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from project 'Pods')
/Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.4.99. (in target 'AppAuth-AppAuthCore_Privacy' from project 'Pods')
warning: Run script build phase '[CP-User] [RN]Check rncore' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-Fabric' from project 'Pods')
/Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/ios/trackyourmacros.xcodeproj: error: Provisioning profile "iOS Team Provisioning Profile: *" doesn't support the Sign in with Apple capability. (in target 'trackyourmacros' from project 'trackyourmacros')
/Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/ios/trackyourmacros.xcodeproj: error: Provisioning profile "iOS Team Provisioning Profile: *" doesn't include the com.apple.developer.applesignin entitlement. (in target 'trackyourmacros' from project 'trackyourmacros')
note: Run script build phase '[Expo] Configure project' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'trackyourmacros' from project 'trackyourmacros')
note: Run script build phase 'Bundle React Native code and images' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'trackyourmacros' from project 'trackyourmacros')
warning: Run script build phase '[CP-User] [RNGoogleMobileAds] Configuration' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'trackyourmacros' from project 'trackyourmacros')
warning: Run script build phase '[CP-User] [RN]Check rncore' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-FabricComponents' from project 'Pods')
2025-04-09 16:44:52.012 xcodebuild[24871:9668553] DVTDeviceOperation: Encountered a build number "" that is incompatible with DVTBuildVersion.
2025-04-09 16:44:52.395 xcodebuild[24871:9668468] [MT] DVTDeviceOperation: Encountered a build number "" that is incompatible with DVTBuildVersion.
** BUILD FAILED **
The following build commands failed:
Building workspace trackyourmacros with scheme trackyourmacros and configuration Debug
(1 failure)
Build logs written to /Users/johnstilia/Documents/Projects/track-my-macros/mobile_app/.expo/xcodebuild.log
```
https://www.youtube.com/watch?v=dvuZn6gX_Q4
This tutorial video on YouTube helped me solve my problems. I think I was missing a few things:
- I haven't granted required privacy permissions on my Mac for Xcode, Android Studio and VS Code. Open
System Preferences > Security & Privacy > Go Privacy Tab > Give Full Disk Access to Xcode, VS Code, Android Studio, Terminal and Watchman(Watchman is not required, but I have also installed it for solving a problem before) - You should to launch both your Android and iOS simulators before starting your expo application. Simply go to Android Studio and launch your device. To launch iOS device use bash and type
open -a simulator. - If you don't have Expo Go app installed on your iOS simulator then you should first install it before starting your expo app. To install it use
expo client:install:ioscommand. - Start your app by using
expo startcommand. Typeiandaor click onRun on iOS simulatorandRun on Android device/emulatorbuttons to launch your app on devices.
NOTE: If you app gets stuck at New update available, downloading... stage then you can start your expo app with cleaned cache using expo start -c command. It was helpful for me.
NOTE 2: You may need to use sudo command on some of the commands I've mentioned, I'm not sure which ones are required or not.
I fixed similar issue by hard restarting simulator
Top menu -> Device -> Erase All Content And Settings...
Hi! As title says, I'm trying to run my app on a connected iPhone. I'm able to run expo run:ios --device, but when I choose my device from the options, this error pops up:› Your computer requires some additional setup before you can build onto physical iOS devices.
Learn more.
No code signing certificates are available to use.
I can't click on "Learn more". I'm able to run the app on the iOS simulator, so not sure what's wrong with it. What do I need to do to get the app to run on my phone? Thanks.
I've been trying to make deeplinks work in my Expo (+ Expo Router) app.
I followed the docs here:
https://docs.expo.dev/linking/into-your-app/
And I added the "scheme" key.
But unfortunately that doesn't work. Opening myapp:// in Safari or Chrome on mobile doesn't work.
I build my app locally with this command: npx expo run:ios --device (or the android equivalent).
My app uses Google Sign In on iOS, so I tried to empty the array in CFBundleURLSchemes to see if it would break my app, and... it doesn't. I then checked in the Info of the app of the /ios folder, and I can see that the first entry of the CFBundleURLSchemes is still set even after running "npx expo run:ios --device".
I tried to run:
expo prebuild --clean
and I also tried to run "expo start --clear".
None of that works, it seems that the config changes are just ignored. I could simply delete the /ios folder and rebuild, but I would expect the build command not to ignore changes in my app.config.js.
What is going on here? What is the correct way to do this?
Hi, is there a way to deploy an app on a physical device without the need for a paid developer account or a mac? I do have an iPhone. Any help would be great. I just need to run my app on my apple device. Thank you.