转载Download iOSOpenDev for Mac OS X
http://www.jailbreaktweak.com/develop-jailbreak-tweaks-tool/41/
iOSOpenDev is a develop jailbreak tweaks check tool for iOS developers, it allows users to develop tweaks using Apple’s own Xcode software. If you have a little bit of a background in programming, iOSOpenDevtool is now available for download (you need a Mac computer and running at least Mac OS X 10.6 or later and Xcode 4 or higher).
Prerequisites
* Mac OS X 10.6.x or 10.7.x
* Xcode 4.x
* dpkg — provides dpkg-deb for building Debian packages, install using MacPorts
Release Notes
* 1.0.1 (05-Feb-2012)
* Installer’s “Dependency Tools” option will no longer try to install dpkg (and MacPorts if needed). This was causing too many problems for end-users. The MacPorts and dpkg installations were failing too often.
* Installer’s “Set up latest iOS SDK” option will (intentionally) fail if dpkg-deb is not found.
* Installer’s “Dump SDK Header Files” option is not selected by default. End-users were experiencing high processing time for this option and dumping of header files can be done with the iosod tool anyways.
* Added an “Import Information” message in the installer in hopes it’s actually read!
* Added missing quotes around variables in iosod tool in hopes to resolve an issue when a project has a space in its path.
* “Unsetting” language in all scripts which may be the cause of a possible grep issue.
==================================
Download iOSOpenDev-1.0.1
==================================
How to install iOSOpenDev?
Setup
- Download and install MacPorts
- Install dpkg—In Terminal, run: sudo port -f install dpkg
- Log out and back in (maybe even a reboot)
- Download and install iOSOpenDev
- Add SSH authentication to device—In Terminal, run: iosod sshkey -h hostNameORIPAddressOfDevice
- Edit ~/.bash_profile and add hostname or IP address of device to iOSOpenDevDevice’s export statement
“Build & Deploy” to Device
- Start a new project using an iOSOpenDev template
- Go to TARGETS > Build Setttings, go to bottom to User-Defined settings
- iOSOpenDevDevice: hostname or IP address of device
- iOSOpenDevInstallOnProfiling: YES
- iOSOpenDevRespringOnInstall: YES (if needed, i.e. tweak, AE extension, NC widget, etc)
- Write the code—duh.
- Perform a “Build For Profiling” by pressing Command-Shift-I or Product > Build For > Build For Profiling
- This will build and “sign” the executable, build the Debian package and install the package on the device
Build Package for Release
- Go to Product > Archive (ignore Organizer window that shows)
- Go to the project’s directory and into the Packages directory
What Not To Do
- Perform a Run (Command-R)—this won’t do anything you’re expecting