0

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?

4

1 回答 1

0

它是可能的,这就是移动设备云实际上如何能够在不同的 iOS 应用程序上运行测试(没有它们的配置文件):

或多或少是这样的:

  1. 你有 MyApp.ipa
  2. 解压 MyApp.ipa
  3. rm -rf Payload/MyApp.app/_CodeSignature/
  4. cp ~/Payload/MyApp.app/
  5. codesign -f -s "iPhone Distribution: Company Certificate" Payload/MyApp.app
  6. zip -qr resigned.ipa 有效载荷/

您需要知道的是,辞职后您推送的通知(如果有的话)将被破坏。

于 2017-12-06T23:11:49.163 回答