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

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

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

Related

Build an app for iPhone no apple developer account

I would like to develop an app just for my own iPhone and download the app on it, but I don't have the apple developer account. I found out that (if I'm not wrong) for an app made with Flutter it is not possible, unless I do every week some procedure. Is there some other tool like I don't know React Native or something else with which there is a way to do it? And if there is, what is that way?
You can build a native iOS app on physical iPhone device without having a paid developer account. In the past it was not possible but Apple changed that few years ago. Currently it is enough to have a free Apple ID account to build an app from Xcode to your physical iPhone device. Note that you still need to have a Mac to create native apps. Check this:
https://steemit.com/xcode/#ktsteemit/xcode-free-provisioning
https://makaka.org/unity-tutorials/test-ios-app-without-developer-account
https://frameboxxindore.com/apple/how-can-i-run-ios-apps-without-developer-account.html

Can I test my Codename One app on my iOS device for free?

I have written a simple to-do list app in Codename One, and so far I have used the simulator to test it. I want to see how it looks on a real device (iPhone 5s or 8 Plus), but I don't want to purchase the Apple Developer membership. I really don't want to pay $99/year (I'm a beginner).
I know I can get the app on my device by jailbreaking it, but is that the only way?
So basically my question is, is there any method of installing my Codename One app on my iOS device (without paying for the membership or jailbreaking it)?
Clarification: I need to know how to test Codename One apps on my device. This is not the usual concern about how to test iOS apps on a device without membership or jailbreaking. I understand how to do this if I am coding in Swift.
This video from Codename One shows how I can generate native projects. This alone would be sufficient, but building the iOS app requires a certificate, which requires an Apple Developer membership.
You need a certificate from Apple to test on a device without using xcode and we can't realistically provide a way around it.
Getting a certificate for free from Apple is a different thing. Educational institutes usually have access to an educational apple developer account that allows you to do just that for free so if you are a student or know a student you can get access to one of those and use it to test your app on your device for free.
Since Xcode7 you can simply build on your device with Xcode, if you don't use any restricted capabilities. That said you would need to run your cross compiled code from Codename One in Xcode, to be able to run it on a device without a membership. (Not sure if it is possible to retrieve the cross compiled code.)
More context on building on device using Xcode:
Test iOS app on device without apple developer program or jailbreak

Testing SMS in the iOS Simulator

Is it possible to open the message composer interface in the iPhone simulator in xcode? if it is can someone tell me how.. I really need it now and having hard times finding a solution how and why my code does not work on simulator.
It is not possible. This is one of the limitations of iOS Simulator. You also cannot test push notifications, iCloud, etc. If you need to test your code, you will have to join Apple's iOS Developer Program and test the app on your device. It's $99 per year.
Just as an update to this post, it's still true that you can't test these features on the iOS simulator; however, you CAN run your apps on your own personal device without having to pay for the $99/year developer license.
You can now just plug your phone in, wait for XCode to download and process some files, and then select your device from the "Devices" dropdown.
Here are a couple of resources that helped me out when getting this set up:
Xcode "Device Locked" When iPhone is unlocked
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/LaunchingYourApponDevices/LaunchingYourApponDevices.html
iOS Simulator is just a simulator that emulates the actual thing but Apple waters it down for developer usage. Many features are not available on the iOS Simulator because those features are not required for developers. Also Apple might have watered it down just to save storage and clear out unneeded features for iOS developers.

Test iPhone app made in flex on iPhone 3GS?

I have built an app in Adobe Flex (4.5) and it works well on Android, but i need to test it on an iDevice. I have an iPhone 3GS available, and I have made a provisioning profile with it and certified it through the proper Apple channels, but trying to install the app to the phone through iTunes results in an error (the same one you get when trying to install non-market apps), and I can't find a way to import it into xCode.
NOTE: I developed the app on a PC in Flex, but have a MacBook Pro available for testing.
Is there any way to test my app or am I out of luck?
You need a developer version of your iPhone for it to work. Take a peek at the Adobe documentation. Look at Page 4 for "Obtaining and working with iPhone developer file".

How do I test Flex App on iOS device(IPAD) without Registration to Developer Program?

Is there any way I can test my Flex application on Ipad device without registration to developer program?
I have heard that there are some converters, that converts .swf to app for mac. Is there some tools for iOS?
Device is jailbroken.
You can't create IPA without certificate. The only one way - find shared apple certificate (as i did). After that you will be able to convert and test on your device.
But be aware that non-jailbroken devices would not be able to install you application. So, if you rely to sell you product or install on other device the only one way - buy apple cert.
Check here: Adobe Air apps for ios
even if you have an jailbroken iPad, you can`t put your own apps inside. All of the need to be previously signed by a developer. The easiest way is to ask for a friend...
"Is there any way I can test my Flex application on Ipad device without registration to developer program?"
No. iPhone is just like that - thank Steve Jobs.
http://help.adobe.com/en_US/flex/mobileapps/WS064a3073e805330f6c6abf312e7545f65e-8000.html#WSe4e4b720da9dedb5-27e02e9a12ee20e4a60-7fff
If you know an iPhone developer, you'll have to borrow his. Or pay the $100/year.

Resources