2016.8.18编辑:有网友制作了含有private framework的9.3 SDK,用法见原帖
2016.5.13编辑:Xcode 7.3.1并未修复这个问题,是我自己的失误造成了误解。谢谢!
2016.5.12编辑:Xcode 7.3.1貌似修复了这个问题。请大家确认后跟帖,供后来人参考,谢谢!
报错具体信息为:
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks'
ld: framework not found XXX
暂行解决方案
从这里 下载iOS 9.2 SDK,解压后放到
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
下,然后在Makefile中指定TARGET为iOS 9.2:
export TARGET = iphone:clang:9.2:5.0
即可。
参考:
已打开 10:45PM - 22 Mar 16 UTC
已关闭 06:18AM - 22 Mar 17 UTC
Component: Makefiles
Platform:OSX
Hi,
i have just updated to the latest Xcode and iOS SDK9.3 and i get the follow… ing error when trying to make:
`ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks'`
`ld: framework not found Preferences`
I checked under the location where the PrivateFrameworks is always located and it is not there anymore.
Did the PrivateFrameworks directory move or got deleted in the newest SDK?
4 个赞
answer
(answer)
2016 年8 月 17 日 09:29
5
之前那个 SDK 下载地址已经挂了,这个是新的: https://sdks.website/
1 个赞
ZengSir
(Zeng Sir)
2016 年11 月 22 日 04:53
7
现在Xcode8了, iOS latest SDK 为10.0 有对应的SDK文件吗?
zp2521
(zp2521)
2019 年4 月 24 日 02:48
8
snakeninny:
下载iOS 9.2 SDK
iOS 9.2 SDK 下载地址失效了,有最新的地址?