"None of your accounts are a member of XXXXX" trying to set an app group - ios

I've developed an app for a customer who has their own Apple account and profiles etc.
They have given me their development profiles and dev keychain certificate and want me to deliver the app to them signed with their dev profiles which they will then replace with app store distribution profiles.
I'm having a problem adding an app group to the capabilities. When I click on the + button to add an app group I get the following error:
This is the signing settings. When their developer provisioning profile was imported as the signing profile XCode set the Team to "Unknown Name (XXXXX)" so it must have pulled that team name from the profile.
In XCode's accounts I only have my own Apple IDs added, I don't have their Apple ID added (its not possible to without knowing their password though?, something I won't get). I presume this might be why I am getting that error code?
Is there anyway of adding the group id to the project without having to add their Apple ID to XCode's account section?

They have given me their development profiles and dev keychain certificate and want me to deliver the app to them signed with their dev profiles which they will then replace with app store distribution profiles
That whole approach is mistaken (as you now know). They have two choices:
You can just develop the app under your own banner, making all your own profiles as needed, and they can make all the necessary substitutions and other changes at their end when they have the code. Or:
They must make you formally a member of their team (e.g. an Admin), at least while you're working on the app.

Related

Cannot generate app-group provisioning profile or get one that matches

I have an iOS app with an app group to receive inbound images from other apps. I simply cannot get it to sign. I have gone through signing a bunch so the process is very familiar but I can't even get the group identifier to show up under provisioning in the developer center. Can someone help? Here is the scenario ->
I cannot create a provisioning profile for my app group group.com.xxxxxx.bookapp.
I have made a new app group identifier group.com.xxxxxx.bookapp.
I have added it to my app identifier in com.xxxxxx.bookapp under capabilities in the dev center, and selected group.com.xxxxxx.bookapp and it looks correct.
I have regenerated all my provisioning profiles.
The app will build fine until it gets to the share extension target and it says Provisioning profile "Provisioning Profile Name" has app ID "com.xxxxxx.bookapp", which does not match the bundle ID "com.xxxxxx.bookapp.shareextension".
I cannot generate a provisioning profile for "com.xxxxxx.bookapp.shareextension" because it does not show up in the lists of available id's in the developer portal when I try to create a new profile.
I cannot use wildcard because I have push notifications and the share extension will not allow it anyways
Ok so, it turns out you have to create a whole new app id that goes with your app group, add the same app group to it as your main target, then create a provisioning profile for it like it is its own app. Now I am able to publish like its two completely different apps, which is kinda is, just a bit convoluted and the docs don't really mention this.

Cannot create an App ID with matching Bundle ID in Xcode project for first release using Xcode 8.0

I am trying to create an App ID for my first release. I have a new company developer account.
I get the error message 'An App ID with Identifier '' is not available. Please enter a different string' when trying to create the App ID.
This happens when:
I type the name of my app in the App ID Description field and I type the matching Bundle ID from my Xcode project (com.MyCompany.MyProductName) in the App ID Suffix field but I get the error and cannot continue.
However, If I type in, say, 'com.MyCompany.MyProductNameVersion1', which is different from the Bundle ID in my Xcode project, then I don't get the error and am able to continue??
To my knowledge, I need to enter the same Bundle ID as in my Xcode project but its not working as advised.
Been stuck on this for a few days, reading and trying all I possibly can, I cannot find a solution and cannot proceed.
Any help is appreciated
UPDATE: In the Accounts section of Xcode > Preferences, I have two entries under 'Team' : the first is my name and (Personal Team) and under 'Role' it says 'User'... the second is my company name and under 'Role' it says 'Agent'.. I also thought this screenshot may be useful. It shows the signing section of the General tab when the Team field is set to my company name:
I managed to get this sorted. #Beninho85 pointed me in the right direction but the info in this thread was the answer I needed: How to manage Personal Team info on Apple Developer website?
I had a two teams in my developer account. One was a previous Personal Team before I joined Apple Developer as a 'company'. This Personal Team had created App ID's for development provisioning profiles which were conflicting with identically named App ID's I wanted to create for distribution profiles using my company name. Identically named App ID's cannot be generated within the portal. Only Apple can delete personal Team accounts already registered with them. I had them delete the personal team and App ID's.
You have the answer in your question.
The bundleId must be unique for each application. So if you created this bundleId on another developer account, you can't use it anymore. Delete the previous one or create a new one.
If you're allowing Xcode to "Automatically" manage signing, and you don't see your App ID on the Certificates, Identifiers & Profiles web portal, try enabling any capability (i.e. the Siri capability) which will force Xcode to regenerate a provisioning profile (and register the App ID with iTC).
Verify that a new provisioning profile has been created by going to Targets > [Target Name] > General. Next to Provisioning Profile, tap the information button and verify that the Created date is today. Once you see your App ID registered in the portal, you can disable the previously enabled capability.

Team Member - Xcode Configuration Issues

A customer of mine has created a new App-Id with an explicit ID.
Then he added me as a developer to his organization in iTunesConnect.
He has a previous and old version of the app, on which I have to start my work. When I try to create a Provisioning File for my Personal Team (I've not paid the developer program) in Xcode regarding the explicit bundle id created by my customer, xCode raises the following error message:
An App ID with Identifier 'com.xxxx.yyyy' is not available. Please
enter a different string.
Any Suggestions?
Apple only allows an app ID to be created by one developer account. Because your client already has that application ID, you cannot create another one. If Apple allowed this, you would have app ID conflicts with multiple developers trying to submit apps that have the same app ID.
What you should do is create your developer certificate under the client's organization account, then have your client add your certificate to their provisioning profile. Then you can download and use this provisioning profile to test the app on devices. Or, if you are on XCode 7 or later, you should be able to create your own developement provisioning profile with your devices under that team account. The key is that you need to be doing everything under the client's Team account, not your personal account.
I would not recommend your client share his credentials or make you a team agent. That's granting you too much power / control as a developer and if I were you, I wouldn't want it. I would hate to have that access if someone else went in an did something like revoking their certificate, because I know they'd be suspecting me even if I didn't do it. Use the apple developer account roles the way they were intended and you should be fine.

ios enterprise developer account

Yesterday we got the ios enterprise developer account. I successfully create Dev & inhouse/Adhoc certificates & App Ids (like generic com.company.*). I can create developer profile and Ad-hoc profiles. But when I am trying to create inHouse profiles, Apple developer portal always gives me message like
"No App IDs are available.
Click "Create App ID" to create an App ID. You need an App ID to configure a Provisioning Profile."
I did same steps work lot of time for different clients but I don't know why it is showing error now.
See below images for reference.
Please let me know where I am missing.
I fixed the problem. I was using wildcard app id (com.yourcompany.*) which is not allowed for In-House distribution. :-(. But Ad-hoc is accepting wildcard bundle id.
Application specific app id is required for InHouse. like com.yourcompany.myapp.
Just create an App ID as it is telling you to do. You can see the App IDs link on the left hand side of your screenshots.

Wildcard App ID for Developement Provisioning Profile/"No Code Signing Identity Found"

I am invited as a team member to a developer account. I need to send them a demo application via testflight. I checked inside the application ids list and there is no application created for this purpose. I am not able to create one either, since I only have "team member rights". What I can do though, is to download an IOS Team Provisioning Profile of Development type, that is created with the app id: Xcode IOS Wildcard App ID(*).
All good and nice, but when I chose from X-Code the team that I am a member of, it tells me that "No Code Signing Identity Found". If I press Fix issue, I get the message "Your account already has a valid certificate" and that I can revoke and request a new one.
What should I do? Is the wildcard provisioning profile a viable option to create an archive?
What does it mean that I revoke my signing identity and request a new one? Does the developer account owner need to create a new certificate specifically for me? Or what is I don't understand about it? Is the signing identity related at all to the developer account? Or I will receive a new one automatically? Can anyone explain in a bit more detail, so that I understand properly?
A wildcard simply means that it can apply to any app. If an app doesn't plan to use application specific requirements, like iCloud or inAppPurchases, then a wildcard profile is fine to use for the rest of your apps. In general, there is no need to download new profiles or certificates from develop.apple.com; you can manage them directly from xCode via Preferences>Accounts>View Detail.
The answer was simpler then I thought, however it has created an unpleasant situation.
The thing was that XCode downloads automatically the code signing identity if you have agent/admin privileges. However, if you are only a team member and no admin/agent rights, you will not get a signing identity downloaded automatically, so you will need to ask the owner of the account to create a provisioning profile using the certificate that he needs to approve for you,( requested by you via xcode), or it should simply send you the certificate used to create the provisioning profile that you are going to use (this last one is not the preferred method).
If you have been already invited, you only need to:
In Xcode, go to Preference>accounts
Select the company name in the bottom right - then click view Details
In the top screen (signing identities), click the + to get a new signing identity
You can confirm that has worked by going to the iOS member center and checking in the Certificates, Identifiers & Profiles. You will see your new certificate with your name.

Resources