-
Notifications
You must be signed in to change notification settings - Fork 54
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
MAMapKit.h 一直找不到 #17
Comments
你可以在Framework Search Paths 中尝试加入$(PROJECT_DIR)/../Frameworks 试试,如果不行,重新调整相对路径的层级,也许可行,我是加了一层../就行了 |
真的没人来解决问题么? |
我也出现同样的问题,配置了好多次,按照教程一步步走,最后还是报错!求解决方案! |
我知道怎么解决了,点击你项目里面的 libraries 中 RCTAMap.xcodeproj ,在search path 下 ,Framework Search Paths 中 作者说的 |
选择Libraries中 |
我的解决方法是 项目libraries下的RCTAMap.xcodeproj --> build Settings --> Framework Search Paths 修改$(SRCROOT)/../../../../ios/Frameworks , 根据根目录调整../的个数. 例如我的根目录后面是/react-native-smart-amap/ios/RCTAMap , 所以我只需要一个../ 回到ios目录下找Frameworks , 所以我这种就改成$(SRCROOT)/../Frameworks就ok了. 查看根目录位置只需要将鼠标放在Framework Search Paths后面的值上停一会就会显示全路径 |
他们都没给你说道关键点,你没有把RCTAmap中的Frameworks文件夹拷贝到项目中,所以找不到头文件,已解决。 |
把Frameworks文件夹拷贝到项目中了吗,我已经运行起来了,之前一样的报错。 |
配置都是按照文案来配置的
The text was updated successfully, but these errors were encountered: