Page 1 of 1

VLC for IOS 2.6.0 Source running issues

Posted: 02 Jul 2015 15:39
by The DON
Dear All,

I was able to successfuly download the Source from the latest git branch 2.6.0 following this guide:
https://wiki.videolan.org/iOSCompile


I'm stuck on one problem now:
When I try to run the project it stops with 12 errors all similar to that one:

-------------------------------

Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GTLCollectionObject", referenced from:
_OBJC_CLASS_$_GTLDriveAppList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveChangeList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveChildList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveCommentList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveCommentReplyList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveFileList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveParentList in GTLDrive_Sources.o
...

-------------------------------

Checking the Project properties --> "Build Phases" --> "Link Binary with Libraries" i realized that the following Library is missing:
libPods-vlc-ios.a

Now my question:
Could it be related to that? I searched google but unfortunately wasn't able to find this single library.
Maybe it should get downloaded automatically during build process but it is missing in the repository?

Any help is much apprecited!!

Thanks and have a very good day,
Don

Re: VLC for IOS 2.6.0 Source running issues

Posted: 02 Jul 2015 17:36
by fkuehne
Looks like you are trying to link a GTL build intended for the simulator for a build for a device. Is that possible?

Re: VLC for IOS 2.6.0 Source running issues

Posted: 06 Jul 2015 13:16
by The DON
Dear Felix,

Thank you so much for replying so quickly. Sorry for my delayed response but I was absent.

Indeed, yes... this is correct... I'm trying to run the sourcecode into a simulator (iphone 6), not to a device (for now.) Just testing for playing a little bit with the source code.
Is running the source code in a simulator not supported?

In case it is:
What shall I do to make it "compatible" for the simulator?

Thanks and have a very good day,
Don

Re: VLC for IOS 2.6.0 Source running issues

Posted: 06 Jul 2015 14:26
by fkuehne
Did you use the "-s" flag for simulator code generation when running the script?

Re: VLC for IOS 2.6.0 Source running issues

Posted: 08 Jul 2015 11:26
by The DON
Dear Felix,

Shame on me!!! :oops:
I did not understand from the Wiki that the it was EITHER the -s command or without.... :oops: :oops: :oops:
I therefore compiled it twice, once with -s and once without which always resulted in the compilation for the arm device itself...

I'm so sorry for that! But thank you so much for your patience and support!!

Other question that you might be able to help, now related to running the code to a real device:
From what I was able to read apple allows now to run a "self made" program to it's own device without having an Apple Developer Program membership.
For some reasons I'm not able to do that because he always says that I don't have an active subscription. In addition I'm not able to say that I don't want to Code Signing. He always wants to do that and enforces me to be member of a "Team". But I cannot remove that...

Is that really mandatory and therefore I cannot override the need to have an Apple Developer Program registration?

Thank you so much!!
Don