|
Β |
(6 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| This page is for setting up Theos on an iOS Device. For other platforms see [[Theos/Setup]].
| | {{soft redirect|https://theos.dev/docs/installation-ios}} |
|
| |
|
| == Requirements ==
| | This article is obsolete and has been replaced by the [https://theos.dev/docs/installation-ios theos.dev website]. |
|
| |
|
| * A jailbroken iOS device with Cydia (or another package manager) installed.
| | If you need historical installation instructions, you can find the last version of this article [https://iphonedev.wiki/index.php?title=Theos/Setup/iOS&oldid=6049 here]. |
| * Knowledge on how to use a command line terminal.
| |
| * Objective C knowledge.
| |
| Β | |
| === Optional Requirements ===
| |
| Β | |
| * OpenSSH installed on your device and a computer that you can SSH into your device with (using MobileTerminal gets tedious pretty quickly).
| |
| Β | |
| == Installing Theos and it's dependencies ==
| |
| Β | |
| # Add the following repositories to your Cydia sources.
| |
| #* http://coolstar.org/publicrepo
| |
| #* http://nix.howett.net/theos
| |
| # Install the following packages in Cydia:
| |
| #* <code>Perl</code>
| |
| #* <code>Theos</code>
| |
| #* <code>iOS Toolchain</code>
| |
| # Check that Theos is installed on your device by running: <pre>echo $THEOS</pre><br />The output should be: <code>/var/theos</code>
| |
| Β | |
| == Setting up the iOS SDK ==
| |
| Β | |
| Navigate to https://sdks.website and check which iOS SDK you wish to download.
| |
| Β | |
| # Create a directory for the SDK to be placed in: <pre>mkdir -p $THEOS/sdks</pre>
| |
| # Download the SDK temporarily and extract to the SDK directory: <pre>curl -ksL "https://sdks.website/dl/iPhoneOSX.Y.sdk.tbz2" | tar -xj -C $THEOS/sdks</pre><br>''X.Y being the version numbers of the SDK, as seen in https://sdks.website/.''
| |
| Β | |
| == Additional Step for 64 bit (ARM64) Devices ==
| |
| Β | |
| With the current version of Theos (0.9.639-1), building on ARM64 will throw an error. The following will solve this issue.
| |
| Β | |
| # Create symlinks to support ARM64: <pre>ln -s $THEOS/makefiles/platform/Darwin-arm.mk $THEOS/makefiles/platform/Darwin-arm64.mk ln -s $THEOS/makefiles/targets/Darwin-arm $THEOS/makefiles/targets/Darwin-arm64</pre>
| |
| Β | |
| == Complete Text Tutorial by iOSChris ==
| |
| Β | |
| If you are having an issues following the tutorial above and need more clarification on the setup process, visit my tutorial located at the following address:
| |
| * http://chrisharrisdev.com/blog/2016/09/22/tutorial-install-theos-on-idevice-for-jailbreak-development/
| |