/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\
******************************本博客关联文章******************************:
3、《手机路径、Windows路径知识及delphiXE跨设备APP自动下载和升级》: https://blog.csdn.net/pulledup/article/details/96837667
5、《delphiXE IOS编程零碎1-沙盒(沙箱)》: https://blog.csdn.net/pulledup/article/details/99730518
6、《将应用程序部署到AppStoreConnect的1024x1024图像问题》: https://blog.csdn.net/pulledup/article/details/107539301
喜欢的话,就在下面点个赞、收藏就好了,方便看下次的分享: