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

Can't use @import Cocoalumberjack #537

Closed
dnkoutso opened this issue Jun 22, 2015 · 3 comments
Closed

Can't use @import Cocoalumberjack #537

dnkoutso opened this issue Jun 22, 2015 · 3 comments
Labels

Comments

@dnkoutso
Copy link

The published podspec includes the s.module_map file but in a sample app I am using

@import Cocoalumberjack

And receiving an error "Module Cocoalumberjack not found".

Pod::Spec.new do |s|
  s.name         = "CocoaPodsLocalLibrary"
  s.version      = "1.0.0"
  s.summary      = "Sample"
  s.homepage     = "REDACTED"
  s.author       = { "REDACTED" => "redacted@redacted.com" }
  s.source       = { :git => "redacted.git", :tag => "podify/#{ s.version.to_s }", :submodules => true }

  s.platform = :ios
  s.ios.deployment_target = "8.0"

  s.dependency 'CocoaLumberjack', '~> 2.0.0'

  s.source_files = "CocoaPodsLocalLibrary/*.{h,m}"
end

screen shot 2015-06-22 at 3 59 21 pm

By the way I am trying to consume it in a library project (another .podspec) not in an app.

Am I doing something wrong?

@dnkoutso
Copy link
Author

I am not sure this is a Cocoalumberjack specific issue...could be the way I am consuming or setting up my project.

@rivera-ernesto
Copy link
Member

Duplicate of #405 (comment).

@dnkoutso
Copy link
Author

For anyone who hits this in the future, see my comment in #405.

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

No branches or pull requests

2 participants