iosxcodeinstruments

Why does Xcode Leak Instrument isn't working properly


I'm trying to check my iOS application on memory leaks using Xcode Instruments but when i'm trying to record and run i'm having this error

Unable to find actual binary to posix_spawn for path: /Users/.../.../.../ios/{project_name}.xcodeproj

What can i do?

I searched for solution but couldn't find anything


Solution

  • Found a solution! When choosing a target it should be your application and not the .xcodeproj file. For example i have application TestApp it should be there as the TestApp and not TestApp.xcodeproj As shown in this image