VLCKit podspec - build fails due to missing -llibc++
-
clone vlckit
-
in dropin-player; pod init, and add pod for https://code.videolan.org/videolan/VLCKit/blob/master/MobileVLCKit.podspec
-
pod install
-
open xcworkspace and delete mobilevlckit.a and the entire MobileVlcKit build target (we're using the podspec now).
-
build
I'm using Xcode 7.1
error:
ld: library not found for -llibc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
complete build command:
Ld /Users/rob/Library/Developer/Xcode/DerivedData/Dropin-Player-fvpdfnsqqqqobjblubroswrscuxu/Build/Products/Debug-iphoneos/Dropin-Player.app/Dropin-Player normal armv7
cd /Users/rob/Documents/Development/VLC/VLCKit/Examples_iOS/DropIn-Player
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Users/rob/Library/Developer/Xcode/DerivedData/Dropin-Player-fvpdfnsqqqqobjblubroswrscuxu/Build/Products/Debug-iphoneos -F/Users/rob/Library/Developer/Xcode/DerivedData/Dropin-Player-fvpdfnsqqqqobjblubroswrscuxu/Build/Products/Debug-iphoneos -F/Users/rob/Documents/Development/VLC/VLCKit/Examples_iOS/DropIn-Player/Pods/../../../../../Specs/HSMobileVLCKit/Downloaded/MobileVLCKit-binary -filelist /Users/rob/Library/Developer/Xcode/DerivedData/Dropin-Player-fvpdfnsqqqqobjblubroswrscuxu/Build/Intermediates/Dropin-Player.build/Debug-iphoneos/Dropin-Player.build/Objects-normal/armv7/Dropin-Player.LinkFileList -miphoneos-version-min=7.0 -dead_strip -ObjC -lbz2 -liconv -llibc++ -lxml2 -lz -framework AVFoundation -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreMedia -framework CoreText -framework MobileVLCKit -framework OpenGLES -framework QuartzCore -framework Security -framework VideoToolbox -fobjc-arc -fobjc-link-runtime -framework CoreVideo -framework CoreMedia -weak_framework VideoToolbox -lc++ -framework Security -framework AVFoundation -framework MediaPlayer -framework CoreGraphics -framework QuartzCore -liconv -lbz2 -framework CoreText -framework CFNetwork -framework OpenGLES -framework AudioToolbox -framework UIKit -framework Foundation -lPods-Dropin-Player -Xlinker -dependency_info -Xlinker /Users/rob/Library/Developer/Xcode/DerivedData/Dropin-Player-fvpdfnsqqqqobjblubroswrscuxu/Build/Intermediates/Dropin-Player.build/Debug-iphoneos/Dropin-Player.build/Objects-normal/armv7/Dropin-Player_dependency_info.dat -o /Users/rob/Library/Developer/Xcode/DerivedData/Dropin-Player-fvpdfnsqqqqobjblubroswrscuxu/Build/Products/Debug-iphoneos/Dropin-Player.app/Dropin-Player
ld: library not found for -llibc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
thank you