I am working on an iOS app for my office. If I disable the Debug executable
option from Edit Scheme
the app runs on the device perfectly. But In that mode, no breakpoints work for debugging. But If I enable the Debug executable
the app shows the above error. All I want is to run the app and also debug it at the same time. Does anyone have any idea? I saw a lot of posts related to this error and the uncheck of Debug executable
worked but I need the breakpoints thing. Thanks in advance
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
I was using an Adhoc profile instead of a Development profile. Creating a development profile and using it fixed my problem.
Try this approach from Apple’s forum:
By the way, there’s a temporary workaround could be helpful (also mentioned in the link above) – change Launch parameter to Ask on Launch