Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vrrr

macrumors newbie
Original poster
Nov 7, 2007
9
0
Hi,
I am quite new to ios programming and would like to develop a cydia alternative (basically a limited/custom) version with full source code available for download as per the opensource license. I have installed git and then downloaded the source (git clone git://git.saurik.com/cydia.git). I then installed fink, the related tools (bash, ldid, tar, wget, xz) from the unstable fink branch as per the compiling.txt instructions on cydia and tried to run make.

I got a compilation error saying could not find SDURLCache.h and upon a bit of frustration realised that the SDURLCache folder was empty. It seems as if the git clone process did not download any files to the SDURLCache directory. I managed to find the source files on GitHub so I thought to download the SDURLCache.h and SDURLCache.m source files and put them in the SDURLCache directory. This now compiled without any errors and produced a "MobileCydia" executable file along with some object files (all with a .o extension in an "Objects" folder).

When I downloaded the source for cydia using git, there is a file called MobileCydia.app which seems to be the iphone app with one exception - there is no MobileCydia file in it. I noticed that the "MobileCydia" file was missing from the MobileCydia.app file from git becuase when I used PhoneExplorer to view my iPhone, the MobileCydia file WAS in the Root/Applications/Cydia.app file. It's size is ~361K.

I am assuming that Cydia.app calls the compiled MobileCydia file when run. The purpose of this post is to find out what I have to do next to try and run my customised cydia. Do I inject the compiled MobileCydia file into the MobileCydia.app file included in the git source tree, rename MobileCydia.app to Cydia.app and then simply upload to my phone using iPhoneExplorer (after deleting the old Cydia.app)?

Will this run the customised cydia when I launch the app from the home screen? My heartfelt thanks to the first poster who can assist me with getting my customised cydia to run. I want to get some advice before I screw up Cydia on my phone and would like to know if I am approaching this problem the right way.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.