-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find auto-linked framework #114
Comments
@christinasund are you able to share your Podfile (or atleast the important parts, you can redact target names and remove other dependencies). I'd check that Mockingjay is inside the test target itself, for example: source 'https://github.com/CocoaPods/Specs'
use_frameworks!
inhibit_all_warnings!
target 'Palaver' do
pod 'PalaverKit', :git => 'https://github.com/kylef/PalaverKit.git'
pod 'Bugsnag'
pod 'Commander'
target 'PalaverTests' do
inherit! :search_paths
pod 'Mockingjay', '3.0.0-alpha.1'
end
end |
@kylef Yes, no problem. I have added Mockingjay to the test target only
|
This can depend a bit on the configuration of your project, it may be that Perhaps we can confirm that with getting a full list of the targets, for example:
You may need to pass |
I think you might be right, but I do not see this other test target in my Podfile, what do you suggest?
|
I think you could see what it hooked up in the scheme, it might show you which test target is injected into a host app scheme: On the top menu:
In the reverse, you can see which target is put into which host application using the project/target views of Xcode: |
I have successfully installed via Cocoapods, imported the module in my XCTest class, and added methods. When I try and run my tests I see the below error. I have tried to import the project manually with no luck, have the framework in my linked frameworks for the test target. Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: