编译时MobileVLCKit失败

Yog*_*ogi 10 vlc rtsp libvlc armv7 ios

我想在我的应用程序中使用MobileVLCKit for iOS.我按照@ Building the Framework for iOS给出了步骤.我在我的Xcode 5中将deploymet目标设置为iOS 7.

我使用命令./buildMobileVLCKit.sh -f -l编译shell文件以获得iOS框架.

我的终端应用程序出现以下错误.

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    
Run Code Online (Sandbox Code Playgroud)

我尝试了各种各样的方法谷歌,但它没有奏效.在尝试了一整天后,我提出了这个问题.如果你以前用过这个,请帮忙.

fee*_*epk 19

删除-l参数.您确实需要编译底层libvlc以实现完整的MobileVLCKit框架.没有libvlc,它只是一堆无用的类.

或者,考虑获得一个可以在项目中删除的预编译版本:http://nightlies.videolan.org/build/iOS/

  • 当我为iOS真实设备构建时,我得到相同的错误架构armv7的未定义符号:"_openat",引自:MobileVLCKit中的_vlc_openat(lt4-filesystem.o)在模拟器中它工作正常!!! (2认同)