How to deploy phonegap app for ipad / iphone

I am completely new to creating an ipad / iphone application. I am completely unfamiliar with the phone. I downloaded the HelloWorld application and opened it using xcode. It works great in a simulator. So I tried to deploy it on my iPad. When I click Build and Run in xcode, I get this error:

Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain. 

I have no idea what that means. A few months ago, I applied for the Apple Developer program. I returned a letter in which I successfully wrote down. Do I need to copy some kind of certificate from my Apple account to a website in my ipad in order to enable xcode to deploy my helloworld for ipad program?

I am completely confused about how to test the HelloWorld application on my iPad.

Additional notes

OK, I followed a few steps on how to sign a certificate and install it in xcode. Now, when I try to create and run on the device, I get this error:

Code Sign error: Provisioning profile 'forgelink' specifies the Application Identifier 'forgelink' which doesn't match the current setting 'R8T3VN6VR7.forgelink.forgelink'

Did I enter something wrong when creating my certificates, package identifiers, application identifiers, etc. ??

+6
source share
3 answers

you need to get developer certificates (code signing certificates) from the Apple developer site. Sign in to developer.apple.com and follow these steps:

Edit:

Here's a link to the iOS support portal http://developer.apple.com/ios/manage/overview/index.action

+5
source

To summarize, as I spent all day deploying to iOS devices via xcode:

  • You have to pay a tax of $ 99 + $ 7, join the Apple Developer Network and deploy to real devices

  • You set up this association in Xcode by signing up with an AppleID.

  • You must provide a unique identifier for your Apple device, and sign a request and upload a certificate to use any real device. Just follow their guide exactly, especially copying the .mobileprovisioning file: Apple Provisioning Tool (sigin with your Apple ID if it doesn't work)

    I created a provisioning profile for every Apple device connected to my computer, but maybe you can do it with one ...

  • Your device will now appear in the drop-down menu next to the play button in Xcode. If not, the preparation did not complete successfully, and you need to go back and fix it.
+9
source

You need to install a developer certificate and create a provisioning profile. The Dev Center contains detailed instructions and links, as well as a good portal for creating and downloading profiles.

+1
source

Source: https://habr.com/ru/post/892373/


All Articles