Hey all. I'm having a devil of a time, trying to generate an IPA for Ad
Hoc distribution to beta testers.
Scenario and bug:
I have the Cordova app running A-OK on my cable-attached iPad, via
"cordova run ios --device" I can also download and install the IPA over
the air on that very same iPad used for development. So my manifest file
and hyperlink used for OTA are okay.
On the beta tester's iPhone 4, the application will download but not
install. On its console, the errors are "could not install embedded
profile" and "MISValidateSignatureAndCopyInfo failed" which indicate
something with the code signing.
I've tried about 40 combinations of signing identity and provisioning
profile, and no luck. Maybe someone could point out where I'm going wrong?
- In Xcode, I use Preferences/Accounts and see that it has my
Distribution PP named "Ad Hoc Beta", and the company Distribution
Certificate. I select these in the Code Signing settings, and check that
Release is configured to use the Distribution identity and Ad Hoc Beta
is selected as the PP.
- I build for iOS with "cordova build ios --release --device" and
ultimately get a .app directory.
- I verify the signature on the .app directory:
codesign -d -vvvv platforms/ios/build/device/MyApp.app
It shows the right signature (iPhone Distribution: GreenInfo Network).
Identifier (org.greeninfo.myapp)
- I check the provisioning profile in
platforms/ios/build/device/MyApp.app/embedded.mobileprovision and see that:
* the wildcard identifier is being used
* it was signed a few minutes ago and expires in about 6 months
* the list of ProvisionedDevices definitely includes the UDID of my beta
tester's iPhone 4
The app does not use any additional capabilities nor entitlements.
So, does anybody have some ideas on how I continue troubleshooting? I
can share the content of the mobileprovision file, for example...
--
Greg Allensworth, Senior Web GIS Developer
BS A+ Network+ Security+ Linux+ Server+
GreenInfo Network - Information and Mapping in the Public Interest
564 Market Street, Suite 510 San Francisco CA 94104
PH:
541-223-7636 email:
gre...@greeninfo.org
Web:
www.GreenInfo.org www.MapsPortal.org
Subscribe to MapLines, our e-newsletter, at
www.GreenInfo.org