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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:42:21+00:00 2026-06-14T00:42:21+00:00

I bundle some JSON configuration files with my app. They are included via Xcode

  • 0

I bundle some JSON configuration files with my app.

They are included via Xcode using Folder references (shown as blue folder icons).

Sure enough, the files in those folders can be found within the app under the bundle. Modifying the files (i.e. changing the JSON contents) also works.

However, I’ve added / removed some of the files in those folders, but I’m still seeing the old files, and not the new ones on my test device.

I’ve tried deleting the app, and rebooting the device, but still when I run the app again on the device, I still only see the old bundled files.

The Simulator was persuaded to see the new file set via a Simulator reset – not a good option for a real device. It’s painful enough in development, but not an option for a released app.

I’d appreciate knowing why this is happening, and how to overcome this such that the latest folder contents are synched with the device.

  • 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-14T00:42:22+00:00Added an answer on June 14, 2026 at 12:42 am

    The only way to reliably remove out outdated files from apps built with “folder references” is to do a clean build (where not only the app is deleted and completely re-built, but also the “Derived Data” folder is completely cleaned out).

    AFAIK, there are no rules built into Xcode to remove deleted files from targets built with folder references. I frequently see this when a project I work with puts all of it’s images (or some resources) into a single folder and then subsequent builds keep the old files (with their old filenames) still around, even though they aren’t in the original source code folders.

    This seems like an opportunity for someone to write an Xcode plugin or some tool to validate the contents of a built app/target to make sure the files in there are a 1-to-1 match.

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

Sidebar

Related Questions

I am using settings bundle to insert some items in iPhone's default settings app.
I'd like to bundle some data files with the Netbeans module i'm working on.
I am having some difficulty creating a bundle for my application, and placing files
I'm writing an app that copies some contents of the bundle into the applications
I have created a wildcard App ID and have some questions about bundle ID
I have an app that hits a REST service, gets some json and then
I have an app which reads some data from JSON, and I have 2
I need to include JSON in my android app, I have followed some tutorials
I have written an API Bundle and some implementing services. Now i want to
I'm having some serious trouble properly deploying Web Application Bundle (OSGi-fied WAR) on GlassFish

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.