No matching code signing identity found. Deploying to ios device for the first time - ios

Cant manage to run my app on my device.
Ive registered my apple ID yesterday to the developer program, also used my device in the "Organizer" for developing.
In my main project General settings im trying to change the "Team" - It wont find my account.
When im pushing the "Fix issue" button it also reacts like i dont have a registerd developing account.
When i push the Add.. i can see that my developer apple id is already in the accounts:
As you can see my Apple ID is already signed.

You need to create a provisioning profile
Check this:
http://www.youtube.com/watch?v=86A7wcJxOqM
Hope this should help.

Related

The development team account does not support domains and

I'm new in IOS development. I would like to transfer my app to my personal iPhone device for first trial run. I followed the video that I found on the internet to sign the IOS app without registering as IOS developer program.
However, everything it seems working fine until the very last part I got an error message telling me that,
"Your development account does not support domains and push
notifications."
I believe this error due to my normal apple id account does not support the push notifications.
In that case, how could disabled the push notifications in my code? How should resolve this?
Please advise
With the free apple developer account, you need to turn off the enabled capabilities.
Go to target
Select the Capabilities tab as shown in below image
Turn off all capabilities (Remote notifications in your case)
Now run the application on a device with your free account
You should create a free developer account here: https://developer.apple.com
After this Xcode will do the stuff automatically if you select Automatically manage signing in the general tab for your target (select your project in the top left in Xcode).
If you want to do it manually you need to create an appId, register your device unique identifier and create a certificate (will need: keychain - request a certificate..) and then a provisioning profile with all of the above, all this in the developer.apple.com platform. Then you must select your provisioning profile in the signing part of the general tab of your target.
Also make sure under capabilities, all are turned off.

Xcode does not automatically create app id on developer portal

As indicated in the title, Xcode is not being able to automatically create app Id and provisioning profile for an app i’m developing. I have checked the “Automatically manage signing” option but on the developer portal i can’t see any app id or provisioning profile matching the provided bundle identifier.
The problem arises only if I select, in the “team” selection, my developer account . For example, by using my enterprise account, the “waiting to repair” message is shown in Xcode and i can see the new app id created in the enterprise account portal.
If I change the bundle identifier and I select again my developer account, nothing happens, no errors and no warnings. I’m able to install the application on a device and all seems to be good. However, in my developer portal I still do not see the app id and provisioning profile so i can’t send the application to iTunes connect in order to submit to the Apple store.
Moreover, trying with other apps, all is ok even using my developer account.
I searched on line but i can’t be able to find a similar problem, are there any particular settings that are preventing the automatic Xcode app id creation to work for my app?
EDIT
it seems it’s not a problem related to the particular app. In fact I tried to create a new application fromo scratch and i have the same problem. I still do not have the problem on old apps (already uploaded on itunes connect) but i have the problem on all the newly created apps. Is that a problem with my developer certificate?
EDIT 2
I noticed that for all the newly created applications the App ID is set to: " * " (see image below). In my old apps the App ID and iOS Team Provisioning Profile are not equals to " * ". I have also deleted the wildcard id from my developer portal but the problem still remain.
I had a similar problem and i solved with a workaround. I have enabled push notifications in the "capabilities" tab (i.e, adding them to the entitlements), in this way the app id and provisioning profile have been correctly generated on the developer portal. Later, I have disabled push notifications (not needed in my project).
It's only a workaround, hope it helps
Somewhat related: I played around with Apples provisioning profiles in a desperate attempt of trying to wrap my head around their signing nightmare. In the process I deleted all the app ids from apple.developer that Xcode had automatically generated.
Afterwards I couldn't get Xcode to regenerate the app ids and I didn't wanted to manually create them, so what I had to do was to delete the automatically generated provisioning profiles from ~/Library/MobileDevice/Provisioning Profiles/.

Unable to add device in Apple Developer Program

I am unable to add a new device in the Certificates, Identifiers, and Profiles section of the Apple Developer portal.
I have two developer accounts, one personal account and one account for a company. The account for the company, I am set as a 'member' for the team. This is the account that I am unable to add a new device for. (I am also not able to download the Distribution certificate, which I believe is a related issue that I need resolved too).
I have researched the other similar questions on SO, but neither of them applied to my scenario.
Here is a picture showing the + button disabled (greyed out)
From Apple documentation:
Team members can’t register devices and create development
provisioning profiles using their developer account.
Ask from someone who has Team admin or Team agent privileges to add you.
I figured it out. Team Members are unable to add a new device via the Developer Portal. However, they are allowed to add a new device to the provisioning file via XCode. I was working with Xamarin and didn't know that I needed to go back to XCode in order to add a new device to the provisioning file.
If you're working in Xamarin and experience this problem, you need to create a 'dummy app' in XCode with the same info as your Xamarin app. Then select your team and it should generate the correct provisioning file for you. After that, build and run your app on your device, then a pop up window should display telling you that the device is not in the provisioning file, then asks if you would like to add it. A simple click of 'Yes' will automatically add the device to the provisioning file which is then reflected on the Developer Account.
Hope that helps someone else! I spent many hours trying to figure this out.

App ID with identifier not available when turning on remote notification

I have an app which I've just submitted to the app store. In the developer portal it has push notification checked, however it's not yet configured.
I want to add Push notification capability to this app. I try to turn on Push in XCode Capability tab. There was a issue and I press fix issue, it said the ID is not available, though it it the ID for the app already available in the app store.
Also under the General tab:
Now what do I do to fix it? Despite having read "iOS Code Signing: Under The Hood" from Ray Wenderlich I'm still having a headache.
EDIT:
OK the accepted answer wasn't really it. I finally found the correct answer to this question from JRRevuelta's post in the Apple forum:
Go to your Apple Developer "Certificates, Ids, Profiles", and under
your App IDs list find the App ID in question and, If your App ID is
in the form: com.myDomain.MyApp Then the name in your App ID record
has to be: "XC com myDomain MyApp" Don't ask me why, but it works.
(is the default name that XCode assigns when you create the record
from XCode), but for records that exist prior or that you created
directly in the Developer site, the name should be whatever you
want... but its not. Some glitch introduced in one of the latest XCode
releases.
Apparently this problem only surface in recent Xcode.
Check the following steps it may solve your problem:
manually removed INVALID iOS Team Provision Profile Managed by Xcode from Developer Portal
manually created iOS Developer Provision profile
Downloaded it via Xcode
For more information you can check: https://stackoverflow.com/a/36175175/4557505 answer, this answers the same issue which you are having
I think you need to create the SSL certificates and set up a provisioning profile matching your needs. Assuming you already have an development provisioning profile for your app-id you just need to add the SSL certificate for development. When done testing add the certificate for production.

Trouble Running App on Device

I'm trying to run my app on a new device through Xcode 7 but everytime I click to run I received this error: "No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified capabilities: Features: push and inApp purchase". I don't know what this means. I've never seen a message like this before when running apps on another device with Xcode 7. Does anyone how I can fix this issue so I can run my app?
If you haven't added your apple developer id to Xcode, I'd suggest doing this now. once you've done this and in the project navigator, if you highlight the project, then on the middle-most pane, go to the Capabilities Tab and make sure In App Purchase is enabled. If not, enable it. It should pop up asking which developer ID to use, or ask you to add one.
Choose the ID in question, then it'll add the entitlements to the app.
Whats going on here is that the provisioning profile which your app is using, hasn't been enabled in terms of IAP's.
There's more to read about that here:
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html

Resources