开发了我的第一个供内部使用的iPhone应用程序,应该在内部分发。
当我使用开发人员资料对构建进行代码签名时,我能够成功将其安装到设备上。但是当使用App Store分发配置文件对构建进行代码签名时,无法使用iTunes安装相同的app(.ipa)。我收到以下错误。
Oct 1 15:52:32 unknown installd[462] <Error>: profile not valid: 0xe8008012
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 install_embedded_profile: Could not install embedded profile: -402620398
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 verify_signer_identity: Could not copy validate signature: -402620395
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.1JP9zU/foo_extracted/Payload/mi-ios.app
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 install_application: Could not preflight application install
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 handle_install: API failed
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 send_message: failed to send mach message of 71 bytes: 10000003
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 send_error: Could not send error response to client
我确保分发配置文件有效(我的Mac上已安装了私钥和证书)。
我不确定我在这里想念的是什么。我遵循了iOS开发中心给出的每个步骤。任何帮助,将不胜感激。
最佳答案
顾名思义,App Store配置文件仅在通过App Store分发时使用。它用于在您的应用程序上签名以通过App Store进行分发,并且不能用于任何其他目的。除非您安装已经通过App Store签名的应用程序,否则它会非常正确地失败。
如果您想在较短时间内将供内部使用的应用分发给一些设备,则应使用临时配置文件;如果用户使用时间较长,那么您需要注册为公司开发人员并遵循不同的流程。