Creating an App ID with xCode - ios

As I understand xCode is capable of creating an App ID on developer portal . I have created a test application with the bundle identifier "com.xxxxxExample.appname" . However nor a wildcard or explicit is created on developer portal and application runs on on the device using the team provision profile.
For education purposes I want to know whether xCode is capable of creating wildcard App IDs on the developer portal ?
If it's there a way to create it using xCode, how should I trigged it ?
On documentation it specifies as follows ,
Xcode creates an App ID to match your bundle ID, which is a unique
identifier for your app stored in the app bundle. Xcode initially
creates a wildcard App ID and an explicit App ID only if needed

Xcode provide to create an explicit App ID with the specific bundle id when you modify the default settings of the Capabilities of your application.

Related

How to set provisioning profile when making new target

I have created my first ever iOS app. I am basically an android developer. and I know how to do things in android like the one I am trying to do in iOS
Right now I have made one app and I want to change a little and deliver it to my another client. For this I have to change only 4 things
URL
APP NAME
BUNDLE ID
SOME PASSWORD STRINGS
now as I have created a new target by following this tutorial, I have seen the red mark on provisioning profile. It says "NAME_MY_PROVISIONING PROFILE" has app ID com.mypreviousclient.bundle.identifier which does not match the bundle id of my new client
It clearly tells that the bundle id I just created is not inside my provisioning profile.
But I really do not know what to do now? What should I do now?
For changing bundle id in xcode for new app. You have to also create that bundle id in apple developer console. Here are the steps.
create bundle id in apple developer console.
Now you can create application in itune.
create certificates.
create provisioning profiles.
set them into xcode and run.
Happy coding.

Wildcard App ID issue with Xcode 8.0

I used to have a provisioning profile with an associated wildcard app ID (*) to sign a bunch of apps for customers. Each explicit app ID is declared into the Bundle ID field in the Xcode project. The problem is that each app uses Wireless Accessory Configuration capability. As reported by Apple (https://developer.apple.com/library/ios/qa/qa1713/_index.html),
Because an App ID specifies a unique configuration of entitlements, Wildcard App IDs are for use with code signing all apps that do not enable app-specific capabilities.
Until Xcode 7.3 this wasn't a big deal, it always worked. After updating to the last public beta of Xcode 8.0, I'm not able to code sign my apps anymore using the wildcard app ID associated to my provisioning profile and I can't add explicit app IDs to it because they are already managed by customers. When I try using the new automatic code signing feature, it tells me that the app ID that I suggested in the Bundle ID field of my Xcode project cannot be registered to my development team (of course not!, because it belongs to the customer's team which I'm not a member of).
If I click in the Info disclosure button next to the Xcode managed profile, the only issue that I can see is that the Wireless Accessory Configuration capability is missing
So, could I ask the customer to add this capability to the explicit app ID in order to solve this issue?
If I try to code sign the app directly in the Build Settings using the old method with my provisioning profile (which I regenerated again), I always obtain the following issue:
"App" isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
Could someone please help me addressing this problem? I'm stuck since days.
List of possible solutions:
Have them add you as a member to their development team.
Make the bundle ID dependent on the the build configuration. Then you can register an App ID yourself and add the capability.
Make the entitlements.plist-file dependent on the configuration. Have a separate entitlements.plist-file without the capability for your development and testing.

An App ID with Identifier com.app.name is not available. Please enter a different string

I am trying to upload version 2.0 of my iOS app, but it will not allow me to use the same bundler identifier.
1) When I create the new app record in iTunesConnect how can I change it match my new bundle identifier, if my app has the old bundle identifier?
Select your projects Build Settings tab in Xcode. Scroll down. Select code signing identity and make sure Release is set to iPhone Distribution: Team Name and not iOS Developer.
To answer your question, create a new app id in Apple Developer portal that matches your new bundle ID. You can't do this in iTunes Connect. Do that first, then create the app record in iTunes Connect (the app id you created should be available to use).

Unexpected generated explicit App IDs

Can we still use wildcard App IDs on Connect?
I have just added an app on iTunes Connect by clicking + and New iOS App. It has generated explicit IDs for all my apps.
For Bundle ID I chose "Xcode iOS Wildcard App ID - *" and typed a Bundle ID Suffix like "com.testapps.test". I filled in the rest of the form and created the app.
In member centre under App IDs, I can see an App ID with name "com-testapps-test" and ID "com.testapps.test", with Game Center and In-App-Purchase enabled. I didn't create this. I don't remember this happening last time I created and app on Connect. In fact there are now explicit App IDs for all apps I have created previously, which didn't exist before. Furthermore when I refreshed my account in Xcode Preferences, it has created and downloaded Development Profiles for all these IDs.
When I go back to Connect to look at the new App and choose About This App under More. It has Bundle ID "com-testapps-test - com.testapps.test" rather than the wildcard and suffix. If I try to change it to use the wildcard ID, I get "Your app information could not be saved. Try again. If the problem persists, contact us.".

iOS Distribution: Can I change the bundle identifier later on, to match it the reverse domain name of my customer?

I am an independent developer (coming from Android). I developed an app for a customer, and used a work title for this project as bundle identifier.
So, now comes the time, where I want to move to testing on a limited amount of devices with ad-hoc distribution provisioning profiles.
For this I need to create an App ID with a bundle identifier. So, my customer will finally want his app distributed under his reverse domain name.
Can I change the bundle identifier later on, to match it the reverse domain name of my costumer?
Bundle Identifier (Application Id) is an unique identity for any application. You can change it for any application by creating new Apple Id on developer account any time you want until you upload your application on Apple store.
Once you upload your app on Apple store, You can not change it. As if you change it afterwards you will not able to update your app and it will be considered as a new app with new bundle identifier instead of update of existing app.
Sure. You can change it anytime.
You can't change the project name in this field in Xcode, however:
You'd have to rename the whole project to change the last greyed out part of the Bundle ID.
Notice however that you can never change the Bundle ID after the app has gotten to the App Store.

Resources