编译时MobileVLCKit失败 [英] MobileVLCKit fails while compiling
问题描述
我正在尝试在我的应用程序中使用MobileVLCKit for iOS。我按照@ 构建iOS框架的步骤进行了操作。我在我的Xcode 5中将deploymet目标设置为iOS 7.
I am trying to use MobileVLCKit for iOS in my application. I followed steps given @ Building the Framework for iOS. I have set deploymet target to iOS 7 in my Xcode 5.
我使用了命令 ./ buildMobileVLCKit.sh -f -l </ code>编译shell文件以获得iOS框架。
I used command ./buildMobileVLCKit.sh -f -l
to compile the shell file to get an iOS framework.
我的终端应用程序出现以下错误。
I got following errors on my terminal application.
The following build commands failed:
Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7
Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/libMobileVLCKit.a normal armv7s
CreateUniversalBinary build/Release-iphoneos/libMobileVLCKit.a normal armv7\ armv7s
我尝试了谷歌的所有方法,但它没有用。在尝试了一整天后,我提出了这个问题。如果您以前使用过这个,请提供帮助。
I tried all ways got on google but it didn't work. After trying for whole day I am putting this question. Please help if you have used this before.
推荐答案
删除-l参数。您确实需要编译底层libvlc以实现完整的MobileVLCKit框架。没有libvlc,它只是一堆无用的类。
Drop the -l argument. You really need to compile the underlying libvlc to achieve a full MobileVLCKit framework. Without libvlc, it's just a bunch of useless classes.
或者,考虑获得一个可以在项目中删除的预编译版本: http://nightlies.videolan.org/build/iOS/
Alternatively, consider getting a precompiled version which can be just dropped in your project: http://nightlies.videolan.org/build/iOS/
这篇关于编译时MobileVLCKit失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!