In view of the current in Baidu can be found on the iOS development of things, I first say why write this blog: development jailbreak iOS can not Mac os!!
I used to want to write some programs for the iphone to play, but the internet always said that need an Apple computer, for this I have installed the Apple system on the PC, or the use of virtual machines, the results extremely uncomfortable and give up. Received Microsoft's message about visual STUDIO2015RC messages, one of which can be developed in C # iOS, so could not help down the installation, the results of the pit dad need to connect a Mac (I want to have a Mac I also use C #?). This road broke after looking at the developer zone in Cydia, to see http://iphonedevwiki.net this site, the jailbreak device development in a very detailed explanation.
What is Theos
Theos is a cross-platform suite of development tools for managing, developing, and deploying IOS software Witho UT the use of Xcode. It is a important tool for people building Extensions (tweaks) for jailbroken IOS; Most extension developers use Theos.
The first is no need for Xcode, the second is for jailbreak iOS development. So you just need to have a jailbreak iOS device (iphone,itouch,ipad) to do it.
Available Operating systems:
- MAC OS (I don't, some can use Xcode directly without tossing it)
- Linux (If you look at a foreign community, many great gods use this and can find more documents)
- IOS (programming directly with your iphone, very geek feeling ah, and because the iphone device kind of these kinds of, easy to build and not error-prone!) )
- Windows (actually used Cygwin to emulate Linux systems, so there are places in the site that omit windows directly, but you can do it all with Linux)
Environment Construction (Installation Theos)
I first succeeded in installing the Theos on the Iphone6 and successfully compiled the packaged application, so it is advisable to use your iphone if the computer half bad.
Can view the original text, very detailed
1. Install the Cygwin and the corresponding development tools
Download Cygwin, click Setup-x86.exe.
Select a
Search Git,ca-certificates,make,python,perl,openssh These, pay attention to skip and then see the version number to indicate that the next step will be installed.
Click Next to complete the installation.
2. Installing Theos
Open Cygwin terminal
Download Theos from GitHub:
Git clone-b Windows http://github.com/coolstar/theos.git && mkdir-p Theos/toolchain/window
git clone-b master https://github.com/coolstar/iostoolchain4win.git Theos/toolchain/windows/iphone
So Theos is ready.
3. Download the Deployment SDK
1. First create a folder to place the SDK.
mkdir theos/SDKs CD Theos/sdks
2. Download the SDK
There are many places on the web where you can download the SDK, and we recommend downloading Xcode from the Apple website and extracting the SDK from it. (requires Apple ID) to download a file in DMG format, which can be opened with Transmac.
To store the SDK path:xcode.dmg/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Export the SDK to IPHONEOS.SDK. Store it under the SDKs file under Theos, (My is E:\cygwin\home\Administrator\theos\sdks), notice to change its file name, or Theos cannot find SDKs, such as my changes To IPHONEOS8.4.SDK
Do not want to go through the Apple website can click this link directly under the SDK. Need to note that if you use the General decompression software decompression may be used in the event of errors, it is recommended to use the tar in the Cygwin to extract
If Cygwin is not installed, click Download Tar to extract the downloaded files to the same directory as the SDK, and then you can use tar directly.
tar xjvf iPhoneOS8. 1. sdk.tbz2
Using Theos 1. Create a project
In Cygwin, enter:
~/theos/bin/nic.pl
According to the guidelines, a project will be created in the current directory
2.make Project
Under your project directory:
Make Package
If there is no error, a. Deb package will be generated under the project directory, then successfully build an environment under Windows to develop Jailbreak iOS!!!
The problem I'm having
There was no error in the front, and there was a problem building project.
LD file inch file /.../theos/lib/libsubstrate.dylib (2 for architecture armxxx: ... LD for Architecture armxxx
Because this library exists, but the version is old.
But after changing the sdks8.4, there are other problems, confined to the length of the later to solve it.
Build Theos: iOS Development on Windows