views:

136

answers:

3

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! :)

+7  A: 

The .app bundle is code signed, you can't change its contents afterwards

nduplessis
With NSFileManager I can't do nothing??
Obliviux
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
A: 

Thanks guys! I have understand that is impossible :)

Obliviux
+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