我正在从事一个混合APP项目,我们在其中使用 cordova 和 npm 在我们的设备上构建和安装软件包。我在iPhone上安装IPA时遇到问题,APP正确安装,没有错误,但是当我尝试打开它时,它会打开并关闭。
这是我用来构建和安装IPA的步骤/命令:
1. npm run build:uat:app
2. npm run prepare:ios
3. npm run generate:ios:debug
4. Open the workspace file in xCode and change the configuration (bundle identifier,signing debug and signing release)
然后,我插入设备,等待其在xCode中显示为已识别,然后按播放按钮以进行安装。
然后我转到设备设置并“信任” APP。
如果我需要提供更多信息,请告诉我。
谢谢。