Xcode 3 - Xcode 4 Migrating Snapshots

Hey wanted to ask, someone was already trying to update the recently released Xcode 4.
My problem is that all the snapshots I took with Xcode 3 (.2.5) are no longer available in Xcode 4.
I would just copy .sparseimage , but Xcode 4 uses a new way to save snapshots (each one individually).

The same goes for color theme migration, but the snapshot function is more important.

// EDIT: I completely forgot to mention that even all my archives were lost.

+4
source share
1 answer

one option found:

  • backup your current projects
  • open SnapshotRepository.sparseimage from a previous version of Xcode
  • there are subfolders for each project that opens one of them
  • copy content from one subfolder (inside the project snapshot folder) to its original position (for example, /myDevDir/projectYouWantToSnapshot/ )
  • open this project with Xcode 4 and take a picture
  • optional to take snapshot name from SnapshotArchive.plist (in .sparseimage )
  • quit Xcode 4
  • delete all files in the project source folder (for example, /myDevDir/projectYouWantToSnapshot/ )
  • repeat steps (4.) to (8.) until all pictures are versioned

The only drawback that I see (other than manual work) is that the snapshot date is set incorrectly. It is best to save the date (subfolder name) as a description or name.

+2
source

Source: https://habr.com/ru/post/1343135/


All Articles