I have a CocoaPod which uses the XCTest framework. To import XCTest
to the pod, I added s.frameworks = 'XCTest'
to the .podspec file.
I am now able to import XCTest to the pod classes but when trying to run the Example project, I am getting the following error:
dyld: Library not loaded: @rpath/XCTest.framework/XCTest
Referenced from: /Developer/CoreSimulator/Devices/DEVICE_UUID/data/Containers/Bundle/Application/ID/TestPod_Example.app/Frameworks/TestPod.framework/TestPod
Reason: image not found