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

MAMapKit.h 一直找不到 #17

Open
atlas1119 opened this issue May 4, 2017 · 9 comments
Open

MAMapKit.h 一直找不到 #17

atlas1119 opened this issue May 4, 2017 · 9 comments

Comments

@atlas1119
Copy link

image
配置都是按照文案来配置的

@0xDing
Copy link

0xDing commented May 16, 2017

https://github.com/borisding1994/react-native-smart-amap

@yinshuxun
Copy link

你可以在Framework Search Paths 中尝试加入$(PROJECT_DIR)/../Frameworks 试试,如果不行,重新调整相对路径的层级,也许可行,我是加了一层../就行了

@wangxiongxp
Copy link

真的没人来解决问题么?

@ZhouXiongXiong
Copy link

我也出现同样的问题,配置了好多次,按照教程一步步走,最后还是报错!求解决方案!

@sharingjingang050241
Copy link

我知道怎么解决了,点击你项目里面的 libraries 中 RCTAMap.xcodeproj ,在search path 下 ,Framework Search Paths 中 作者说的 $(SRCROOT)/../../../../ios/Frameworks 改成 $(SRCROOT)/../../../../ios 就好了

@duzliang
Copy link

duzliang commented Feb 9, 2018

选择Libraries中RCTAMap.xcodeprojTARGET -> Build Settings ,修改Framework Search Paths$(SRCROOT)/../../../ios/Frameworks$(SRCROOT)/../../../../ios/Frameworks;
同时修改RCTAMapLocation.codeproj下的Framework Search Paths的该值

@cukiy
Copy link

cukiy commented Oct 11, 2018

我的解决方法是 项目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后面的值上停一会就会显示全路径

@runningcapao
Copy link

他们都没给你说道关键点,你没有把RCTAmap中的Frameworks文件夹拷贝到项目中,所以找不到头文件,已解决。

@runningcapao
Copy link

真的没人来解决问题么?

把Frameworks文件夹拷贝到项目中了吗,我已经运行起来了,之前一样的报错。

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

9 participants