0

I compiled an app from Xcode, and put the app into the /Applications folder in my iPhone, but when I click the app icon, it unexpectedly quits.

the info in syslog is

exited abnormally with exit status 13

how do I fix this?

My intention is run my app as root. I used this link but syslog still showed "exited abnormally with exit status 13". I think it is a problem with the code signing, but when I chmod 755 myapp, it runs, but only as the normal user.

Nate
  • 31,017
  • 13
  • 83
  • 207
Darth-L
  • 23
  • 5
  • You just copied app bundle to iOs apps directory, no fancy magic to avoid signing and protection techniques ? – A-Live Apr 22 '13 at 07:17
  • Please tell me which one provisioning you r u using either developer or distribution ? – Dharmbir Singh Apr 22 '13 at 07:17
  • Please describe what you did as detailed as possible at the question itself (use edit option) instead of the comments. – A-Live Apr 22 '13 at 09:16
  • @A-Live @ Dharmbir Choudhary I use the Xcode 4.6.1 and I faked Code Sign by adding a certificate -"iPhone Developer"in Keychain Access and moding the info.plist and SDKSetting.plist of Xcode,finally ,I change the value of "Code Signing Identity" into "Don't code sign",so what should I do next?, my intention is run my app as root,I use the http://exilesofthardware.blogspot.com/2013/01/ios-run-application-with-root-privileges.html ,but syslog showed "exited abnormally with exit status 13",I think it is a problem about the code signing ,but when I “chmod 755 myapp”,it works ,but as normal user. – Darth-L Apr 22 '13 at 09:23

1 Answers1

0

try using ldid you can get it from here

Download ldid

use the command as such, MyApp is the name of your own app

ldid -S MyApp
Omar
  • 492
  • 4
  • 10
  • Signs the application in order for it to run and gets rid of the need for an Apple Developer account. – Omar Jan 26 '15 at 00:28