I did the following step to convert my html and javascript to make it compatible for iOS app using phonegap:
I uploaded the zipped file of my java script on phonegap.com and gave the relevant .p12 certificate along with the provising profile.
Now I downloaded the ipa file from there.
I tried to install this app through iTunes which did not installed desppite of waiting for couple of hours.
What can be the issue can anyone please tell me?
Is it something like that the provising profile used here should be for that particular device?
i think you have not added device in provising profile
1 Go to your Apple developer portal Click Devices to register your iOS device.
You need to connect your device to iTunes to obtain your UUID Click Certificate
2-Create a certificate for Production (to use PhoneGap Build, otherwise Development) Download the certificate
3- Convert the certificate to a p12 file . - Double-click the .cer file to open it in Key Chain Access.
Then click My Certificates under the category, Ctrl-click the certificate and export.
When you save the .p12 file, you are asked to create a password that you will need later.
4- Create a provision file on Apple developer portal, then download. Again, to make this work on PhoneGap Build, you need one for Distribution, otherwise Development. -
See more at: link
Related
I try to deploy an app for my company use. So I do Product->Archive, select the good distribution cert/profil. I upload the file on the web, make the link to the manifest.plist to .ipa and then I try to install it on my ipad but ... unable to intall:
UPDATE: I don't want to install it directly on a Ipad, but download it from an url with the ipad and I'm using entreprise developper program and it work if I directly build it for the ipad
Here the ios console Log :
I find strange that in the log after
INVALID >> { 642AFE.... this number is not the same there is in my
ipa filename.
I also find strange to get many plist file (distribution, export ...) .
Here the folder i drop to the server :
Does anyone have some idea ?
thanks by adavance
If you are using the normal developer account then to install the application in device(either directly or from any third party sites) you have to sign the archive file either with development profile of AdHoc distribution profile. Here if you have selected the Appstore distribution certificate and profile then the application will not be able to install in any device.
If the device's UDID is added to the profile(development or AdHoc distribution) then you can install the app directly using Xcode or via an URL.
If you are using the enterprise program and the application is signed with the distribution certificate and profile then the application can be install in any device regardless of the existence of UDID in the profile.
Please check the profile when you are archiving the ipa.
Hope this helps you in some way.
I am for the first time, creating an app for a client (rather than for a company I have full access to). I use the phonegap method which includes generating the app's provisioning profile and certificates in the developer portal, using phonegap to package it all as a releasable .ipa file.
Are there any limitations on me generating the .ipa file in phonegap, sending it to them, and them releasing the binary through their itunes connect? Or - will it get caught up when they upload because they didn't generate the certificates?
They are almost definitely going to need to sign the file with your production certificate. You can export it from Xcode if you use it and have them add it to their keychain.
my xcode version is 7.0.1, Now my client gave me their p12, .provision. Now i added all the under build setting. i want to generate ipa file to upload in app store. So i select first option in below image and i dont have my client developer account. So i choose "local assign assets"..After that my xcode getting quit automatically
My client gave me these files :
1.p12
2. projectname.mobileprovision
Does .cer is needed to generate ipa file to upload in app store.
Please help me !!1
The Keychain Access Window opens up. With the Keychain Access window open, go up to the Keychain Access menu at the top and select File and then click on Import Items. Another window will appear. In this window, you should browse to the .p12 or .pfx certificate file on your computer.
& After upload process...
Refer this tutorial and testflight app information...
http://www.raywenderlich.com/101790/ios-beta-testing-with-testflight-tutorial
https://developer.apple.com/testflight/
You can't create .ipa file when following issue arise.
1) if provisional certificate not made properly.
or
2) created provisional certi. and installed certificate is not match.
or
3) when proper team is not selected in project and target tab.
or
4) certificate make issue for Adhoc or developement (AppStore).
you can check what issue is in your end of given here.
I'm using windows 8 to building applications with phonegap,
every thing is good except building apple application at:
https://build.phonegap.com
this appears:
phonegap build "no key selected"
how to get the key or .mobileprovision file?
You have to create them on https://developer.apple.com/, as AJD mentioned.
Go to your Apple developer portal
Click Devices to register your iOS device. You need to connect your device to iTunes to obtain your UUID
Click Certificate
Create a certificate for Production (to use PhoneGap Build, otherwise Development)
Download the certificate
Convert the certificate to a p12 file (See the screenshots below) - Double-click the .cer file to open it in Key Chain Access. Then click My Certificates under the category, Ctrl-click the certificate and export. When you save the .p12 file, you are asked to create a password that you will need later.
Create a provision file on Apple developer portal, then download. Again, to make this work on PhoneGap Build, you need one for Distribution, otherwise Development.
Actually, I blogged about it because using PhoneGap Build is not as easy as it should to develop iOS apps.
http://www.pubnub.com/blog/converting-your-javascript-app-to-an-ios-app-w-phonegap/
I know this question is made a year ago, but I hope this helps to everybody who has the same question.
You create and download the provisioning profile and an associated certificate on the Apple developer site.
Go
https://developer.apple.com/
Go member center > manage certificates and profiles...
A valid provisioning profile is connected to a valid distribution certificate. You will need both active.
Building for iOS
We're now able to offer support for building to iOS devices through Adobe® PhoneGap™ Build. The process for completing iOS builds is slightly different than that for other platforms: all iOS builds need to be signed by a developer certificate and a provisioning profile, that is tied to your Apple developer account and the device you wish to test on. This document covers how to set this up.
Note: Since PhoneGap Build uses Apple's standard development process to build applications, you will need to sign up for their developer program to build iOS applications on PhoneGap Build. You will also need a Mac to configure your certificate and provisioning profile.
When you upload a new application to PhoneGap Build, if you don't have a default certificate-profile pair attached to your account, you will be alerted that the iOS build can not be completed:
iOS Key Required
Your key will actually consist of two files: a certificate and a provisioning profile. Apple has extensive documentation for setting up your environment locally: the best approach is to ensure you can build an iOS application to your iOS device locally, to be sure that both your certificate and your provisioning profile are set up correctly for code signing.
Once you have these set up, you can export them for upload to PhoneGap Build. For the provisioning profile, you will need a file with the mobileprovision extension, which looks like this:
Provisioning Profile in Finder
Ensure that this provisioning profile is correctly paired with the device(s) you wish to test on.
Note that when you create your profile, you will specify the App IDs that are linked to the profile. This is important when using PhoneGap Build: the package name you specify for your app, in your config.xml (the id attribute of the widget element) or through the Edit App page, will have to match the ID for the provisioning profile. If they fail to match, your app will not be built correctly.
Apple appends a "Bundle Seed ID," or "App ID Prefix," to the provisioning profile when you generate it through the iOS Developer Center. Note that you do not to include this App ID Prefix in your config.xml for PhoneGap Build to build successfully. You just need the reverse-domain style Bundle Identifier - com.domainname.appname. This will also be best compatible with building for other platforms.
To prepare your certificate, you will need to open the Keychain Access utility on your Mac, and identify the certificate that you use for iOS development. Right click on that certificate and select Export ...
Export from Keychain Access
Save the certificate in a location you can remember, and enter a password. Remember the password: you will need to give it to PhoneGap Build, otherwise we cannot use your certificate.
Enter Certificate Password
Now back to the website. On the app detail page, simply select the "new key..." option from the signing key dropdown for the app in question, and then, from the list of platforms with signing available, hit add a key for iOS. Fill out the form: add your p12 certificate file and your mobileprovision file, and enter the password associated with your certificate.
Add Certificate to PhoneGap Build
Once your key is added, we'll attempt to rebuild the application for iOS. If all goes well, you should see a link for the built ipa file available.
You can then download the ipa file and use iTunes to install it directly on your provisioned iOS device.
Happy building!
I made an app with xCode 4.3 for a client with his own developer account.
Now i need to send him my compiled/binary app (no source code) so he can submit it under his account.
I dont know his bundle ID and neither i have his developer certificate.
Edit: And he will not supply me his developer certificate.
Can it be done?
I searched how this can be done but didn't find an answer.
Build the IPA as normal, then send it to him along with a copy of the Info.plist. He must then:
Edit the Info.plist file to include his bundle ID.
Unzip the IPA.
Replace the Info.plist file.
Re-sign the application using codesign.
Re-zip the IPA.
Submit it to iTunes Connect manually.
The way I have done this before was to log in as the client, and submit from your machine. But I guess this depends on the trust level between you
You need to have his distribution certificate (with private and public keys) and distribution profile. When you have those, you can create a compiled app for submission to Apple.
Basically, he needs to create the App ID, certificate, and profile and give them to you. If he cannot do this, you need to sign in to his account for him.
Once he has the compiled app, he can easily submit it using Xcode or Application Loader.
Build and archive the iOS app with your own certificates, then send the customer the resulting app archive (zipping up the app's archive directory, if needed). Look here for Xcode's archive files: ~/Library/Developer/Xcode/Archives/
In the archive, they can find and edit the app's Info.plist file.
Then the customer can submit the app archive from Xcode's Organizer and using their own developer account. Xcode should ask them to re-codesign the app with their own Distribution certificates as part of its upload process.