iPhone 2G 的 AdHoc 分发失败
我的申请有一些问题。因此,我第一次部署 AdHoc 分发应用程序时,在我的设备和测试设备 (iPhone 2G) 上一切都很顺利。
现在,当他在设备上启动新版本时,他会看到启动屏幕,之后应用程序崩溃了。这个新版本唯一改变的是我向应用程序添加了一些新功能,但第一个屏幕上没有任何内容。我的 iOS 版本是 4.3、xCode 4 和 iOS SDK 4.3,我的测试仪有 iPhone 2G 和 iOS 3.1.3。应用程序的目标设置为 3.1.2。
我已经包含了以下框架: 1) libz.1.2.3.dylib; 2) libxml2.dylib; 3)MobileCoreServices.framework; 4)CFNetwork.framework; 5)UIKit.framework; 6)CoreGraphics.framework; 7)QuartCore.framework; 8)系统配置.框架。
其中之一可能是原因吗?我怎样才能找到哪些框架可用于 iOS 3.1.3?目前所有框架都设置为“必需”。
您知道导致此问题的原因是什么吗?如果您觉得相关,我将发布第一个屏幕的代码。
谢谢你, 安德烈
I have some issues with my application. So, first time I have deployed the application for AdHoc distribution everything went well on my device and on my tester device (iPhone 2G).
Now when he starts the new build on his device he is seeing the splash screen and after this the app crashes. The only thing changed on this new version is that I have added some new feature to the app, but nothing on the first screen. My iOS version is 4.3, xCode 4 and iOS SDK 4.3 and my tester has an iPhone 2G and iOS 3.1.3. The target for the app is set to 3.1.2.
I have included the following frameworks:
1) libz.1.2.3.dylib;
2) libxml2.dylib;
3) MobileCoreServices.framework;
4) CFNetwork.framework;
5) UIKit.framework;
6) CoreGraphics.framework;
7) QuartCore.framework;
8) SystemConfiguration.framework.
Could one of them be the cause? How can I find out what frameworks are available for, let's say, iOS 3.1.3? Currently all frameworks are set to "required".
Do you have any idea what could be the cause of this issue? I will post the code for the first screen if you find it relevant.
Thank you,
Andrei
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要检查测试仪设备上的日志以查找崩溃的原因。控制台日志可能会提供一些帮助 - 您的测试人员可以使用 Apple 提供的 iPhone 配置实用程序检索控制台日志。可以从 http://www.apple.com/support/iphone/enterprise/< /a> 适用于 OSX 和 Windows。如果您的测试人员下载并运行它,它将给他一个与 Xcode 中的 Organizer 窗口非常相似的视图。让他单击左侧的设备,然后单击“控制台”选项卡,然后保存日志并将其发送给您。
另一件可能(更有可能)有帮助的事情是崩溃日志。如果您的测试人员连接到 iTunes 并进行同步,崩溃日志就会复制到他的计算机上。 中找到它
对于 MacOS,可以在
~/Library/Logs/CrashReporter/MobileDevice/
,或者
C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter/
或C:\Users\\AppData\Roaming \Apple Computer\Logs\CrashReporter/MobileDevice/
(适用于 Windows)。希望有帮助!
You'll need to inspect the logs on your tester's device to find the cause of the crash. The console log may provide some help -- your tester can retrieve the console log by using the iPhone Configuration Utility that Apple provides. It can be downloaded from http://www.apple.com/support/iphone/enterprise/ for both OSX and Windows. If your tester downloads and runs this, it will give him a view pretty similar to the Organizer window in Xcode. Have him click his device on the left-hand side, and then the "Console" tab, and then save the log and send it to you.
The other thing that might (more likely) help is the crash log. If your tester connects to iTunes and does a sync, the crash log is copied to his computer. It can be found in
~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>
for MacOSand either
C:\Documents and Settings\<USERNAME>\Application Data\Apple computer\Logs\CrashReporter/<DEVICE_NAME>
orC:\Users\<USERNAME>\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/<DEVICE_NAME>
for Windows.Hope that helps!
如果您的应用程序在启动时崩溃,您需要收集他的崩溃日志并阅读这些日志。应用程序崩溃的方式有上百万种;我们需要更多信息来帮助您诊断问题。
If your app is crashing on startup, you'll need to gather his crash logs and read those. There's a million ways an app could crash; we'd need a lot more information to help you diagnose the problem.