3
ld: framework not found QorumLogs for architecture x86_64  
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm getting this in my test files which used to work for months now. This is my header in the file:

import XCTest
import QorumLogs
@testable import MyAppName

The only thing I've changed recently is, update cocoapods, (QorumLogs is a pod), then installed Smooch.io pod, then for the first time added objective-c bridging header, created some Obj-C files and imported smooch.io framework.

Using Xcode 7.3, what can be the problem?

3
  • Did you ever find a solution to this, please? I have the same problem now (albeit with a different pod). Commented Jan 16, 2017 at 12:52
  • I did. Then this happened again and I forgot how :/ I'll post here when I figure it out again
    – Esqarrouth
    Commented Jan 16, 2017 at 14:41
  • Added an answer
    – Esqarrouth
    Commented Jan 17, 2017 at 20:25

1 Answer 1

12

In your podfile, you should include the framework thats causing problems inside the AppTests as well.

target 'MyApp' do
  pod 'FBSDKCoreKit'
end

target 'MyAppTests' do

 pod 'FBSDKCoreKit'
end

After this:

  • Clean
  • Delete Derived Data
1
  • Thanks. In my case I'd missed the UI tests. My unit tests already had the correct settings. Commented Jan 17, 2017 at 20:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.