Hi guys! I have created a script that save some files in the Documents directory of my app! Now I need to copy these files in my "application.app" directory... How I can do this?? Thanks to everyone that can help me! :)
views:
136answers:
3
+7
A:
The .app bundle is code signed, you can't change its contents afterwards
nduplessis
2009-10-26 20:47:17
With NSFileManager I can't do nothing??
Obliviux
2009-10-26 20:55:22
Its pretty straightforward to move a file from the documents directory to the application directory. However once you do this you effectively BREAK the digital signature which will prevent the application from ever running again.The purpose of the digital signature is to verify that the .app bundle has not been tampered with.
Lounges
2009-10-26 21:36:40
+1
A:
Why did you want to do this? If you explain what you are trying to do we might be able to suggest alternatives.
Kendall Helmstetter Gelner
2009-10-27 02:26:37