Sample Playback for IOS

iOS, iPad, iPhone, tvOS specific usage questions
auztin100
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Apr 2014 18:07

Sample Playback for IOS

Postby auztin100 » 07 Apr 2014 10:41

Hi, I've downloaded and built the VLC for IOS as per https://wiki.videolan.org/VLCKit/

I have run the build scripts with -s and without, and have build the library for both.

I can run the sample playback app fine on IOS simulator, but I can't get it to build for my ipad / iphone.

Here are the errors reported.

ld: warning: directory not found for option '-L/Users/austinharvey/Documents/Development/VLCKit/Examples_iOS/SimplePlayback/../../build/Release-iphonesos'
ld: warning: ignoring file /Users/austinharvey/Documents/Development/VLCKit/build/Release-iphonesimulator/libMobileVLCKit.a, missing required architecture armv7 in file /Users/austinharvey/Documents/Development/VLCKit/build/Release-iphonesimulator/libMobileVLCKit.a (2 slices)
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_VLCMedia", referenced from:
objc-class-ref in VDLViewController.o
"_OBJC_CLASS_$_VLCMediaPlayer", referenced from:
objc-class-ref in VDLViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Any ideas ?

Thanks.
Austin.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Sample Playback for IOS

Postby fkuehne » 07 Apr 2014 13:01

You are trying to link the Simulator binary for a device build. This won't work :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

auztin100
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Apr 2014 18:07

Re: Sample Playback for IOS

Postby auztin100 » 07 Apr 2014 13:17

Thanks for the reply, yes this is what I thought, but I have tried removing the libmobileVLCKit.a and adding it directly from the build Release-iphoneos/ folder but I get the same, and this is the sample files downloaded directly from the git.

Brain hurts !

auztin100
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Apr 2014 18:07

Re: Sample Playback for IOS

Postby auztin100 » 07 Apr 2014 14:49

Xcode 5.1, iOS 7.01

auztin100
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Apr 2014 18:07

Re: Sample Playback for IOS

Postby auztin100 » 07 Apr 2014 18:15

If I set the iOS Deployment Target to be 6.1 the device build works fine, as soon as I set back to 7.0, or 7.1 I get the errors ??

I am setting sdk version in the build script to be 7.1, anything else I am missing ?

Thanks.

auztin100
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Apr 2014 18:07

Re: Sample Playback for IOS

Postby auztin100 » 08 Apr 2014 18:40

Please ignore all of the above - sorted now, although I can report that the search headers in the SamplePlayback applicationed supplied with the Mobile VLC Kit has an error, path is Release-iphonesos/ instead of Release-iphoneos/

Thanks.
Austin.

o2244
New Cone
New Cone
Posts: 3
Joined: 13 May 2014 08:35

Re: Sample Playback for IOS

Postby o2244 » 13 May 2014 08:39

I also having the same problems with the deployment target, how did you resolve this issue?


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 10 guests