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

  • SEARCH
  • Home
  • 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 7862089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:59:33+00:00 2026-06-02T22:59:33+00:00

I am working on a large scale project on iOS, and I want to

  • 0

I am working on a large scale project on iOS, and I want to separate independent modules into several loadable bundles. However, the official document indicates that loadable bundle is not supported on iOS. Also, I plan to use in-house distribution, so app store approval is not an issue.

Now my question is: I call [_bundle principalClass] in the code to access the entry class of the loadable bundle. It works fine on jailbroken iOS devices. For unjailbroken devices, when I use the debug mode with Xcode, it works fine, too. But when I run it independently, from springboard, it crashes to background.

I really wanna know:

1) Why it is so different for loadable bundle running on jailbroken/unjailbroken device?
2) Major differences between XCode debug mode and normal run mode for application?

Are there any other tricky ways for using dynamic library on unjailbroken iOS devices?

  • 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-06-02T22:59:36+00:00Added an answer on June 2, 2026 at 10:59 pm

    Update: as of iOS 8, released in 2014, iOS has proper support for frameworks, so developers are no longer required to use static libraries.

    Older answer:

    iOS disallows all dynamic loading of executable code that isn’t part of the system; this includes Framework, dylibs, executable memory pages using mmap, etc. Hopefully they will someday allow dynamic bundles, but for the time being you will need to build your modules as static libraries and link against them at build time. There is no known way around this limitation.

    A lot of people have written about how to do this (e.g., http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4/), or you might want to use an existing project as an example. One that I like is the GData objc API, which has targets for both a dynamic framework when built for OS X, and a static library when build for iOS: http://code.google.com/p/gdata-objectivec-client/

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

Sidebar

Related Questions

I am working on a large scale project where a custom (pretty good and
I am working on a large scale Rails project, and the team I am
The project that I'm currently working on, is large scale. I'm using email activation
I have a large scale project I am working on at the moment using
I am working on a large-scale checkout application for a current project. This checkout
I've been working on a rather large scale project which makes use of a
I'm working with csproj files using Powershell to perform large-scale editing of project references.
I am working on a large scale application. I carefully try to handle all
I'm working on a large project (for me) which will have many classes and
I am working on a large C++ solution in Visual Studio 2005. I want

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.