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
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
Swift: Google Maps Draw Waypoint Polyline
Realm Swift: Always Put Nil Values Last in Sort
Accessing Global Variable in Swift
Why I Can Not Use Equatable Function in My View When the View Can Use It in Swiftui
Writing Data to an Outputstream with Swift 5+
Guard Let Error: Initializer for Conditional Binding Must Have Optional Type Not 'String'
Instance Member Cannot Be Used on Type | Closures
The Right Place to Call .Removeobserver for Nsnotificationcenter = Swift Deinit()
Stack Overflow When Defining Subscript on Ckrecord in Swift
Comparing Two Enum Variables Regardless of Their Associated Values
Display Table View When Searchbar (From Searchcontroller) Begin Edited Swift
Swift. Combine. How to Call a Publisher Block More Than Once When Retry
How to Stop a Dispatchqueue in Swift
Cannot Invoke Initializer for Type 'Sqlite3_Destructor_Type'
Scenekit Shape Between 4 Points
Swift Lazy Stored Property Versus Regular Stored Property When Using Closure