Difference between revisions of "IOSCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
 
(33 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 +
{{lowercase}}
 
== Development environment ==
 
== Development environment ==
  
 
To develop VLC for iOS, you need:
 
To develop VLC for iOS, you need:
* Mac OS X Lion (or later)
+
* OS X 10.10 Yosemite (or later)
* Latest XCode version (4.6.3 so far)
+
* Latest Xcode version (version 6 works so far)
 
* A correct shell (we recommend iTerm2 and zsh)
 
* A correct shell (we recommend iTerm2 and zsh)
 +
* [http://cocoapods.org CocoaPods] (for dependency management)
  
 
== Get the source ==
 
== Get the source ==
  
If you develop VLC for iOS, it is '''highly recommended''' that you use the [[git]] version:
+
We provide source code packages for every release. You can find the latest on our [http://www.videolan.org/vlc/download-ios.html Download VLC for iOS website]. Older releases [http://download.videolan.org/videolan/vlc-iOS/ are also available].
 
 
git clone git://git.videolan.org/vlc-ports/ios.git
 
  
 
== Build it ==
 
== Build it ==
  
You need to build it for the simulator and for the devices.
+
Install the dependencies
 
   
 
   
  sh buildAspenProject.sh -s
+
  pod update
  
 
Wait, and grab a coffee.
 
Wait, and grab a coffee.
  
sh buildAspenProject.sh
+
Open the VLC.xcworkspace and run!
 +
 
 +
== Deploy ==
  
Grab a second coffee. :)
+
Open the .xcworkspace (not .xcodeproj) in Xcode and click on Run.
  
== Deploy ==
+
Buliding release version needs code signing
  
Open the project in Xcode and click on Run.
+
Before running simulator in Xcode, run .sh with -s first;
 +
Before running iphoneos in Xcode, run .sh without -s first.
  
 
== Send patches ==
 
== Send patches ==
 +
You can create patches and send them to our [http://mailman.videolan.org/listinfo/ios mailing list] ios@v.o, or on our [[IRC]].
  
You can create patches and send them to our mailing list, or on our [[IRC]].
+
Please see [[Git#Submitting_patches]] on how to send patches...
  
 
== Notes ==
 
== Notes ==
This howto was writen by [[User:J-b|jb]] ([[User talk:J-b|talk]]).
+
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 ===
 +
The first version of this howto was written by [[User:J-b|jb]] on 18 July 2013.
  
 
=== Previous Version ===
 
=== Previous Version ===
 
The old version of the app can be compiled using this [[MobileVLC|howto]].
 
The old version of the app can be compiled using this [[MobileVLC|howto]].
 +
 +
[[Category:Building]]
 +
[[Category:iOS]]

Latest revision as of 15:38, 3 February 2018

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

Install the dependencies

pod update

Wait, and grab a coffee.

Open the VLC.xcworkspace and run!

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.