Having problems submitting an iphone app - iphone

im getting these errors:
The Bundle ID Hasselknippe-Solutions.iTangera defined in your Xcode
Project does not match the Bundle ID that you entered for this app in
iTunes Connect com.Hasselknippe-Design.iTangera.
and
Application failed codesign verification. The signature was invalid,
or it was not signed with an iPhone Distribution Certificate.
How to i fix these errors?
Thanks

Steps to solve this problem (assuming your Apple Provisioning Portal is correctly behaving)
1) Go to organizer
2) Provisioning profile and delete everything.
3) Check "Automatic Device Provisioning" and hit refresh (You will get all your profile back).
4) Go to "Build setting" and use new Provisioning profile.
5) Go to your identifier in summary and check does it match to app ID in Apple developer portal or not.

You need to be extremely meticulous in getting all your provisioning profiles to match. I'd start over with my provisioning profiles, making sure you have a distribution one.

You need to make sure all 3 of the below match, and should NOT have the 10 digit Apple ID prefix
Bundle ID in Xcode (Targets -> Info -> Bundle Identifier)
App ID in Provisioning Portal
Bundle ID in iTunes Connect for your app (i messed up here, make sure you create this only after everything is configured in Provisioning Portal)

Related

iPhone - App validation succesful, but loading developer build failed after this

I created distribution profile and built app with the distribution profile. I have validated the build and the validation is successful.
After this step, i tried to cross verify the app once again and built an app with developer provisioning profile. Archive file is created successfully. But app is failing to install in mobile.
What is the reason behind it.
Make sure you dont have duplicate keys in your keychain. Delete the old ones and create a new key and prov file then everything will work fine. Normally just dupe entries can cause this.
there are 2 reason for this error
1) you are not add device UDID in your developer provisioning profile.
2) In your device an app is already install with same developer provisioning profile so the your app is not install in your device.

IPhone - code sign, provisioning, certificate

I'm trying to generate an IPA file for test in some devices, but when I try to install in these devices with IPhone Configuration Utility, I receive this message: "A valid provisioning profile for this executable was not found ".
I double-checked the certificate and provisioning(distribution), the Project-> Build Settings -> Code Signing and Target -> Build Settings -> Code Signing Identity are correct too.
Something that I realised is when I try Archive -> Share, the Identity has no valid provisioning profile (look at the picture):
Valid XHTML http://tlab.in/codesign.png.
I googled all the day and I couldn't find anything that would help. Any ideas?
Here are common issues that you should review:
In your Provisioning Portal (in the Apple Developer site), make sure to have Distribution tab a valid and Active Distribution Provisioning Profile, and it should be of type AdHoc.
Make sure that you have added the device ID into the profile of step 1.
Make sure that you have written the correct Bundle Identifier in your project (the one that says com.yourcompany.yourproject)
Check that you have set in Xcode the Build Settings->Code Signing->Release to the correct identifier.
After these steps you should be able to press on the combobox of the image you provided and select the AdHoc certificate.
Sometimes you might need to manually delete old Provisioning Profiles from the devices that you are testing (from Settings->General->Profiles).
I hope this helps you
In this case, there is no valid AdHoc provisioning profile for the bundle ID that you assigned to the application. If you are going to create an IPA to share - it needs to be an AdHoc profile - and be sure that bundle ID matches.

Testing an Application on device in xcode 4

I am trying to test my iPhone app in XCode 4 and it is telling me that i don't have a valid provisioning profile even though i do. What is wrong?
There are a lot of factors that could cause this. More information is needed. The primary things I would suggest are:
Is your device authorized in the provisioning profile (using the Developer Portal or team provisioning profile)
Have you downloaded the latest profile from the developer portal? And made sure its not expired?
Have you specified the correct provisioning profile in the build settings for your project? If you have had to make changes to the profile or renew it you will have to re-download it AND install it in Xcode AND change your build settings to point to the new one even though it has the same name.

Not able to select provisioning file in XCode build settings under "code signing identity"

I am not able to get my app loaded on my phone unless I set the bundle identifier in info.plist to the full app ID prefixed by the bundle seed ID "12345.com.app.name". When I put the correct bundle ID of "com.app.name" I get the dreaded error of "your application’s Code Signing Entitlements file do not match those specified in your provisioning profile."
What I think may be part of the issue: I noticed I'm getting strange behavior I haven't seen before... normally in the build settings under "code signing identity" you can see which certificates and provisioning profiles match up
However I'm not seeing that in my GUI, which just lists the certs without telling me which provisioning profile they match:
My provisioning profiles are definitely installed - they all show up in the organizer and I can in fact build for the device fine (but only when I set bundle ID to include the seed ID).
Anybody know why my screenshot doesn't include the provisioning profile matches? XCode does get confused sometimes, solvable by restart/reboot, but unfortunately this was not one of those cases...
Your provisioning profile's Application Identifiers stats 'uk.co.bailim', not com.app.name..
If you want to use com.app.name in bundle identifier, make sure that when you create your provisioning profile, put the com.app.name as Bundle ID as well..
Hope it helps.. =)

"A valid provisioning profile for this executable was not found." What does this message mean?

I got this error message when building MyApp using a Distribution Provisioning Profile.
However, it succeeded when built with a Development Provisioning Profile.
What does this message mean?
My device is an iPhone 3GS with iOS4 installed. I created a certificate following Apple's documentation and I created an App ID, Development Provisioning Profile and a Distribution Profile.
I created Build Info (create Distribution activity (duplicated Release) and selected my Distribution Provisioning Profile.
Image Link http://a.yfrog.com/img706/5572/nhk.png
the value of theBundle Identifier Key within your info.plist file must match the App-ID that you have assigned to your provisioning profile in the portal.
another reason could be, that said provisioning profile is indeed not installed on the computer you're developing on. In that case you simply download your profile and open it. it will then appear in XCODE's Organizer Window.
hope I could help
sam