2

I have a workspace with multiple targets and mixed development with SWIFT and Objective-C. After installing CocoaLumberjack with CocoaPods:

pod 'CocoaLumberjack/Swift'

I can use it my project without any problems. All my targets get compiled except Test target. When I run tests I get "build failed" error within the bridging header file

<CocoaLumberjack/CocoaLumberjack.h> file not found

at:

#import <CocoaLumberjack/CocoaLumberjack.h>

Do you have any ideas how to fix the issue? Thanks!

oguz ismail
  • 1
  • 16
  • 47
  • 69
igoMobile
  • 91
  • 6
  • If you're using Swift, just write `import CocoaLumberjack` at the top of your Swift file. Don't use a bridging header. – JAL May 24 '17 at 15:37
  • thanks for your reply! I get now another error: "framework not found CocoaLumberjack for architecture x86_64". Although CocoaLumberjack is not used in my XCTestCase, I tried to write this import in the XCTestCase class, I get "No such module 'CocoaLumberjack'" error. All other targets can be still compiled without any problems. – igoMobile May 26 '17 at 07:31

0 Answers0