Reputation: 2025
I build for appstore distribution , but when trying to test it on device (not the developing )
it give the following warning
The application "myapp" was not installed on the iPhone "user's iPhone" because the signer is not valid.
any suggestion to solve that
best regards
Upvotes: 2
Views: 2385
Reputation: 2175
When you want to test a production version of your app (rather than a developer version) you can't use the App Store provisioning profile and install it on your app.
In XCode > Organizer > Provisioning Profiles you'll see your downloaded provisioning profiles. If you select your App Store provisioning profile you'll see the following:
Note the "cannot be installed on devices" clue.
You need to create an Ad Hoc Distribution provisioning profile and use that to sign your app. Make sure you add the device(s) to this provisioning profile and include the .mobileprovision file along with the .ipa file when sending it to someone else to test.
Create the Ad Hoc provisioning profile on the iOS Provisioning Portal: http://developer.apple.com/ios/manage/provisioningprofiles/viewDistributionProfiles.action
For more info on Ad Hoc distribution see http://developer.apple.com/ios/manage/distribution/distribution.action for more information.
Upvotes: 3
Reputation: 19469
The distribution profile which you are using in Code Signing does not match the your app's bundle ID.
To get rid of this issue,
Try putting a proper Distribution Profile
or
Delete the existing distribution profile which you are using. Go to Developer Portal on Apple's site and add your app's bundle ID to your Distribution Profile, then download the Distribution Profile and install it in your keychain access.
Hope this helps you.
Upvotes: 2