Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS in-house distribution of App developed by external vendor

A 3rd party has developed an App for private use in our enterprise environment. Now its come time to distribute it and they don't want to send us their code. I have a feeling this will cause an issue because the distribution profile and certificate would have to be sent to them compromising our private key which we couldn't allow.

Is this correct or can this be done without compromising our private key.

Edit: as a side note, I'm ok with sending them a private key if it only is useable per App, ie only with that App bundle ID and we can have different Apps with different private keys under the one enterprise licence.

like image 201
Rudiger Avatar asked Dec 03 '22 02:12

Rudiger


1 Answers

I'd suggest that you ask them to do 'Archive' under the Product menu in xcode4 and send you the resulting application.

You can then import that into your system, and use xcode organizer's "share" button to resign the app using your enterprise private key and the enterprise provisioning profile.

So the overall result is that they don't have to share their source code with you, and you don't have to share your key with them.

I have seen cases where xcode's resigning doesn't seem to work; in that case you can use https://github.com/maciekish/iReSign to do the resigning part.

like image 161
JosephH Avatar answered Dec 28 '22 09:12

JosephH