xcode cache not being properly destroyed

XMLWordPrintable

    • Severity 3 - Minor

      We are using bamboo for building our iOS app for an enterprise deployment. Generally it works great; and we have the "perform a clean build" checkmark checked as part of our plan.

      However, there is a coredata persistentStore file that is not being removed from the cache — NOTE: this is almost certainly a limitation of the xcode clean process because similar problems exists using xcode unless the developer does a "simulator reset" or "deletes the app from the device" — i.e. CoreData persistenStore files are not deleted as part of the standard xcode "clean this build".

      This creates a giant problem for us because we are getting stale persistentStore files in all of our builds and cannot seem to find a way to reset the cache and generate a clean build. I've verified that the up-to-date/correct file is in the git repot and verified that the old/out-of-date file is being included in our apps (downloaded/unzipped the .ipa file).

      I'm looking for a short-term/immediate solution as well as a longer term solution — i.e. how can I immediately destroy the build cache and force a truly from-scratch clean build; and how can we prevent this from happening in the future via a checkbox etc.?

      For us, this is currently a pretty major blocking bug because we cannot ship a new build to our enterprise users.

              Assignee:
              Unassigned
              Reporter:
              Reid van Melle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: