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

'CLucene/analysis/AnalysisHeader.h' file not found - Swift Project #17

Closed
AJ9UNiDAYS opened this issue Mar 29, 2016 · 1 comment
Closed

Comments

@AJ9UNiDAYS
Copy link

Tried using BRFullTextSearch in a simple sample Swift project and got the following error:

:1:9: note: in file included from :1:

import "Headers/BRFullTextSearch-umbrella.h"

    ^

/Users/adamgask/Library/Developer/Xcode/DerivedData/BRFullTextSearchTest-dishthlubmfdgmescfmvlyszdwot/Build/Products/Debug-iphonesimulator/BRFullTextSearch.framework/Headers/BRFullTextSearch-umbrella.h:16:9: note: in file included from /Users/adamgask/Library/Developer/Xcode/DerivedData/BRFullTextSearchTest-dishthlubmfdgmescfmvlyszdwot/Build/Products/Debug-iphonesimulator/BRFullTextSearch.framework/Headers/BRFullTextSearch-umbrella.h:16:

import "CJKAnalyzer.h"

    ^

/Users/adamgask/Library/Developer/Xcode/DerivedData/BRFullTextSearchTest-dishthlubmfdgmescfmvlyszdwot/Build/Products/Debug-iphonesimulator/BRFullTextSearch.framework/Headers/CJKAnalyzer.h:10:10: error: 'CLucene/analysis/AnalysisHeader.h' file not found

include "CLucene/analysis/AnalysisHeader.h"

     ^

/Users/adamgask/Downloads/BRFullTextSearchTest/BRFullTextSearchTest/ViewController.swift:10:8: error: could not build Objective-C module 'BRFullTextSearch'
import BRFullTextSearch
^

BRFullTextSearch

Seems like there is a public header file issue, which does get resolved if I comment out use_frameworks! of my Podfile, but this means I can't use it within my current Swift application.

Is it possible to use BRFullTextSearch in Swift?

Sample repo can be found here.
Simply run Pod install and open & build the workspace.

@AJ9UNiDAYS
Copy link
Author

Closing after seeing:

Note: the use_frameworks! option is not supported, see #4. Any pull requests to allow for building as a dynamic framework are very welcome!

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

1 participant