"Message from Debugger: Unable to Attach" When Running Tests on Osx App

Message from debugger: unable to attach when running Tests on OSX app

I ended up needing to "repot" my Xcode project using these steps which sorted it out.
https://medium.com/@mobilebloke/xcode-8-going-slow-on-swift-3-have-you-tried-repotting-your-project-88d0066d2445#.idcdv2dd3

I know its not necessarily the fix but after trying:

  • Adding removing certs

  • Recreating profiles

  • Deleting and re-adding targets which didn't work...

    this at least allowed me to continue

Why Xcode can not attach to some programs?

You can debug but you have to set the "Code Signing Inject Base Entitlements" to "Yes" for debugging

Sample Image

And then you have to add a provisioning profile. Go to developer.apple.com then select "Certificates, IDs & Profiles" to create a provisioning profile for the bundle ID you are testing.



Related Topics



Leave a reply



Submit