Quote:
Originally Posted by iPhoneAppStudio
Thanks for the great information Shmoopi. I am finding that the the encryption check code always returns NO - Not encrypted. This is true whether I run with the simulator or an iPhone. When running on the phone crypt_cmd->cryptid always equals 0. But I am assuming that encryption should be enabled.
Has anyone had success with the encryption check code?
|
That's very strange, if everything is right it should never check for it during a simulator build, which is encrypted anyway, and would find it during anything else. Try running it during a release build after cleaning all targets and see if that works. If it doesn't, take your executable from the build, whether it be debug or release, open up terminal, and type "Otool -l *Drag your executable file here". When you do that, a long line of encryption code from the file will pop up, navigate to command 9 and look for the encryption status, it will be either a 1 or a 0. 1 means that the file is encrypted, 0 means the file is not encrypted. If it shows a 1 then you know their is something with code, if not then report back here and I'll check it and possibly get rid of that method, although I've never had a problem with it. Thanks for the heads up!