Theos/Setup/iOS: Difference between revisions

From iPhone Development Wiki
(πŸͺ¦)
Tag: Replaced
Β 
(17 intermediate revisions by 10 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].


=== Mandatory Requirements ===
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].
Β 
* A jailbroken iOS device with Cydia (or another package manager) installed.
Β 
=== Optional Requirements ===
Β 
* Knowledge on how to use a command line terminal.
* Objective C knowledge.
* 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 Dependancies ==
Β 
# Install <code>iOS Toolchain</code> with Cydia.
# 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>
# Check that Theos is installed on your device by running: <pre>$THEOS</pre><br />The output should be: <code>/var/theos: is a directory</code>
Β 
== Retrieving an iOS SDK ==
Β 
For this, you can download the SDK directly on your device or download the SDK using a web browser on a computer and transferring it to your device with SSH.
Β 
=== On the Device ===
Β 
# Install <code>wget</code> with Cydia.
# Select a directory to download the SDK. <code>/var/mobile/Documents</code> is a good choice: <pre>cd /var/mobile/Documents</pre>
# Now download an SDK using <code>wget</code>: <pre>wget http://iphone.howett.net/sdks/dl/iPhoneOS8.1.sdk.tbz2</pre>
Β 
=== Using a Computer ===
Β 
# With a web browser, navigate to http://iphone.howett.net/sdks.
# Download the latest iOS SDK available (currently 8.1).
# Using SSH, transfer the file to your iOS device.
Β 
== Setting up the iOS SDK ==
Β 
# Create a directory for the SDK to be placed in: <pre>mkdir $THEOS/sdks</pre>
# Move the SDK to the directory we just created: <pre>mv /var/mobile/Documents/iPhoneOS8.1.sdk.tbz2 $THEOS/sdks/</pre>
# Extract the SDK from the tar archive: <pre>tar xjvf iPhoneOS8.1.sdk.tbz2</pre>
# Delete the archive file as we don't need it anymore: <pre>rm iPhoneOS8.1.sdk.tbz2</pre>
Β 
== 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&#10;ln -s $THEOS/makefiles/targets/Darwin-arm $THEOS/makefiles/targets/Darwin-arm64</pre>

Latest revision as of 07:36, 4 September 2023

Error creating thumbnail: File missing

https://theos.dev/docs/installation-ios

This article is obsolete and has been replaced by the theos.dev website.

If you need historical installation instructions, you can find the last version of this article here.