I don't have a "Developer Profile". But I want to test my app on the iPad device.
Are there any workrounds?
May e something like "TestFlight" but without the need of a profile. Something like a "temp" profile that is applied?
Is there a unversial profile for anyone?
Unless your device is jailbroken, there is no known way to test your app on a device without a developer profile.
Related
hi im new to programming
I want to build the app in Xcode as a free user and using simulator only but then got the error "failed to create a provisioning profile. there are no devices registered in your account on the developer website" in signing option.
I tried to register a device on https://developer.apple.com
but they say I need to enroll for developer program to do it, and it needs me to pay with money which I don't want to for this moment.
i've changed the generic device in drop down menu to many simulator but to no avail.
thank you for helping
You do not require provisioning profile to run application in simulator. And if you have apple account then you can test your application in device. Just add your account in account section in preferences. Xcode will automatically create provisioning certificate to run on you device. Device must have logged in with same apple account.
Select simulator instead of the generic device.
Please refer below screenshots.
Run+Build your project.
The way to run iOS applications without having a Provisioning Profile,
as of 07/23/2021 is to remove the Entitlements association, also set your Signing Identity to Automatic.
I am trying to test an app in a real device, using XCode 9.
In Xcode > General > "Automatically manage signing" I get this error: 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.
I have tried physically plugging in an iPod, an iPad and an iPhone. They all show up in iTunes, and also in XCode under Windows > "Devices and Simulators", but XCode simply doesn't register anything.
I also tried to go to the website to register the devices manually, but it seems I cannot even access this website without having a paid Apple developer account?
I do NOT have a paid Apple developer account, but I do have the Apple ID. I know that I can test in a real device without an account because in this page https://developer.apple.com/support/compare-memberships/ under Benefits and Resources the Sign in with Apple ID column has Test on Device checked.
Please, how can I solve this?
At the top of the Xcode window, from left to right, after the Run and the Stop buttons, there is another button which displays the tooltip "Set the active scheme" when you hover the mouse over it.
This button lets you choose a simulator. But once your device is plugged in it also let you select that device. Once you select your device, the problem disappears.
Note to those using Xcode to run code developed for Google's Flutter: You probably must also select Product > Run in Xcode, before you are able to go the device to trust the certificate, under the device's General > Device Management.
What I normally do when I test on a device is by selecting general device before I archive the build, and then after you follow the prompts after the build, choose install on a device.
If you are really set on just being able to run directly without archiving, make sure that you are signed in with your apple id (the only reason you would need to pay would be if you are submitting to the app store, so you don't have to worry about that) under accounts (XCode -> Preferences -> Accounts), and then replug your device.
And if that doesn't work, try following the instructions on this site: https://help.apple.com/developer-account/#/ under Registera Single Device.
I am trying to publish an app for testing, without having to connect a device in my mac.
I have created a developer account, created an app in itunes, generated bundle id, signed into xcode with the developer account, generated a distributor certificate.
When I tried to archive the app, I got the error "conflict provisioning setting. app is automatically signed for development ..."
I read in this post and followed the tip of unchecking and rechecking the option "Automatically manage signing". After re-choosing my team, I get the error "There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it".
The goal all along was that I wouldn't need an ios device, because I intended to immediately publish the application and invite people to test it via testflight. Is it not possible to do it like this? Am I missing something.
I have read lots of documentation, but being a first timer in this, everything seems confusing.
Edit: I created a provisioning profile as distributor. Even after creating and installing the distributor profile (it now appears also in xcode at Account -> provisioning profiles), I still get that same error. I also noticed that in signing, The signing certificate is iOS Developer. I am sure
I fixed it by plugging in my iPhone and going to the Product menu > Destination > iPhone (my device).
Then after clicking Try Again on this properties page the warnings went away.
Source
The solution (though I would welcome more elaborate, insightful explanations):
#General -> Signing, disable the option "Automatically manage signing"
#General -> Signing and certificates choose your team
Though in my case that was not the issue, I would recommend making sure that in the device list, you choose Generic iOS device in your target devices.
This really sucked to figure out.
What you do is add a distribution profile in https://developer.apple.com/account/resources/profiles/add. Don't choose development! Don't let the Xcode Automatically manage signing!!
Then, you download the provision.
Then, in the Signing & Capabilities -> Signing Section of the project.xcodeproj file, turn off Automatcially manage signing, choose import and import the file you just downloaded.
Then, in the top, you choose Any iOS Device (arm64, armv7) and then you go Product -> Archive.
What happened to me was that I was about to run my app on a physical device for the first time and I didn't have a Team. So I created it in the process before connecting my phone with the USB cable. After I created the team a message like the listed above appeared. I did some research on internet but nothing found.
So here's what I did: I connected my phone, did all the trusted process, then restarted Xcode, and it worked. I am not sure what happened, but it was some of my first experiences using Xcode. It could sounds silly but it helped me. Hope to you too.
If you do not wish to register a device follow this advice:
https://stackoverflow.com/a/44157307/499581
* In short use "Generic" as the device while archiving.
If you do wish to register a device then the solution to:
"There are no devices registered in your account on the developer
website. Plug in and select a device to have Xcode register it".
Is to physically plug-in your device (an actual iPhone, or iPad) so that Xcode can register it for development use (note: this will not affect the normal everyday use of the device). After the device is registered it can then be used for development testing, load provisioning profiles onto it, etc.
↳ Disabling and Enabling Devices Using Your Developer Account
For those who are trying to develop without a mac computer using MacInCloud don't follow the standard advice out there. Its will lead you down a hole. I have wasted hours of my time.
The reason it say something about "a device to be registered to create provisioning profile" is that you need to provision an iOS device that you can test on before you can get it signed. If you are using MacInCloud you probably can't physically connect an iPhone or iPad to the MacInCloud and therefore it can't automatically provision devices for you.
Before you get to far into this you will need to get your iPhone/iPad UDID. Which I was able to do with https://get.udid.io/ on my iPhone, but it didn't work on my iPad. Instead, with the iPad I had to download iTunes from the Windows store and connect my iPad. Then click on the little gray square in the menu that's inline with Library tab.
image of itunes
Then when it pops up with your device info (mine didn't come up with my info at first, I had to sync my device). You will see your SN. Click on your SN and it will change to your UDID. Once you have your UDID you are ready to create a provisioning profile. What is confusing is this isn't done in the appstoreconnect section of your account online. Its done in your developer account: https://developer.apple.com/account
developer.apple.com account screen shot
When you go there you will want to click: Certificates, Ids & Profiles
Here you will need to add your devices and then with auto signing checked in Xcode that made the problem go away. NOTE: I originally tried to create a profile, download it, and import into Xcode under the Provisioning Profile dropdown in Signing & Capabilities. As described in another answer here, but that proved more problematic and wasn't necessary.
Then you can chose Any iOS Device from emulator device drop down then go to Product > Archive > Distribute App and create a certificate to place it on the app store (TestFlight).
you can also plug an iphone, run the app the app on your iphone as the target, it will ask you to register the device and then the certificates will be generated
Have you paid the $99/year developer fee? TestFlight is only available for paid developers. I would highly recommend plugging in an iOS device, though. It's more fun and rewarding testing that way.
I am new in iOS development world. Currently, I'm trying to export my app for some users to test. I do not want to upload to the store first, so I'd export my app as Ad-Hoc Deployment. After that, I uploaded my myApp.ipa to Diawi to generate link for distribution. But two kind of results I got:
Note: Both devices are iPhone 6, both iOS v9.3.2.
Device 1: Successful
Device 2: Not Successful
They able to download but once the circle is completed. This message prompted. No matter how many times they tested, the result still the same.
Unsuccessfull Message Prompt
I do not understand what is happening. Tested in many devices, some successfully downloaded, but some not. Should I register each of them in the application under Provisioned Devices? If yes, is there any other way to distribute the app without needing to register them? If no, what actually I need to do to solve this issue? Thanks in advance.
Most common causes of this issue:
Device storage is full
The provisioning profile is a developer provisioning profile
The ad hoc distribution provisioning profile is corrupted and the
device is having an issue with it.
The device was restored from a backup and is causing a conflict for
over-the-air distribution
There was a network timeout
Architecture settings of the build and the device are incompatible (
can sometimes happen when "Build Active Architecture Only" is on when
building).
Not Using Mobile Safari.
Check also "iOS Deployment Target"
To find out the exact cause of this issue:
Connect the device with iMac.
Open Organizer then choose devices.
Choose your Connected device from sidebar.
Choose Console inside the chosen device.
Now install the app it will show the exact cause of problem
I think this is helpfull for you.
I got a little problem with Apple and my iPhone 5. The problem is that, on my developer account on Apple, I've two devices with the same UDID (yes the same!) but one is called iPhone5 and it's enable... The other one is Called iOS Dev Device and it's disable.
The weird part is that on xCode it notices me that I've my iPhone disable and so I can't use it to test my apps (maybe because it take the references of the one called "iOS Dev Device") and if I try to enable it via Web Apple notices me that I've already a device with that UDID enable because I've another Device with the same UDID, called iPhone5, Enable!
Is there any solution for this situation?
Thanks for any answer.
I dont think it is possible to delete a UDID from a profile till profiles renewal date, so once you add the device UDID it will stay there until expiration date of your profile.
Try disabling both devices on the Web, in your mac connect the device and go to Organizer click your device delete provisioning profiles in your device, right click the device and try to add it again it must give an error saying that device is already added to your profile, thats fine, try to run the app again on device with xcode again. This is just an idea hopefully that works, otherwise just try to enable the the device that really matches with the name on profile.