I am developing an app with my friend and I need to sign with his identity for testing push notification system. Here is what we did:
I've tried to run the app and it said that no valid signing identities were found for that provisioning profile. Then I've tried to type the p12
file into the certificate by clicking Other
(Xcode couldn't find any certificate valid for that provisioning profile by itself) but it couldn't sign:
Code Sign error: No codesigning identities found: No codesigning identities
(i.e. certificate and private key pairs) that match the provisioning profile
specified in your build settings (“tanisalim”) were found.
CodeSign error: code signing is required for product type
'Application' in SDK 'iOS 7.0'
Here is my project configuration:
How can I codesign the app with my friend's certificate?
First off, yes, you do still need an Apple Developer account if you want to distribute your app in the App Store.
To transfer an app, just go into your Developer Account and on the App Summary page, click on the Transfer App button. Only the team agent can initiate this process. The next screen will verify that you meet all the criteria for transfer.
First of all, if you're collaborating during development then your friend should add you to his account as a developer and add your certificate to the development provisioning profile.
To do this he needs to invite you to his developer account, then you create your certificate. See Apple's App Distribution Guide
However, if you just want to use his identity, I would instead open his p12 file which will import it into your keychain. I don't think typing the path p12 into the Code Signing Identity works.
Make sure you've got the WWDR certificate installed, check the app bundleID matches that of the the provisioning profile, restart Xcode for good measure and then you should be able to select his code signing identity and sign your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With