无法成功对“hello, world”进行发布构建
我编写了一个干净的应用程序(Hello,World),它使用调试|模拟器和发布|模拟器配置正确构建。当我尝试使用任何发布配置进行构建时,它会出错,显示“无输出”。
我从哪里开始寻找? (没有比 Hello, World 更简单的了,不是吗?)
I have written a clean app (Hello, World) which builds correctly using Debug|Simulator and Release|Simulator configurations. When I try to build using any of the Release configurations, it errors out, saying "No output".
Where do I start looking? (it can't get any simpler than Hello, World, can it?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用发布模式构建它并且没有使用配置许可证而是生产许可证,则这是预期的(Apple 不会让您以这种方式跨手机分发,您需要“临时”执行此操作)。
尝试使用配置许可证进行重建,它应该可以正确部署。
This is expected if you have built it with release mode and haven't used the provisioning license but the production one (Apple won't let you distribute across phones this way, you need to do it 'adhoc').
Try rebuilding with the provisioning license and it should deploy correctly.
我已经修复了这个问题(已将 Xcode 移动到 Apps 文件夹中!)...现在我收到一条新消息“无法找到输出文件”。我现在要去上班,所以我回家后会更新这个。我有所有的屏幕截图,并将生成输出(-v -v -v)并向您发送可以找到所有内容的网址。顺便说一下,除了我的第一个应用程序之外,Hello, World 上也发生了这种情况。
非常感谢您的帮助...我已经为此奋斗了 3 个多星期,并且真的非常想提交我的第一个应用程序。
I got that fixed (had moved Xcode into the Apps folder!)... now I'm getting a new message "unable to find output file". I have to go to work now, so I will update this when I get home. I have all the screen shots and will generate the output (-v -v -v) and send you the url's where you can find everything. By the way, this happens on Hello, World in addition to my first app.
Thank you so much for your help... I have been fighting this for over 3 weeks now, and really, really want to get my first app submitted.