xcode - iPhone Project Dependency Management -
xcode - iPhone Project Dependency Management -
has had success in finding reliable, generalised solution managing dependencies iphone projects? i'm looking split iphone applications reusable components , pull them projects require them. guess i'm looking maven-esque workflow xcode/iphone projects. i've tried number of things far such as:
i've created maven plugin iphone applications automates building , signing of applications sense i'm fighting against maven work , altogether pretty messy. i'd rather not utilize unless there no other options.
i have tried using static libraries bundle code re utilize problem i'd include reusable xibs , images in projects , these cannot included in static library redistribution. great code i'd have 1 scheme rather different dependency management systems different types of dependency.
at moment i've settled on using version command scheme dependencies me. in case i'm using svn externals load dependencies workspace when checkout project.
does have ideas do?
update
i'm using cocoapods perform task.
the way i've done in past follows:
static library shared code bundle images / info files / etc (non code)by doing this, ever have worry updating project manages static library / bundle , not applications utilize them.
the key thing creating bundle, bundles not listed under ios when adding new target project. instead listed under mac os x. don't worry, works great.
once you've created bundle , static library targets, you'll need application:
add static library under link binary libraries (xcode 4) add bundle under re-create bundle resources (xcode 4)the final thing maintain in mind when want load resources newly created bundle need next if going load image:
uiimage *myimage = [uiimage imagenamed:@"yourbundle.bundle/myimage.png"];
iphone xcode build-process dependency-management
Comments
Post a Comment