/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration找不到ld: file not found咋解决
一、问题:编译时提示:
[DCC Error] E2597 ld: file not found:
/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration

二、原因:
iOS该版本操作系统sdk的默认的本地缓存路径下:
C:\Users\Administrator\Documents\Embarcadero\Studio\SDKs\iPhoneOS13.6.sdk\System\Library\Frameworks
找不到路径:SystemConfiguration.framework,且其下不存在:文件SystemConfiguration及其头文件Headers路径及所有对应的头文件。
三、解决ld: file not found的通用方法:
1、sdk加入“报错”所需路径:

注意:Indude non-essential framework files :意思是是否包含非必须的框架文件。不要打勾,勾了也不起作用的。
2、注意:一定要重新“”更新本地缓存的路径及其下的文件:
Update Local File Cache

3、结果:
iOS该版本操作系统sdk的默认的本地缓存路径下:
C:\Users\Administrator\Documents\Embarcadero\Studio\SDKs\iPhoneOS13.6.sdk\System\Library\Frameworks
被加入了所需本地缓存的路径及其头文件:



四、附:几个关键路径:
1、 C:\Users\Administrator\AppData\Roaming\Embarcadero\BDS\21.0

2、 C:\Users\Administrator\Documents\Embarcadero\Studio\SDKs\
******************************本博客关联文章******************************:
5、《delphiXE IOS编程零碎1-沙盒(沙箱)》: https://blog.youkuaiyun.com/pulledup/article/details/99730518
喜欢的话,就在下面点个赞、收藏就好了,方便看下次的分享:
1075

被折叠的 条评论
为什么被折叠?



