Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6208239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:46:29+00:00 2026-05-24T05:46:29+00:00

Has anyone had any success in finding a reliable, generalised solution for managing dependencies

  • 0

Has anyone had any success in finding a reliable, generalised solution for managing dependencies for iPhone projects? I’m looking to split my iPhone applications up into reusable components and then pull them into projects that require them. I guess I’m looking for a Maven-esque workflow but for Xcode/iPhone projects. I’ve tried a number of things so far such as:

  1. I’ve created a Maven plugin for iPhone applications which automates the building and signing of the applications but I constantly feel like I’m fighting against Maven to get this to work and it is altogether pretty messy. I’d rather not use this unless there are no other options.

  2. I have also tried using static libraries to package the code up to re use but the problem with this is that I’d also like to include reusable XIBs and images in my projects and these cannot be included in the static library for redistribution. They are great for code but I’d like to have one system that does everything rather than different dependency management systems for different types of dependency.

  3. At the moment I’ve settled on using the version control system to do my dependencies for me. In this case I’m using SVN externals to load the dependencies into the workspace when I checkout the project.

Does anyone have any ideas as to what I could do?

Update

I’m now using CocoaPods to perform this task.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:46:30+00:00Added an answer on May 24, 2026 at 5:46 am

    The way I’ve done it in the past is as follows:

    • Static Library for shared code
    • Bundle for Images / Data Files / Etc (Non Code)

    By doing this, you only ever have to worry about updating the project that manages your static library / bundle and not the applications that use them.

    The key thing to creating a bundle, is that Bundles are not listed under iOS when adding a new target to a project. Instead they are listed under Mac OS X. Don’t worry, it works great.

    Once you’ve created your Bundle and Static Library targets, you’ll need to get those into your application:

    • Add the Static Library under Link Binary With Libraries (Xcode 4)
    • Add the Bundle under Copy Bundle Resources (Xcode 4)

    The final thing to keep in mind is that when you want to load resources from the newly created bundle you need to do something like the following if you were going to load an image:

    UIImage *myImage = [UIImage imageNamed:@”YourBundle.bundle/MyImage.png”];

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone had any success running two different web servers -- such as Apache
Has anyone ever tried, or had any success at getting Wascana (Eclipse CDT +
Has anyone had any luck running two instances of the iPhone simulator to test
Has anyone had any experience targetting WSH in the way that VBScript , JScript
Has anyone had any experience in building a 'real world' application with the Smart
Has anyone had any experience scaling out SQL Server in a multi reader single
Has anyone had any luck with querying/changing SPNs on a Windows domain? Most of
Has anyone had any luck of using Oracle from .Net on a 64 bit
Being relatively new to the .net game, I was wondering, has anyone had any
Has anyone else had any problems using google's Domain Tracking API, I am specifically

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.