Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expo won't build to simulator instead of physical device

Expo for some reason has started giving me the following error when I try to build using "npx expo run:ios":

Your computer requires some additional setup before you can build onto physical iOS devices.
  Learn more
CommandError: No code signing certificates are available to use.

However, I have no intention of building for physical iOS devices, only for simulator. Googling this error, all the solutions talk about getting this to run on. a physical device, but this is not what I want - I want to go back to using a simulator.

I've been trying to deal with this issue for the past day as it has never shown this message before in the past; tried deleting my ios folder and looked in config and xcode settings for anything which might be relevant, as well as settings or additional commands but it keeps thinking I wish to build to a physical iOS device.

Also working with a new node_modules and pods folder and yarn.lock file.

Please help!

like image 211
xland44 Avatar asked Dec 31 '25 05:12

xland44


1 Answers

This happened to me and I just had to open up my workspace in Xcode (xed ios) and configure Team with my code signing identity under Signing & Capabilities https://github.com/expo/fyi/blob/main/setup-xcode-signing.md. It wasn't my app, so it showed some warnings like Cannot create a iOS App Development provisioning profile for ..., but I just ignored them and expo run:ios on the command line was happy

You might need to create a cert in Xcode first https://developer.apple.com/documentation/xcode/sharing-your-teams-signing-certificates#Create-a-new-code-signing-identity

like image 101
mark Avatar answered Jan 01 '26 21:01

mark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!