Ios5 如何为iPhone4编译

Ios5 如何为iPhone4编译,ios5,compilation,iphone-4,armv6,Ios5,Compilation,Iphone 4,Armv6,我的问题是: 我有一个运行完全正常的应用程序,它在运行iOS 5.1.1的iPhone4S上运行得非常完美。 现在苹果拒绝了我的应用,因为他们发现该应用在运行iOS 5.1.1的iPhone4上发布时崩溃。我需要做些什么来编译iPhone4?我不能真正测试它,因为我只有一台iPhone4S供我使用。我已经在项目设置中做了一些调整,并添加了armv6。我还需要做什么 我象征了我从苹果公司得到的crashreport,如下图所示。 然而,问题依然存在。我不明白为什么我的应用程序不能在iPhone4上

我的问题是: 我有一个运行完全正常的应用程序,它在运行iOS 5.1.1的iPhone4S上运行得非常完美。 现在苹果拒绝了我的应用,因为他们发现该应用在运行iOS 5.1.1的iPhone4上发布时崩溃。我需要做些什么来编译iPhone4?我不能真正测试它,因为我只有一台iPhone4S供我使用。我已经在项目设置中做了一些调整,并添加了armv6。我还需要做什么

我象征了我从苹果公司得到的crashreport,如下图所示。 然而,问题依然存在。我不明白为什么我的应用程序不能在iPhone4上运行。我发现有一段代码被称为#6个最后的异常。 它位于ViewController.m中。这是我在指定行的代码:

self.player =[[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:url]];


Last Exception Backtrace:
0   CoreFoundation                  0x3742088f __exceptionPreprocess + 163
1   libobjc.A.dylib                 0x35125259 objc_exception_throw + 33
2   CoreFoundation                  0x37420789 +[NSException raise:format:] + 1
3   CoreFoundation                  0x374207ab +[NSException raise:format:] + 35
4   Foundation                      0x37c0805f -[NSURL(NSURL) initFileURLWithPath:] + 79
5   Foundation                      0x37c07ffb +[NSURL(NSURL) fileURLWithPath:] + 43
6   Podman                          0x00021feb -[ViewController viewDidLoad] (ViewController.m:43)
7   UIKit                           0x3112dc8b -[UIViewController view] + 167
8   UIKit                           0x3112c461 -[UIWindow addRootViewControllerViewIfPossible] + 45
9   UIKit                           0x3111ee87 -[UIWindow _setHidden:forced:] + 295
10  UIKit                           0x3118f7d5 -[UIWindow makeKeyAndVisible] + 25
11  UIKit                           0x3112ce6d -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1633
12  UIKit                           0x311267dd -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 409
13  UIKit                           0x310f4ac3 -[UIApplication handleEvent:withNewEvent:] + 1011
14  UIKit                           0x310f4567 -[UIApplication sendEvent:] + 55
15  UIKit                           0x310f3f3b _UIApplicationHandleEvent + 5827
16  GraphicsServices                0x33b3622b PurpleEventCallback + 883
17  CoreFoundation                  0x373f4523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 39
18  CoreFoundation                  0x373f44c5 __CFRunLoopDoSource1 + 141
19  CoreFoundation                  0x373f3313 __CFRunLoopRun + 1371
20  CoreFoundation                  0x373764a5 CFRunLoopRunSpecific + 301
21  CoreFoundation                  0x3737636d CFRunLoopRunInMode + 105
22  UIKit                           0x3112586b -[UIApplication _run] + 551
23  UIKit                           0x31122cd5 UIApplicationMain + 1081
24  Podman                          0x00021e7b main (main.m:16)
25  Podman                          0x00021e30 start + 40

如果您将此崩溃报告符号化,您将能够更好地了解问题所在。有人已经在这个网站上提供了一个关于如何进行的答案——我编辑了我的帖子并发布了符号化的崩溃日志。我还进一步详细地解释了我的问题。