I know this question has been asked before, but I have tried the given solutions, and none have worked. I am switching development computers, and starting a brand new project on my new computer. We already have a certificate that we used on the old computer, so I exported the Developer Certificate from my old computer, and installed it in my new machine. I created and downloaded a provisioning profile for my new application on the new computer. I am trying to run the application on a test device, whose UDID I added to the provisioning profile, so it would be valid for this device.
The provisioning profile was created with the apple ID I created online with the the form com.mycompany.projectname.
When I try to run the application on the test device(it does not work on the simulator either), I get an error popup that says The application does not contain a valid bundle identifier.
My bundle identifier, which I checked both the Targets -> Summary -> Identifier and the Info.plist is showing correctly in the form of com.mycompany.projectname, with neither the company name, nor the project name having any special characters in it.
Am I missing something? I have been beating my head against the wall with this for a while now...
I remember the last time this happened to us was when we noobishly trashed our app's plist. Luckily, we had an older copy on the old time capsule, and restored it. But we had changed the bundle ID since and it kept showing us that error. Matching the cert with the Bundle ID is critical. Make ABSOLUTELY sure the names on the cert match the bundle ID, or check the organizer to see if the cert even installed in the first place. If need be, as an absolute last resort, change the bundle ID and get a new cert.
We ensure that “the plist” and “ general->identify->Bundle Identifier ” have a same Bundle Identifier。and the Bundle Identifier's stytle maybe be like "com.mycompany.projectname "
Follow these steps:
look plist whether have the Bundle Identifier
look general->identify->Bundle Identifier whether the same as plist in Xcode
if the same maybe Bundle Identifier is inAppropriate。 so you can set Bundle Identifier like "com.mycompany.projectname "
Related
I'm trying to run one of the GPUImage sample projects (FilterShowcase) and I keep getting the following error:
Code Sign error: A valid provisioning profile matching the application's Identifier 'com.sunsetlakesoftware.FilterShowcase' could not be found
Usually I'm able to run projects I download from GitHub no problem, so I'm not sure why this is happening. Do I need to request the provisioning profile from the author? Any help would be appreciated thanks.
The problem is that the sample project has com.sunsetlakesoftware.FilterShowcase mentioned as it's Bundle Identifier, And there will be no Provisioning Profile in your system matching this bundle ID. So make sure you set the right Bundle identifier in the TARGETS / plist.
Do I need to request the provisioning profile from the author?
No, you don't need to request the provisioning profile from the author. You can use any provisioning file to run the app on the Device unless it's Bundle ID matches the Bundle ID specified in the TARGETS / plist of your app.
The problem was, somewhere along the line I deleted my team provisioning profile! Didn't realize it, but I was also unable to run any other sample projects that weren't created by me.
This problem is most likely caused by Xcode.
Maybe this or this might help
I have recently rewrote my application and started with a fresh project. The App its self is using the same bundle seed and Bundle identifier.
As my project has a slightly different name the app it produces a slightly differnet .app (file name) to what is already in the store.
Am i right in thinking as long as the bundle ID is the same i wont have any issues?
Thanks Ahead
So you want to make an update to your app in the AppStore. Then you are thinking right. As long as you don't change the bundle id it is ok. You can't change the bundle id when you make an app update but the app name of course.
Apple distinguish apps on the basis of bundle id (com.yourCompanyName.appName) so don't worry its OK.
So this really put headache on my head and I finally gave up and posted question here. I am trying to update one of my client Application in iTune store and we are facing below error while uploading to App store.
So, I already tried couple of solution by creating new app id with the bundle sid id twice. Also delete all old profile etc. But nothing worked yet.
1). iTunes Connect App Bundle ID = 8X8ZP823D6.com.pregnancytoolspro.55freebabysamples
2). Info.plist Bundle ID = com.pregnancytoolspro.55freebabysamples
3). Provision profile ID = 8X8ZP823D6.com.pregnancytoolspro.55freebabysamples
When I Changed Info.plist App ID to com.pregnancytoolspro.55freebabysamples then it show me provision profile active in the list.
If I changed Info.plist App ID to 8X8ZP823D6.com.pregnancytoolspro.55freebabysamples then it doesn't show me provision profile active in the list.
When I build app and upload to App store it pop up this message and I can't understand how it should be in info.plist and in provision profile so that it can match iTunes Bundle ID.
Is anyone faced this problem before ? Please help me out.
We contacted Apple support and they said they will have to change Bundle Identifier in the App we have added in our account. So probably Apple will solve this critical issue.
I've had this issue before. It has to do with the different versions saved in the info.plist.
There is a version and build identifier.
Apple doesn't really care about the version as much as the build number. If you have submitted your app with a build number, the update must be 1 greater for the update to work. It isn't all that clear how that works, but that is how I got my update to go through. You should be able to find out what these were in iTunesConnect so you can increment them correctly.
what are the consequences of itunes app name being different then xcode project name?
Will my app not be accepted into the store if they are dfferent?
fyi I already created an app called X on itunes connect and linked it to an xcode project named Y. so is it possible to rename my project in xcode as also X and create a new app on itunes named x and then connect them?
Many apps have up to 6 different names. (project, target, product(file name), bundle ID suffix, bundle display (under icon) name, app store name, advertising name, etc.). You can configure these names all individually (I usually do). No problem as far as Apple is concerned, unless some of them are misleading or a trademark violation or something.
It doesn't matter at all. Apple doesn't see your xcode project, just the binary you submit. As long as the binary settings, like the code signing identity are correct, you could name it anything. Also, I don't recommend renaming your project. If you do it manually, you will break the project. And if you use xcode's built in way, you get a kind of weird result (from my experience).
It doesn't matter at all. Project name and even bundle name can be anything. The only thing matter is your bundle id matches app id in the iTunes Connect.
iOS Provisioning files make reference to the Apple application ID (of the form "A1A2A3A4A5"). Most often, the DNS form of the application is replaced with a star (*).
My understanding is that the provisioning profile is stored in the iOS development device and is not used by Xcode. Thus, when building/signing the application, how can Xcode include the app ID into the executable file ? The only information Xcode has is the "Bundle Identifier", which is of the form "com.mycompany.myapp" - but there is no App ID, thus there is no way to add the app ID at this stage.
Does anyone know how this works. I feel that many people use those tools (as I do) without really knowing how it's made inside.
Many Regards,
Apple92
An iPhone application is not just an executable, it's a bundle (like a directory) that contains the executable, but also resources (like nibs or images) and in particular contains a small plist manifest file with details about your application - including the application ID. The provisioning profile is also included in this application bundle.
A device also maintains a list of provisioning profiles it has installed, but the profiles can be in the application as well and are checked against the application plist file to make sure everything matches.
For anyone who may stumble upon this question, I give a lot of detailed context in my answer to this related question.
https://stackoverflow.com/a/20557213/117471
Basically it boils down to this:
A Bundle ID is a string that is defined in Xcode
An App ID is an object that lives in Developer Member Center. It is often confused with Bundle ID because the App ID Suffix parameter of the object (I'm trying to drive home the fact that App ID is not a string. Is it working?) matches the Bundle ID of your app.
The App ID does not exist in iTunes Connect, or Xcode. It is only in Developer Member Center.