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

Installing bypass-ios via cocoa pods with use_frameworks! fails to compile #13

Open
csykes opened this issue Nov 23, 2015 · 5 comments
Open

Comments

@csykes
Copy link

csykes commented Nov 23, 2015

The error when building is: /Users/xxx/Documents/dev/LifehouseIOS/_iOS/Pods/Headers/Private/Bypass/parser.h:31:10: 'soldout/markdown.h' file not found

Turns out the if you remove the use_frameworks! option from the pod file config then you can get it to build. Sadly, if you want to include any pod written in swift then you need to turn on the use_frameworks! option. A bit of a catch 22 I'd say... and its only going to get worse as more pods get converted to swift.

Think it is possible to upgrade the podspec/project or provide hints on a workaround?

@georgbachmann
Copy link

+1 on that!

@iosappdeveloper
Copy link

+1

@georgbachmann
Copy link

Is there still no update on that one? I need to use use_frameworks!... :(

@ezhes
Copy link

ezhes commented Feb 17, 2018

This is an easy fix, if you look at the pod structure. Notice that markdown.h is just plain in there with the rest of the files. Replace #include "soldout/markdown.h" with #include "markdown.h". Build and run. Working in my Swift 4 project.

@ezhes
Copy link

ezhes commented Feb 18, 2018

Uh so my above fix is actually for a different issue (which is also necessary for Cocoapods!) but to get it to build with frameworks you also need to delete Pods/Bypass/Support Files/Bypass-umbrella.h because it totally breaks the build because it exposes the C++ headers where it shouldn't.

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

4 participants