iosappcelerator

Cannot find iOS Simulator


Just reinstalled Appcelerator Studio after a year not using it. Started a brand new project. When I run it I get:

[ERROR] Unable to find any Xcode installations that supports iOS Simulator 12.4.

However in Xcode I have plenty Simulators that run on 12.4. I can even run a new Xcode project on a Simulator.

Tried:> appc ti info

That gives me: " ! Unable to find any valid iOS development provisioning profiles. This will prevent you from building apps for testing on iOS devices. You will need to log in to http://appcelerator.com/ios-dev-certs with your Apple Developer account, then create, download, and install a profile. "

But I've never had to do that before.

Any suggestions?


Solution

  • Unable to find any valid iOS development provisioning profiles. This will prevent you from building apps for testing on iOS devices....But I've never had to do that before.

    This is a different issue from the simulator problem. You need a developer profile in order to build your app for an iOS device. If you ever did any development on a device, rather than on a simulator, then either you did set up a profile in the past or someone did it for you. Either way, developer profiles expire after a year, so you'll need to do it again if it's been a while since you ran an app on a device.

    Unable to find any Xcode installations that supports iOS Simulator 12.4.

    What simulators do you think you have available? Try running this command:

    xcrun simctl list devices 12.4
    

    That should list all the simulators available for iOS 12.4. If there are none, then you obviously need to create some. If there are some, then perhaps Appcelerator is looking in the wrong place. You can also do:

    xcrun simctl list runtimes
    

    to get a list of the runtimes that are installed. If those commands don't work, then you may need to:

    Note that Xcode 10.3 was only released recently (as of this writing), so if you haven't installed/updated Xcode since July 22, 2019, you have an older version and need to update.