Search code examples
iosxcodeprovisioning-profile

Xcode- no devices registered in your account- Work around?


I am a new Apple Developer, I am looking to explore Metal API, not developing for iPhones or iPad, at this moment. I am building basic triangles right now, working with iOS Generic Device.

I have been facing this bug while trying to build-

Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.

and the other is-

Xcode couldn't find a provisioning profile matching 'com.anuragazad.MBE-2-1'

Now, I have signed into one of my Apple IDs, going by the errors, it seems the IDE wants me to plugin my iPhone or iPad and register it, I do not want to do that. Is there a work around for this? I just want to explore Metal and use Build for Generic iOS devices.

PS. Please bear with any incorrect usage I might have had in the question, very new to graphics/metal/xcode


Solution

  • Metal apps do not run on the iOS simulator; they require a device with an Apple A7 chip or later. Apps created for macOS/OS X will of course run on macOS.

    Apple Staff Reply: Metal is not supported in the iOS Simulator.

    https://forums.developer.apple.com/thread/31120