Getting VLC (or even VLCKit) to play nice with XCode

iOS, iPad, iPhone, tvOS specific usage questions
awfulcode
Blank Cone
Blank Cone
Posts: 14
Joined: 01 Oct 2013 18:45

Getting VLC (or even VLCKit) to play nice with XCode

Postby awfulcode » 03 May 2014 04:00

Hi guys,

I'm having a great time relearning how to code with VLC. The only thing that's been really tough is that when I open the project on XCode (5), a lot of the files aren't in the project, or aren't properly linked. Is there any way of getting this whole source tree to connect properly?

I'm working mostly on audiounit_ios.c, and it only shows up on the workspace. Even then it doesn't link to the rest of the project, so XCode doesn't check for errors nor does it allow me to command-click anything. I imagine there must be a better way of doing this. I would love to be able to work on this like a normal project. I'm learning along the way, so it'd be super helpful.

Thanks!

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: Getting VLC (or even VLCKit) to play nice with XCode

Postby dfuhrmann » 03 May 2014 09:19

Hi,
VLC and VLCKit are different things, for VLCKit you should find a proper Xcode project.

But as you want to develop directly on VLC, I need to say that unfortunately there is no proper Xcode project covering all files. The existing project is quite old and from the Xcode 3 days, and only includes the interface files. Its only used to compile the xib files, and auto-completion and such do not work properly.

It does not really make sense to have a Xcode project for _all_ vlc source files since you will hardly ever work on all modules. But you can create your own project with all relevant files for you. For compilation, your need to integrate the make build system. For proper auto-completion, I advise to create a new "Cocoa application project", and also add all interface (or audio output) source files to this target as well.


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

Who is online

Users browsing this forum: No registered users and 13 guests