2015-06-13, 10:14
Kodi Isengard - iOS 8.3 compiling guide:
https://developer.apple.com/library/prer...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)
3. Install the Java Compiler, the Pop-up says to download - hit More Info which opens up Safari
4. Follow the iOS Kodi building documentation at:
https://github.com/xbmc/xbmc/blob/master...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:
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:
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.
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/prer...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...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
git pull origin
git --reset head
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.