当我尝试在iOS 6中运行时,我的代码抛出了Sen test Framework错误.为什么?

Aru*_*run 2 objective-c ios ios-simulator ios6 xcode4.5

我有一个开发的项目,iOS 5.0现在我需要更新我的项目iOS 6.0.在这样做时,我xcode 4.5抛出的错误如下......

dyld: Library not loaded: @rpath/SenTestingKit.framework/Versions/A/SenTestingKit
  Referenced from: /Users/developer/Library/Application Support/iPhone Simulator/6.0/Applications/6EFF12B6-DA80-4DD8-B3CF-B217C5EA63DF/XxxxXxxx.app/xxxxXxxxXxx
  Reason: image not found
Run Code Online (Sandbox Code Playgroud)

仍然它运行并在iOS 5设备中完美运行,我试图在iphone Simulator iOS 6.0它运行这个应用程序抛出错误...任何机构有任何想法...提前谢谢...

小智 20

在此输入图像描述

它的工作....将SentestingKit.framework设置为可选

  • 由于"松散链接的框架",这使我的应用程序在MAS中被拒绝 (3认同)

Mat*_*hew 5

@fry从这里复制了他的答案:

http://www.cocoabuilder.com/archive/xcode/260066-sentesttingkit-framework-runtime-failure.html

我发现有更多的信息可以解决这个问题.