3

我已将我的 xcode 升级到 4.5,现在我正在为 iOS 构建 VLC,并反驳说找不到 SDK 版本 5.1。我已经在我的 xcode 4.5 中完全安装了所有 sdk

Mac-Muhammad-Umair-Mirza:vlc muhammad.umair$ ./extras/package/ios/build.sh
[info] Building libvlc for the iOS
[info] Using armv7 with SDK version 5.1
usage: dirname path
SDKROOT not specified, assuming /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
*** /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk does not exist, please install required SDK, or set SDKROOT manually. ***

请帮助我找到解决方案。

4

1 回答 1

0

请执行下列操作:

export /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.*.sdk

其中“*.*”是您当前的 SDK(例如 6.1)。

于 2013-01-29T14:55:28.510 回答