简体   繁体   English

从iTunes转移到iPhone后,Ad Hoc分发应用程序为灰色

[英]Ad Hoc distribution app is gray, after transfer from iTunes to iPhone

I've been develoming an app and is at a stage now where i want to make other ppl able to tst out my app. 我一直在开发一个应用程序,现在正处于一个阶段,我想让其他人能够发布我的应用程序。 I've created a Ad Hoc provisioning profile and build an .ipa file with archives. 我创建了一个临时配置配置文件,并使用存档构建了一个.ipa文件。 After that i added the .ipa file to iTunes apps library and sync'ed iTunes with my iPhone. 之后,我将.ipa文件添加到iTunes应用程序库中,并将iTunes与iPhone同步。 After this i look at my phone and the app is grayed out and if i press it it writes installing, but never gets done installing. 在此之后,我看着我的手机,该应用程序显示为灰色,如果我按它,它会显示正在安装,但从未完成安装。

I've tried to recreate my certificat + profile + ipa file. 我试图重新创建我的证书+个人资料+ ipa文件。 And i did uninstall the debug app that was on my device, before i transferred the one with a ad hoc profile. 我确实卸载了设备上的调试应用程序,然后才使用临时配置文件将其转移。

Ov, and as a side note the app works 100% if i just build a release build through xCode, and use xCode to transfer it, but i NEED that .ipa file so that solution wont cut it for me. OV,并且要注意的是,如果我只是通过xCode构建发行版本,并使用xCode进行传输,则该应用程序可以100%运行,但是我需要该.ipa文件,因此该解决方案不会为我削减它。

What am i doing wrong here, plzzz help?^^ 我在这里做错什么了,请帮忙?^^

SOLUTION: Don't use " "(space) in the file name of the .ipa file 解决方案:不要在.ipa文件的文件名中使用“”(空格)

Are you 'distributing' the application and saving for ad-hoc/enterprise deployment ? 您是否正在“分发”应用程序并保存以进行临时/企业部署? The chances are the provisioning profile you created doesn't have the device UDID in it. 可能是您创建的配置概要文件中没有设备UDID。 Check on the dev portal that your ad hoc profile has that device included. 在开发人员门户上检查您的临时配置文件是否包含该设备。

If you instal the app from xCode and you can see the log in the console debugger, that's mean that you are not in "distribution" mode but in debug mode. 如果您从xCode安装该应用程序,并且可以在控制台调试器中看到日志,则意味着您不是处于“分发”模式,而是处于调试模式。 Verify your provisioning profile and the build mode. 验证您的配置文件和构建模式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM