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 7025079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:55:36+00:00 2026-05-27T23:55:36+00:00

On the face of it, this seems a very simple problem but for some

  • 0

On the face of it, this seems a very simple problem but for some reason I can’t quite get it to work.

I have a magazine-style app that downloads the data for each issue in the form of a zipped bundle.

Once downloaded, and unpacked, the app successfully accesses the various files contained within the bundle as expected. These include JSON, PNG, JPG, video and so on.

However, I also included a XIB file that contains the physical layout of the content in a series of UIViews and it is this file that I cannot use.

The file is present but when I try and load it using:

UIViewController *controller = [[UIViewController alloc] initWithNibName: @"ViewController" bundle: assetBundle];

I get the following error:

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/C6718DB8-0C0F-4D38-84E6-55C145279957/Documents/asset-4.bundle> (not yet loaded)' with name 'ViewController''

Now, is this an iOS imposed limitation on not accessing XIBs from downloaded bundles, or some mistake I’m making in calling up the XIB for use?

I cannot find any explicit prohibition on using fetched bundles in this way however.

  • 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-27T23:55:37+00:00Added an answer on May 27, 2026 at 11:55 pm

    I am unsure if you can ‘legally’ get away with this. But the problem is likely you are suppling a ‘xib’ instead of the compiled version the ‘nib’.

    You can do this manually from the command line by using the provided ibtool program.

    ibtool --errors --warnings --output-format human-readable-text --compile ${OUTPUT_NAME} ${INPUT_NAME}

    You’d then place the compiled .nib file into the bundle and load as you’ve been trying.

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

Sidebar

Related Questions

Right now I'm trying desperately to get @font-face to work in my website. This
I'm pretty certain I'm missing something really obvious here but this seems quite bizarre.
My internal css won't work with the little code I have. This seems like
I know this might seem strange on the face on it but, if I
I didn't face this error before. I have a database db , that contains
i am using php and mail function , but i face this error: Warning:
This isn't the best programming question but lets face it, the server fault guys
I have a very simple set-up. Table Node has a nullable foreign key ObjectId.
any help you can give is very gratefully accepted. I've been looking at this
This is so simple I can't believe I'm having so much trouble with it.

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.