我正在尝试在OSx 10.9.4,xCode 5.1.1上安装lightblue(http://lightblue.sourceforge.net/) 但在执行时
sudo python setup.py install
我收到了这个错误:
=== BUILD TARGET LightAquaBlue OF PROJECT LightAquaBlue WITH CONFIGURATION Release ===
Check dependencies
error: There is no SDK with the name or path '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.4u.sdk'
所以OSx中存在的是:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
和
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
谢谢!
答案 0 :(得分:2)
下载the latest version from GitHub。
您需要从
更改line 66os.system("xcodebuild install -arch '$(NATIVE_ARCH_ACTUAL)' -target LightAquaBlue -configuration Release DSTROOT=/ INSTALL_PATH=/Library/Frameworks DEPLOYMENT_LOCATION=YES")
到
os.system("xcodebuild install -arch 'x86_64' -target LightAquaBlue -configuration Release DSTROOT=/ INSTALL_PATH=/Library/Frameworks DEPLOYMENT_LOCATION=YES")
(将$(NATIVE_ARCH_ACTUAL)
更改为x86_64
。)
答案 1 :(得分:1)
我相信你应该按照自述文件中的作者说明进行操作
用于Mac OS X安装的LightAquaBlue框架位于.xcodeproj包中,该包只能由Xcode 2.1及更高版本打开,而Xcode 2.1不能在Mac OS X 10.3上运行。因此,要在Mac OS X 10.3上构建LightBlue,只需自己创建一个.xcode包:
现在转到LightBlue的根目录并运行命令
sudo python setup.py install
您应该看到xcode项目构建的输出。