Question

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.

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.

Was it helpful?

Solution

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.

Alternatively, consider getting a precompiled version which can be just dropped in your project: http://nightlies.videolan.org/build/iOS/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top