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, 09:27 PM   #37 (permalink)
iPhoneAppStudio
Registered Member
 
Join Date: Mar 2009
Posts: 38
iPhoneAppStudio is on a distinguished road
Default

Quote:
Originally Posted by Shmoopi View Post
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!
Thanks for the quick response. Here is the Otool -l command 9 for the release build:

Load command 9
cmd LC_ENCRYPTION_INFO
cmdsize 20
cryptoff 4096
cryptsize 622592
cryptid 0

So the file is not encrypted. The debug build was basically the same. Are only distribution builds encrypted?

btw, when I run in the simulator the program runs all the way through the is_encrypted function and then returns NO at the bottom.
iPhoneAppStudio is offline   Reply With Quote
 

» Advertisements
» Online Users: 473
12 members and 461 guests
Abidullah, AngryOrange, ArthurOff, Arty Tales, bignoggins, David-T, 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:38 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.