Skip to content

ldid signing on Xcode 11.4.1 for debugger doesn't work #4

@michaeleisel

Description

@michaeleisel

When I sign with ldid -S<entitlements> <binary>, on Xcode 11.4.1 for an iOS 13.4.1 simulator, using the latest (and only?) release, and where the binary was signed with codesign beforehand, it doesn't work. I get a crash as such:

#0	0x00000001104c5622 in ImageLoaderMachOCompressed::rebase(ImageLoader::LinkContext const&, unsigned long) ()
#1	0x00000001104bd7ba in ImageLoader::recursiveRebase(ImageLoader::LinkContext const&) ()
#2	0x00000001104bc39d in ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, bool, ImageLoader::RPathChain const&, char const*) ()
#3	0x00000001104b3df3 in dyld::link(ImageLoader*, bool, bool, ImageLoader::RPathChain const&, unsigned int) ()
#4	0x00000001104b4f48 in dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) ()
#5	0x00000001104b01cd in start_sim ()
#6	0x0000000113cb479a in dyld::useSimulatorDyld(int, macho_header const*, char const*, int, char const**, char const**, char const**, unsigned long*, unsigned long*) ()
#7	0x0000000113cb2432 in dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) ()
#8	0x0000000113cad227 in dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) ()
#9	0x0000000113cad025 in _dyld_start ()

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions