while i try to run in iOS 6 my code throws Sen tes

2019-05-20 19:11发布

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...

3条回答
放我归山
2楼-- · 2019-05-20 19:22

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!

查看更多
一夜七次
3楼-- · 2019-05-20 19:28

enter image description here

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

查看更多
兄弟一词,经得起流年.
4楼-- · 2019-05-20 19:40

@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.

查看更多
登录 后发表回答