We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在编译iOS项目的时候,项目中使用了一些framework,如JSONKit,iflyMSC等,使用如下方式: #import "JSONKit.h" #import "iflyMSC/IFlySpeechRecognizer.h" 在Xcode中提供了Framework SearchPath,编译没问题。但是用xmake,怎么设置搜索路径呢, 用了add_frameworks("JSonKit")还是不行,一直报这几个文件找不到。请问这个该怎么解决。谢谢。
fatal error: 'JSONKit.h' file not found #import "JSONKit.h"
The text was updated successfully, but these errors were encountered:
@libyyu 你可以尝试先手动加 编译选项:add_mxflags("-F/xxx/frameworkdir") 和 add_ldflags("-F/xxx/frameworkdir") 试试。。。
add_mxflags("-F/xxx/frameworkdir")
add_ldflags("-F/xxx/frameworkdir")
后两天我会增加个 add_frameworkdirs 来支持下。。
add_frameworkdirs
Sorry, something went wrong.
dev分支上 我已经把 add_frameworkdirs("/xxx/frameworkdir", "/tmp/xxx") 接口加上了 你可以试下。。
add_frameworkdirs("/xxx/frameworkdir", "/tmp/xxx")
No branches or pull requests
在编译iOS项目的时候,项目中使用了一些framework,如JSONKit,iflyMSC等,使用如下方式:
#import "JSONKit.h"
#import "iflyMSC/IFlySpeechRecognizer.h"
在Xcode中提供了Framework SearchPath,编译没问题。但是用xmake,怎么设置搜索路径呢,
用了add_frameworks("JSonKit")还是不行,一直报这几个文件找不到。请问这个该怎么解决。谢谢。
fatal error: 'JSONKit.h' file not found #import "JSONKit.h"
The text was updated successfully, but these errors were encountered: