Xcode 5.0.2 dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest

后端 未结 15 762
再見小時候
再見小時候 2020-12-08 19:54

I have problems running a project in Xcode 5.0.2

I get the following error:

dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest
  Ref         


        
相关标签:
15条回答
  • 2020-12-08 20:27

    This is how I solved the problem:

    1. Navigate to the project's "Build Settings"
    2. Search for "Runpath Search Paths"
    3. Enter the following path in the column below the product name: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/
    0 讨论(0)
  • 2020-12-08 20:27

    Go to General > Targets (Left side).

    You might have 2nd item containing the word test/s. Click it.

    In this general settings > Testing > Host application > Select from options (your app name). That's it!

    0 讨论(0)
  • 2020-12-08 20:29

    I solved this problem this way. I have edited scheme, at "Build" tab ticked "Run".

    0 讨论(0)
提交回复
热议问题