git clone --recursive -b v1.1.16 --depth 1 git://git.saurik.com/cydia.git
下了个cydia的源码,按照说明:
0) use a Mac (I’m sorry, I really am)
- install the official Apple iOS SDK
- install Fink (the only sane choice)
- activate Fink (. /sw/bin/init.sh)
- sudo fink install bash ldid sed tar wget xz
- run ./sysroot.sh and wait a bit
- type “make” to compile the executable
最后maked到最后时出错,具体如下:
[link] SDURLCache/SDURLCache.o Menes/invocationWithSelector.o Menes/radixSortWithSelector.o Menes/yieldToSelector.o CyteKit/MFMailComposeViewController-MailToURL.o CyteKit/TabBarController.o CyteKit/TableViewCell.o CyteKit/ViewController.o CyteKit/WebScriptObject-Cyte.o CyteKit/WebView.o CyteKit/WebViewController.o CyteKit/WebViewTableViewCell.o CyteKit/dispatchEvent.o CyteKit/stringWithUTF8Bytes.o Cydia/LoadingView.o Cydia/LoadingViewController.o Cydia/MIMEAddress.o MobileCydia.o Version.o Sources.o lookup3.o
clang: warning: argument unused during compilation: ‘-mllvm -arm-reserve-r9’
ld: file is universal (2 slices) but does not contain a(n) armv6 slice: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/usr/lib/crt1.o file ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/usr/lib/crt1.o’ for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [MobileCydia] Error 1
换了几个SDK版本和试了几个cydia版本都这样,求大神帮忙看看是什么原因