Kivy在macos上编译错误

时间:2014-04-06 20:29:21

标签: python ios xcode macos kivy

尝试在iOS上编译我的第一个python kivy项目。

http://kivy.org/docs/guide/packaging-ios.html

$ git clone git://github.com/kivy/kivy-ios
$ cd kivy-ios
$ tools/build-all.sh

如果我尝试构建,终端工作了一段时间,最后我得到了这个错误:

....
['/Users/xxx/kivy-ios/tools/liblink', '-arch', 'armv7', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk', '-miphoneos-version-min=7.1', '-arch', 'armv7', '-pipe', '-no-cpp-precomp', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk', '-miphoneos-version-min=7.1', '-O3', '-Qunused-arguments', 'build/temp.macosx-10.9-armv7-2.7/ios.o', 'build/temp.macosx-10.9-armv7-2.7/ios_mail.o', 'build/temp.macosx-10.9-armv7-2.7/ios_browser.o', '-o', 'build/lib.macosx-10.9-armv7-2.7/ios.so']
Unknown option:  -Qunused-arguments
error: command '/Users/fribu/kivy-ios/tools/liblink' failed with exit status 1

任何想法?

1 个答案:

答案 0 :(得分:2)

快速搜索表明它是一个旗帜,clang不知道,我不太了解kivy-ios,但是这个补丁https://github.com/JanX2/Etoile/commit/e7b2a3484726d3c3e8b0c0a1cb879021e851a911应该能帮助你解决这个问题