我正在尝试将lightblue (http://lightblue.sourceforge.net/)安装在OSx 10.9.4、xCode 5.1.1上,但在执行时
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谢谢!
发布于 2014-08-20 14:39:35
下载GitHub的最新版本。
您需要将第66项更改为
os.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.)
发布于 2014-10-10 20:31:55
我相信你应该遵守读我文件中作者的指示。
安装Xcode 1.5 /MacOSX10.3
Mac安装的LightAquaBlue框架位于一个只能由Xcode 2.1及更高版本打开的.xcodeproj包中,Xcode 2.1不能在MacOSX10.3上运行。因此,要在MacOSX10.3上构建LightBlue,只需自己创建一个.xcode包:
现在转到LightBlue的根目录并运行以下命令
sudo python setup.py install您应该看到xcode项目构建的输出。
https://stackoverflow.com/questions/25168852
复制相似问题