welcome to the new iphone-develoeprs community. Register below to get started.

XDA Users Click Here New Users Click Here
+ Reply to Thread
Results 1 to 2 of 2

Thread: Self signing failed, can't debug on jailbroken phone

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    2

    Exclamation Self signing failed, can't debug on jailbroken phone

    Hi, after following this guide iphonedevwiki.net /index.php/Xcode to "self signing" my apps and be able to debug, I got this error.

    CodeSign /Users/martin/Library/Developer/Xcode/DerivedData/Whereami-cxivusplchgtwdbzvanaxhdxckgq/Build/Products/Debug-iphoneos/Whereami.app
    cd /Users/martin/Desktop/Whereami
    setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /usr/local/bin/ldid3.py --force --sign ce7a9eb2bac7e285e82826a6fb69fd3164c11bfb --resource-rules=/Users/martin/Library/Developer/Xcode/DerivedData/Whereami-cxivusplchgtwdbzvanaxhdxckgq/Build/Products/Debug-iphoneos/Whereami.app/ResourceRules.plist -gta --entitlements /Users/martin/Library/Developer/Xcode/DerivedData/Whereami-cxivusplchgtwdbzvanaxhdxckgq/Build/Intermediates/Whereami.build/Debug-iphoneos/Whereami.build/Whereami.xcent /Users/martin/Library/Developer/Xcode/DerivedData/Whereami-cxivusplchgtwdbzvanaxhdxckgq/Build/Products/Debug-iphoneos/Whereami.app

    minimal/mapping.h(54): _assert(false); errno=2
    terminate called throwing an exceptionTraceback (most recent call last):
    File "/usr/local/bin/ldid3.py", line 24, in <module>
    check_call(['/usr/local/bin/ldid', '-S' + f.name, obj_path])
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 504, in check_call
    subprocess.CalledProcessError: Command '['/usr/local/bin/ldid', '-S/var/folders/6t/hfwbv_l15t13jn6_gz43ysr80000gn/T/tmpvWMyYb', '/Users/martin/Library/Developer/Xcode/DerivedData/Whereami-cxivusplchgtwdbzvanaxhdxckgq/Build/Products/Debug-iphoneos/Whereami.app/Whereami']' returned non-zero exit status -6
    Command /usr/local/bin/ldid3.py failed with exit code 1
    After that, I executed ldid this wayi:
    /usr/local/bin/ldid -S/var/folders/6t/hfwbv_l15t13jn6_gz43ysr80000gn/T/tmpufmZ2Y /Users/martin/Library/Developer/Xcode/DerivedData/Whereami-cxivusplchgtwdbzvanaxhdxckgq/Build/Products/Debug-iphoneos/Whereami.app/Whereami
    and got this:
    minimal/mapping.h(54): _assert(false); errno=2
    terminate called throwing an exceptionAbort trap: 6
    Can anyone help me with this?

    Thanks a lot!

  2. #2
    Junior Member
    Join Date
    Jun 2012
    Posts
    2
    Just found jailcoder, JailCoder , just google it, and now I'm running and debugging projects on my phone

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts