testflight 应用程序在启动时关闭 [英] testflight application closes on start

查看:49
本文介绍了testflight 应用程序在启动时关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 testflight 安装一个临时应用程序,因此我从 Apple 门户创建了一个临时配置,我构建了 .ipa,然后将其提交给了 testflight.

I'm trying to install an ad-hoc application through testflight, so I create an ad-hoc provisioning from apple portal, I build the .ipa and then I submit it to testflight.

问题是我可以从 testflight 安装应用程序(我没有收到任何错误),但是当它启动应用程序时它会关闭,没有任何警报或消息.

The problem is that I can install the application from testflight (I don't receive any errors), but when it starts the application it close without any alert or messages.

经过一些测试,我已将设备连接到 xcode,然后单击为开发配置"(或类似的东西,我记错了,因为我再也看不到那个选项了).之后,应用程序没有在启动时关闭并且运行良好.

After some test, I've attached device to xcode and then I clicked on 'Configure for development' (or something like this, I don't remember correctly because I can't see again that option). After that, application didn't close on startup and it works well.

问题是,如果我必须为任何设备启用 xcode 开发,我就无法通过 testflight 分发应用程序!

The problem is that I can't distribute application via testflight if I have to enable development with xcode for any device!

为什么我有这种行为?我做错了什么?

Why I have this behaviour? I'm doing something wrong?

谢谢

推荐答案

这是 2012 年的老问题,但最近我遇到了完全相同的问题.我想出了问题的根源.我正在使用框架 OCMock,当我将它更新到 3.0 版时,我开始遇到这个问题.我把它恢复了,它工作正常.我不知道 OCMock 3.0 中是什么导致了这个问题.如果我弄明白了,我会再写在这里.

This is an old question from 2012, but recently I had exactly same problem. And I figured our what made the problem. I was using the framework OCMock and when I updated it to version 3.0, I started to have this problem. I reverted it back and it works fine. I don't know what in the OCMock 3.0 makes this problem yet. If I figure it out I'll write here again.

http://ocmock.org/ocmock3/

这篇关于testflight 应用程序在启动时关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆