I wanted to delete one folder from the image collection, but somehow I managed to throw the whole xcassets file into the trash.
The usual “Return” method is not available, and simply dragging and dropping a remote folder into Xcode will result in an error:
Images.xcassets could not be copied to ProjectPear because an item with the same name already exists.
To save the file, either specify a different name, or move or delete the existing file and try again.
I am not sure where this collection is located in my Xcode project, since the navigator does not show anything, and the command line also does not skip any hints. I'm afraid to mess with the project.pbxproj file, as it can get a lot more confusing than just my image collection.
Edit: Dragging files back to the Finder from the trash was successful, but the Xcode browser no longer recognizes - or in this case still does not recognize - the .xcassets file. I am not sure whether to add anything to the .pbxproj file.
ios xcode xcasset
Aeveus Dec 07 '13 at 15:53 2013-12-07 15:53
source share