Failed to create provisioning profile error - ios

While I am trying to create .ipa file it shows the following error message like this.
Failed to create provision profile
There are no devices registered in your account on the developer
website. Plugin and select a device to have Xcode register it.
No profiles for "io.bundle identifier" were found
Xcode couldn't find any iOS App Development provisioning profiles
matching 'io.bundle identifier'.

First, check that you create the "Provisioning profile" correctly in the Apple developer web.
Second, close the Xcode, then reopen and relogin your apple account which in the Xcode account setting.
It just a normal problem in Xcode. Apple never fix it.

Related

Failed to create provisioning profile for uploading app to store

Ok I have created a ios app that was working fine and running in the simulator.
I am now looking to upload it to the app store.
My boss has created a developer team and add me as a admin.
When I try to create an archive (I have the scheme set to generic ios device) now I get
Failed to create provisioning profile.
Showing Recent Messages
:-1: No profiles for '****.*****' were found: Xcode couldn't find any
iOS App Development provisioning profiles matching '*****.******'. (in
target '******')
There are no devices registered in your account on the developer
website. Plug in and select a device to have Xcode register it.
on the Apple developer website I have gone to
Certificates, Identifiers & Profiles and added Development certificates
What else do I need to do? Note I don't have a iphone or ipad to provision.
I was only testing in a simulator and was then going to upload to the store.
I am new to xcode. Sorry if this is simple.
Thanks
Have you tried manually assigning provisioning profiles rather than letting XCode automatically sign your project?
You can do this by deselecting "Automatically manage signing" and
manually selecting provisioning profiles.
Also ensure that you Download the profiles you create on your Apple Developer account to XCode.

Create an IPA file with ionic

I'm trying to compile my ionic app for iOS.
It compiles well with the simulator, so I'd like to test it on some friend's iDevices (I don't have any iphone or ipad), so I'd like to send them the IPA in order to test.
To do that I saw that I have to archive my project, I tried to do so and I got an error:
Code Sign error: No provisioning profiles found: No non–expired provisioning profiles were found.
I checked my profile, XCode suggests me to fix the issue. But when I try to do so, I got this error:
Creating a provisioning profile requires one or more devices to be registered with your team. Connect a device to your Mac to add it to your team.
So I thought that having an iDevice wasn't mandatory in order to compile for iOS. Am I wrong ?
Thanks,
You required provisioning profile to archive your project to make build. Now if you don't have create provisioning profile from your apple developer account, then you have option automatic, but to generate provisioning profile you required your device connected with your xcode,so that xcode takes udid of that device and can make automatic provisioning profile!
Now, if you don't have real device then from your developer account - Add some device first - I mean your friend's device(for that you required udid of it!) - create provisioning profile for development - download it - set it as provisioning profile from general or build settings from your xcode. Then you will able to make build!
If you have device then also you need to create provisioning profile that contains your friend's device, other wise application will not install on it!
You can refer Raywenderlich's tutorials to manage these kind of stuff that i have mentioned above!

Can I publish app on iTunes Remote without iOS device?

I am trying to push my app to iTunes Remote, and I am stuck at the point where I created my provisioning profile on iTunes Remote, downloaded the signed certificate and now I am configuring XCode. I am getting "No matching provisioning profiles found", after trying to "Fix issue" I get "No devices" error ("Creating a profile requires having a device registered in the Member Center.").
However, I don't have an iOS device. I only have my Mac. Can I still somehow publish the app?
Any tips greatly appreciated.
Yes you can publish your application on appStore without ios device.
Just select generic device from the simulator menu
After that archive it and bingo upload section will open. Press upload select some details which is related to your application.
I got it. The problem was: In Build Settings, Code Signing section my Provisioning Profile row was set to "Automatic". Manually choosing my provisioning profile let me archive the product.

How to test Cordova/ionic app on iOS device?

I'm building an app which now runs fine in the iOS emulator, so I now want to test the app on an iOS device. I registered with the Apple Developer Program and ran ionic run ios, which ended with the following message:
Code Sign error: No provisioning profiles found: No non–expired provisioning profiles were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.2'
So I opened XCode and went to Preferences > Accounts and added my Apple ID. I then clicked View Details... and then the refresh icon so it fetched two Signing Identities. The box below which should display the Provisioning Profiles is empty though:
I then read this article on the Apple Developer site which explains that I need to:
Set a bundle ID
Assign my app to a team
Create the Team Provisioning Profile
The bundle ID should supposedly be set in XCode. Because I am under the assumption that the bundle ID is set in my ionic config.xml file I'm unsure of how to proceed though.
Does anybody know how I can (preferably very easily) test my app on iOS devices? All tips are welcome!
What I did was to create a new project into Xcode, as soon it is created is showing the General tab, under Identity is showing a message saying that can not find the proper certified, something like that, and there is a button "Fix..."
just click it, the passport is requested and you are done.
I just try again and works. Xcode fixed my provisioning profiles sync for me.
Try this
Select Preferences from Xcode
Go to accounts and select agent name
Select view details to check status of your profiles
Select any profile and click refresh on corner below to update profiles.
This should update your profile with expiration dates
Go to project General and downgrade to 8.1.

How to "select a team" when Xcode thinks I'm not a registered iOS developer? Also, do I need an iPhone to get a provisioning profile?

When I try to create an archive for my finished app, I get this message:
No non-expired provisioning profiles were found. Xcode can resolve
this issue by downloading a new provisioning profile from the
Membership Center.
I click Fix Issue.
I then get:
The selected team doesn't have an iOS Developer Program membership.
Select a team with an iOS Developer Program membership and try again.
I do have an iOS developer program membership but I can't figure out how to "select a team." I've looked around and can't find any resources on how to correct this. Anyone else had this problem?
Edit:
When I go to Project > General > Identity > Team, my account is correctly associated with the app, and it says that I have an iOS developer membership. Yet no provisioning profile and the above errors persist.
Edit2:
When I click Fix Issue beneath "Team" in the Identity section of Project > General, to correct the lack of provisioning profile, I get a different error:
Unable to create a provisioning profile because your team has no
devices registered in the Member Center. Please connect a device,
enable it for development, and add it to the Membership Center using
the Organizer.
I have a Mac, but no iPhone....does that mean I can't publish the app? Or can I use the Mac? How do I add it? I don't see any option in the organizer.
Per your last remaining road block
Unable to create a provisioning profile because your team has no
devices registered in the Member Center. Please connect a device,
enable it for development, and add it to the Membership Center using
the Organizer.
You need to register a device. If you do not own one, find a friend or relative and ask them to allow you to register their device. It will not create any issues for them. You do not need the device after that for archiving, it just needs to be registered so a profile can be generated.
You can set the device to be a generic iOS device. When I was running an archive with my iPhone as the default target, I would get the team error that you are receiving. Changing this to generic iOS device solved this issue for me.
Firstly you have to purchase iOS Developer Program.(its cost is 99$ Per Year.)
You must Registered For Apple Developer Program.
Then Create app id for Your Application.
Then Create Provisioning profile and Certificate.
Add Provisioning Profile to your project.
while creating provisioning profile you need to add device uuid.
Follow above steps. I am sure your problem will solve.

Resources