R-o-g-e-r
R-o-g-e-r

Reputation: 11

Publishing IOS app on client's Enterprise App Store without source coce

I am developing an IOS app for a client. My client would like to publish the app on their private Enterprise App Store which is provided by MobileIron. However, I will not disclose the source code to my client. Is anyone familiar to MobileIron? Can my client publish the app on their Enterprise App Store if only an api file is provided? How to achieve it? Thank you!

Upvotes: 1

Views: 276

Answers (2)

Dan
Dan

Reputation: 5173

Path of least resistance:

  • ask them for an invitation as a member of their Enterprise portal
  • archive and sign the app with a development cert & provisioning profile out of that portal
  • send them the .xcarchive file out of Organizer
  • they can then pop open the .xcarchive file in XCode, won't see the code, and can re-sign with their Enterprise cert and profile

The other answer will work but it's a pain in the neck compared to the above.

Upvotes: 1

mahal tertin
mahal tertin

Reputation: 3416

To resign an existing IPA do following steps in the terminal:

rm -rf Payload/<yourapp>.app/_CodeSignature/
cp <a valid and made for your bundle>.mobileprovision Payload/<yourapp>.app/embedded.mobileprovision


codesign -f -s "iPhone Distribution: <company>" --resource-rules Payload/<yourapp>.app/ResourceRules.plist Payload/<yourapp>.app
zip -r render3d.ipa Payload

Then remove the app from the device with Xcode and drag the new ipa into xcode onto the device

EDIT: see also: Re-sign IPA (iPhone) and How to re-sign the ipa file?

Upvotes: 0

Related Questions