Card.io error when running simulator

We’re running into an issue similar to this in our CircleCI builds:

We are getting the following errors when it tries to spin up the simulator for the tests:

[17:05:33]: ▸ ❌ ld: library not found for -lopencv_imgproc
[17:05:33]: ▸ ❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)
[17:05:34]: ▸ 2017-01-24 17:05:34.001 xcodebuild[1144:7997] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/distiller/Library/Developer/Xcode/DerivedData/Omni-grwbzxtdbfaslaafenclhgwkwtho/Logs/Test/9F99469A-7B6E-4068-A7ED-101D3A3033D1/Session-UITests-2017-01-24_170532-q2jweG.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/distiller/Library/Developer/Xcode/DerivedData/Omni-grwbzxtdbfaslaafenclhgwkwtho/Logs/Test/9F99469A-7B6E-4068-A7ED-101D3A3033D1/Session-UITests-2017-01-24_170532-q2jweG.log}
[17:05:34]: ▸ Testing failed:
[17:05:34]: ▸ Linker command failed with exit code 1 (use -v to see invocation)
[17:05:34]: ▸ ** TEST FAILED **
[17:05:34]: ▸ The following build commands failed:
[17:05:34]: ▸ Ld /Users/distiller/Library/Developer/Xcode/DerivedData/Omni-grwbzxtdbfaslaafenclhgwkwtho/Build/Products/Debug-iphonesimulator/Omni\ 2.app/Omni\ 2 normal x86_64
[17:05:34]: ▸ (1 failure)

We have tried implementing the fixes described in the GitHub issue solution that seemed to work for others but we continue getting these errors.

Any advice about how to approach next would be much appreciated.

To note: we are able to build locally fine. Can run on our simulators locally without issue.

1 Like

getting same error :

:x: ld: library not found for -lCommercialBreakSDKWAdColony

:x: clang: error: linker command failed with exit code 1 (use -v to see invocation)