WIP Kodi Isengard compiling guide iOS 8.3 - iPhone - iPad's - no Jailbreak needed! - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137) +---- Thread: WIP Kodi Isengard compiling guide iOS 8.3 - iPhone - iPad's - no Jailbreak needed! (/showthread.php?tid=229468) |
Kodi Isengard compiling guide iOS 8.3 - iPhone - iPad's - no Jailbreak needed! - wrxtasy - 2015-06-13 Kodi Isengard - iOS 8.3 compiling guide: Quote:iOS SDK 8.3 requires a Mac computer running OS X v10.10 (Yosemite) or later.iOS 8.3 Release Notes: https://developer.apple.com/library/prerelease/ios/releasenotes/General/RN-iOSSDK-8.3/index.html Compiled with v1.6.0_65 of the Java compiler. You must use Xcode 7 beta - its the only way to get Kodi on to iOS - iPhone / iPads's for free without the need to Jailbreak. 1. Download Xcode 6.3.2 AND Xcode7 beta from https://developer.apple.com/xcode/downloads/ Xcode 6.3.2 must be run at least once and the Term and Conditions accepted. This installs the iOS 8.3 SDK. 2. in the OSX Terminal app issue: (and install Xcode Command Line Tools if prompted) Code: gcc 3. Install the Java Compiler, the Pop-up says to download - hit More Info which opens up Safari Code: javac 4. Follow the iOS Kodi building documentation at: https://github.com/xbmc/xbmc/blob/master/docs/README.ios 5. Copy and paste the commands into OSX Terminal (do not copy the first $ symbol) eg paste: cd $HOME 6. When you get to this: ./configure --host=arm-apple-darwin use this instead: Code: ./configure --host=arm-apple-darwin --with-sdk=8.3 7. To speed up the compile process use 4 CPU cores: make -j4 eg: make -j4 -C target/binary-addons 8. Step - 4.1 Using Xcode is where we start following the Xcode Mini Guide below... Xcode 7 beta iOS building Mini Guide ======================= - usb connect iOS device to the Mac (select Trust this computer if needed on the iOS device) - Xcode > Preferences > Accounts > Sign in with Apple ID > close window - File > Open > username > Kodi > Kodi.xcodeproj - Click and approve the code conversion Fix suggestion when asked. - Top Left > Kodi-iOS > iPhone or iPad (do NOT select anything from iOS simulator) - Double click the blue Kodi box from < > Kodi to get to... General: - Identity > Bundle Identifier = org.xbmc - Team = Username (Apple ID / email) - Deployment Target = 8.3 - Devices = iPhone or iPad Build Settings: - Base SDK > Latest iOS (iOS 9.0) - Build Options > Enable Bitcode = No (prevents a whole bunch of build Bitcode warnings) - Code Signing > Code Signing Identity > click triangle > iPhone/Ipad Developer: apple.id (xxxxxxxxxxx) (repeat for all 4) - User Defined > XBMC_Depends =XBMC_DEPENDS_ROOT)/iphoneos8.3_armv7-target HIT PLAY > button to build (top left) Eat an in Anticipation Troubleshooting: Anything that appears in Red in the far Left Warning ∆ feedback window, will need to be clicked and then fixed in the middle Code window. Xcode also helpfully supplies suggestions of what code is needed to fix the issue. 191 minor build warnings were displayed when using this guide. It seems there is a bug if your Apple ID has previously been used as a developer ID https://twitter.com/kaptin/status/608727199965958144 Enjoy ! But there is one more thing..... Updating Kodi Isengard... 1. Xcode > File > Close "Kodi.xcodeproj" 2. In OSX Terminal: Code: git clean -xdf 3. To compile an up to date Isengard version, repeat steps in the Readme.iOS from - 3.2 Install Cross libs and runtime environment.... 4. You will end up with two or more Kodi apps on your device, unfortunately deleting one removes all settings of the other. Trust iOS to be so damn tidy. W. RE: Newbs: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - Ned Scott - 2015-06-13 Nice, thanks for writing this up. I'm sure people will be asking for this in droves soon :) RE: Newbs: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - wrxtasy - 2015-06-13 Apple have finally opened up the iOS platform to developers for free I suspect to swing momentum behind development of Apps for the iWatch. And not before time IMHO. http://9to5mac.com/2015/06/10/xcode-7-allows-anyone-to-download-build-and-sideload-ios-apps-for-free/ Here is some interesting info for iOS 9.0 App development going forward: Thinning / Slicing / Bitcode / On Demend Resources Quote:The App Store and operating system optimize the installation of iOS and watchOS apps by tailoring app delivery to the capabilities of the user’s particular device, with minimal footprint. This optimization, called app thinning, lets you create apps that use the most device features, occupy minimum disk space, and accommodate future updates that can be applied by Apple. Faster downloads and more space for other apps and content provides a better user experience. https://developer.apple.com/library/prerelease/watchos/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html RE: Newbs: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - D-an-W - 2015-06-13 Kodi control via Watch in the future then If I want to use my sources.xml and advanced settings.xml do I add them via iTunes or is that just for adding media? From the README.ios Quote:all Kodi files are then located in the sandboxed "Documents" folder and can be easily accessed via iTunes file sharing. Trying to build Helix by adding the "git checkout Helix" line I get the error below after running the "make -j4" command: Code: touch .installed-iphoneos8.3_armv7-target This is what happens then when trying to run the next line: Code: Dans-Mac-mini:depends Dan$ make -j4 -C target/binary-addons RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - Hanfrey - 2015-06-13 (2015-06-13, 11:58)D-an-W Wrote: Kodi control via Watch in the future then If you do the make without the -j you get a propper error message i noticed. RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - wrxtasy - 2015-06-13 You could try a Code: cd $HOME/Kodi Code: git checkout Helix Make sure you are in the Kodi directory, as this may remove a whole bunch of other User directories otherwise if the git repo is actually your User folder. If you git cloned properly into the Kodi directory in the first place there is nothing to worry about. For a dry run to test - if your feeling unsure: Code: git clean -n RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - Hanfrey - 2015-06-13 Its still not working for me. This is what ive done: Code: 1. Installed the Xcode 7 Beta and the command line tools The Error im getting: Code: Dependencies built successfully. Here is a Pastie of the config.log http://pastie.org/10238664. Any ideas? RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - wrxtasy - 2015-06-13 Remove steps 2 and 3. Just navigate to the directory and git clone directly into that directory: Code: cd /Volumes/SSD/Zwischenspeicher/Xcode Just keep it simple and just follow the Readme.ios and copy and paste everything in the correct order. RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - D-an-W - 2015-06-13 (2015-06-13, 14:41)wrxtasy Wrote: You could try a Thanks for the suggestions but I still can't complete the terminal commands section when trying to build Helix (14.2), it fails again at the same place with the same error. RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - Hanfrey - 2015-06-13 (2015-06-13, 16:14)wrxtasy Wrote: Remove steps 2 and 3. What the $HOME be? if i try to go in there its saying: Code: Marks-MacBook:xcode hanfrey$ cd $HOME Tried know do to an symlink that i can use it. But then i got: Code: checking whether build environment is sane... yes Maybe this is also a problem? Looks false Marks-MacBook:depends hanfrey$ cd $PATH -bash: cd: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin: No such file or directory Or can it be that its finding no ios 8.3 stuff? Code: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/make -C iphoneos8.3_armv7-target I created an project which i said target is 8.3 and let it complie on my iphone, worked. if i compile it in the simulator the ios 9.0 sim is opening. RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - ptaylor - 2015-06-14 I've been trying to get Kodi installed on my iPhone for several hours now. After my initial attempt at following the directions in the Readme, I found this post, upgraded to Xcode 7, wiped out my Kodi source and started from scratch. I've finally gotten back to where I'm trying the install in Xcode and I've got an error... In AddonVersion.h (under Source/xbmc/addons/), it can't find the file boost/operators.hpp. RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - D-an-W - 2015-06-14 If you have followed the rest of the steps in the guide above then this should fix that problem... Code: - User Defined > XBMC_Depends =XBMC_DEPENDS_ROOT)/iphoneos8.3_armv7-target RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - wax000 - 2015-06-14 Could you please include a link to zip file, so we can download your project, I have tried to compile it, but I get too many errors about missing libraries, did you test it in ios9, please let us know, thanks very much mate!! RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - wax000 - 2015-06-14 Hi, could you please post a link to a zip file with the full project, so we can try to compile it ourselves, I have tried to build it, but unfortunately I get too many error about missing libraries, have you tried running it in iOS9, please let us know, thanks very much mate !!! RE: NOOBS: Kodi compiling guide for iOS 8.3 - iPhone / iPad's - no Jailbreak needed! - Hanfrey - 2015-06-14 (2015-06-14, 20:20)wax000 Wrote: Hi, could you please post a link to a zip file with the full project, so we can try to compile it ourselves, I have tried to build it, but unfortunately I get too many error about missing libraries, have you tried running it in iOS9, please let us know, thanks very much mate !!! I want this too please! |