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

Xcode 7.1 & Cocoapods: Include of non-modular header inside framework module 'Sparkle' #668

Closed
x2on opened this issue Oct 27, 2015 · 2 comments

Comments

@x2on
Copy link
Contributor

x2on commented Oct 27, 2015

Hi,

with Xcode 7.1 and CocoaPods 0.39.0 i get the following error:

Include of non-modular header inside framework module 'Sparkle'

My Podfile:

platform :osx, '10.10'
use_frameworks!

pod 'Sparkle', '1.11.0'
x2on added a commit to Scout24/Sparkle that referenced this issue Oct 27, 2015
This was referenced Oct 27, 2015
@jakepetroules
Copy link
Contributor

Interesting, given most OS X frameworks seem to use the former approach. Well, if the compiler says so...

@x2on
Copy link
Contributor Author

x2on commented Oct 28, 2015

Currently i added the following workaround to my Podfile:

post_install do |installer|
    filename = "Pods/Sparkle/Sparkle.framework/Versions/A/Headers/Sparkle.h"
    outdata = File.read(filename).gsub(/(.*)<Sparkle\/(.*).h>/, '\1"\2.h"')
    File.open(filename, 'w') do |out|
        out << outdata
    end  
end

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