应用程序在 iOS 4 上运行,更新临时配置文件后不在 iPad 上运行
该应用程序使用 iOS 4 支持的功能(发送短信),但也应该在 iPad 上运行。这是我花了时间研究的东西,但找到了通过将链接设置为弱来使其发挥作用的方法。在解决之前,应用程序无法在iPad上启动,出现闪屏并且应用程序崩溃。之后一切都很好,并且可以使用临时配置。最近,我在临时配置中添加了另一台设备,突然应用程序在 iPad 上再次崩溃。它在模拟器上按预期工作(目标是模拟器),但在设备上崩溃(目标是设备)。我确实尝试重建应用程序,删除旧的配置文件(它不断再次出现),然后创建新的临时配置。结果是一样的。该应用程序适用于运行 ios 4 的 iPhone,但无法在 iPad 上启动。
如有建议,我们将不胜感激。
The app uses features supported on iOS 4 (sending SMS), but should run on iPad as well. That was something that I spent time researching but found the way to make it work by setting link to weak. Before it was resolved, the app could not start on iPad, flash screen appears and app crashes. After that everything was okay and it worked with ad hoc provisioning. Recently I added another device to the ad hoc provisioning and suddenly the app crashes on iPad once again. It works as expected on simulator ( target is simulator), but crashes on the device ( target is device) . I did try to rebuild the app, removed old provisioning profile ( which kept appearing again ), then created new adhoc provisioning. The result is the same. The app works on iphone running ios 4, and can not start on iPad.
Suggestions will be much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然,有关该应用程序可以在 iPad 上运行的说法是错误的。我将所有框架链接为弱,这个问题得到了解决。
Apparently the suggestion that the app worked on iPad was wrong. The issue was resolved my linking all the framework as weak.