xcode project conversion to iOSOpenDev

空扰寡人 提交于 2019-12-30 11:05:53

问题


I would like to convert a 'regular' xcode project to deploy using iOSOpenDev. From what I can tell, when a new project is created using the iOSOpenDev templates, it has the following in the build settings:

EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj
HEADER_SEARCH_PATHS = $(iOSOpenDevPath)/include/**
IPHONEOS_DEPLOYMENT_TARGET = 5.0
LIBRARY_SEARCH_PATHS = $(iOSOpenDevPath)/lib/**
SDKROOT = iphoneos
iOSOpenDevInstallOnProfiling = YES
iOSOpenDevPath = /opt/iOSOpenDev

Is it sufficient to add these to another project in order to get the iOSOpenDev install on profiling build to happen, or do I need to set something else up?

I'm not really interested in building a 'jailbroken' specific type of application, but would like to deploy to a jailbroken iphone without having a paid ios developer account.

Note openssh is already installed through cydia (with a non-default passwd) and iosod has been configured with iosod sshkey -h [device-hostname-or-ipaddress]


回答1:


2012-12-14:

I've written a wiki article about this. See https://github.com/kokoabim/iOSOpenDev/wiki/Convert-to-iOSOpenDev-Project.

Previous Answer:

  1. Modify existing target's Xcode build settings with those defined in /opt/iOSOpenDev/templates/Base.xctemplate/TemplateInfo.plist and /opt/iOSOpenDev/templates/Debian Package.xctemplate/TemplateInfo.plist.

  2. Add a run script build phase (must be last in order) to existing target that executes /opt/iOSOpenDev/bin/iosod --xcbp.

  3. Create the Debian package control file under the existing target's folder as (target's directory)/Package/DEBIAN/control.

  4. Perform a Build For Profiling (Cmd-Shift-I).



来源:https://stackoverflow.com/questions/9358317/xcode-project-conversion-to-iosopendev

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!