Search code examples
xcodesvnappceleratortitanium-mobileversions

Xcode build fails under Subversion control (using Versions)


I have this Xcode project that I use for building an App Store app (the code is generated by Titanium Appcelerator). So far it's been working fine.

But when I add my project to subversion (using Versions) and check it out, my build starts failing.

The error message thrown by Xcode is:

[ERROR] While reading /Users/ [some long local path] /._startup.png pngcrush caught libpng error

This looks like an image compression error, but I don't have an image named "._startup.png", I do however have one named "startup.png". So that made me look in the .svn/entries file located next to my image, and that has the string "._startup.png" in it.

My question is; How do I solve this?

I want my project under version control using Versions, but it's apparently conflicting with Xcode's build process.


Solution

  • I "solved" the problem by deleting the png from the project, replacing it by a jpg. Then I committed that, cleaned out the project and made a test build, which worked. Then I added the png to the project again and committed that, cleaned the project and rebuilt. That seems to have worked, I don't really know what the problem with the mentioned SVN file might have been.