while i try to run in iOS 6 my code throws Sen test Framework error. why?

我与影子孤独终老i 提交于 2019-12-07 23:59:56

问题


I have a project that is developed in iOS 5.0 and now i need to update my project to iOS 6.0 . While doing this my xcode 4.5 throws the error as below...

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

still it runs and works perfectly in iOS 5 devices and i am trying to run this app in iphone Simulator iOS 6.0 it throws that error... Any body have any idea about this... Thanks in advance...


回答1:


Try to delete the derived Data, then clean the project and restart Xcode. If its still not working, check the Target dependencies of your library.

It seams like it has Problems with the armv7s Architecture, check that in the Buildsettings of your Framework!




回答2:


its working....set SentestingKit.framework as optional




回答3:


@fry copied his answer from here:

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

There's more information there which I found useful in solving this problem.



来源:https://stackoverflow.com/questions/13010038/while-i-try-to-run-in-ios-6-my-code-throws-sen-test-framework-error-why

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!