Skip to content
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

Trying to use it in XCTestCase #16

Open
Osahamed opened this issue Sep 4, 2018 · 1 comment
Open

Trying to use it in XCTestCase #16

Osahamed opened this issue Sep 4, 2018 · 1 comment

Comments

@Osahamed
Copy link

Osahamed commented Sep 4, 2018

Thanks for the Library,
I've installed it using Cocoa Pods
but when I try to use it in the XCTestCase,
import SpeedLog
..
..
SpeedLog.print

I get the following error
No such module 'SpeedLog'

@mariancerny
Copy link

Adding the test target into the Podfile similar to this sample should help you:

target 'MyApp' do
    pod 'SpeedLog'

    target 'MyAppTests' do
        inherit! :search_paths
    end
end

Then run pod install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants