ios8xcode6dyld

"dyld: could not load inserted library '/usr/lib/libgmalloc.dylib' because image not found"


When I run the app in Xcode IOS 6 beta 2 firmware on the device 8 Beta 2, I get the error message: "dyld: could not load inserted library '/ USR / Library / libgmalloc.dylib", because the image was not found. "

What could be the problem?


Solution

  • This is because Xcode mount wrong DeveloperImage. If you open the Settings-> Developer you will see that the "Enable UIAutomation» and others are missing.

    For fix:

    1. move all folders from "/Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport" except "8.0 (12A4297e)" to safe place
    2. reboot the phone
    3. connect your phone to xCode 6 beta 2
    4. restore folders in DeviceSupport

    This is the only thing that helped me. Even re-flashing on ios8 beta2 does not helps.