Difference between revisions of "IOSCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 46: Line 46:
  
 
== Notes ==
 
== Notes ==
If everything goes well, congratulations to Lucky You! If not, please report any problem to our [http://mailman.videolan.org/listinfo/ios mailing list] ios@v.o, or on our [[IRC]].  
+
If everything goes well, congratulations to Lucky You! If not, please report any problem to our [http://mailman.videolan.org/listinfo/ios mailing list] ios@v.o, on our [[IRC]] or join us on the [http://forum.videolan.org forum].
  
 
=== History ===
 
=== History ===

Revision as of 07:30, 27 July 2015

Development environment

To develop VLC for iOS, you need:

  • OS X 10.10 Yosemite (or later)
  • Latest Xcode version (version 6 works so far)
  • A correct shell (we recommend iTerm2 and zsh)
  • CocoaPods (for dependency management)

Get the source

We provide source code packages for every release. You can find the latest on our Download VLC for iOS website. Older releases are also available.

Build it

Build it for the simulator.

sh compileVLCforiOS.sh -s

Wait, and grab a coffee.


Manually assign the code sign in Xcode, and build it for devices.

sh compileVLCforiOS.sh

Grab a second coffee. :)

Have a look at the output provided by -h to see further options which can be useful to speed-up partial recompilations.

If you encounter an issue, join us on the forum.

Deploy

Open the .xcworkspace (not .xcodeproj) in Xcode and click on Run.

Buliding release version needs code signing

Before running simulator in Xcode, run .sh with -s first; Before running iphoneos in Xcode, run .sh without -s first.

Send patches

You can create patches and send them to our mailing list ios@v.o, or on our IRC.

Please see Git#Submitting_patches on how to send patches...

Notes

If everything goes well, congratulations to Lucky You! If not, please report any problem to our mailing list ios@v.o, on our IRC or join us on the forum.

History

The first version of this howto was written by jb on 18 July 2013.

Previous Version

The old version of the app can be compiled using this howto.