We're looking to run UI Automation on our app generated with CRNA using Appium. I am able to generate an Enterprise Distribution build via the CRNA CLI but not a Developer build. Is there a way to do this with the built-in CLI or a custom script? If not, do I need to eject the app just to generate a Developer build?
Asked
Active
Viewed 327 times
1 Answers
0
Its possible and thats how actually mobile device clouds are able to run tests on different iOS apps (not having their provision profiles):
More or less its like this:
- You have MyApp.ipa
- unzip MyApp.ipa
- rm -rf Payload/MyApp.app/_CodeSignature/
- cp ~/ Payload/MyApp.app/
- codesign -f -s "iPhone Distribution: Company Certificate" Payload/MyApp.app
- zip -qr resigned.ipa Payload/
What you need to know is that after resign you push notifications (if there are any) will be broken.

dmle
- 3,498
- 1
- 14
- 22