iOS - Building VLC for iOS - Please install required SDK, or set SDKROOT manually

倾然丶 夕夏残阳落幕 提交于 2019-12-12 14:07:32

问题


I have upgraded my xcode to 4.5, now I am Building VLC for iOS and countered that SDK version 5.1 not found. I have fully installed all the sdk's in my xcode 4.5

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. ***

Please help me out in finding the solution.


回答1:


Do the following:

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

where "*.*" is your current SDK (for instance 6.1).



来源:https://stackoverflow.com/questions/12741716/ios-building-vlc-for-ios-please-install-required-sdk-or-set-sdkroot-manuall

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!