Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-10-2010, 05:52 PM   #36 (permalink)
Shmoopi
Shmoopi LLC
 
Shmoopi's Avatar
 
Join Date: Jun 2009
Location: Virginia
Posts: 213
Shmoopi is on a distinguished road
Default

Quote:
Originally Posted by iPhoneAppStudio View Post
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!
Shmoopi is offline   Reply With Quote
 

» Advertisements
» Online Users: 474
11 members and 463 guests
Abidullah, AngryOrange, ArthurOff, Arty Tales, bignoggins, ilmman, kamrul00gg, magdaleneei61, schmallegory, Sloshmonster, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,429
Threads: 94,024
Posts: 402,577
Top Poster: BrianSlick (7,978)
Welcome to our newest member, magdaleneei61
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:36 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.