Unfortunately, no. The problem is caused by Apple's end since they issue the .mobileprovision file, and with free account we do not have the access to alter the flags in that file. The only thing we can do, I think, is waiting for Apple to take actions on this problem.
UPDATE (3/19/2019): Great news! It seems like Apple fixed the issue, now the .mobileprovision file has the 'get-task-allow' property set to true which means the debugger should work normally as before. Just remeber to do the followings:
- uncheck the Automatically manage signing option in the General tab of target settings
- fully close Xcode
- delete .mobileprovision files under ~/Library/MobileDevice/Provisioning Profiles/
- delete the following certificates in Keychain Access:
- iPhone Developer: ***@***.*** (xxxxxxxxx)
- Developer ID Certification Authority
- Apple Worldwide Developer Relations Certification Authority
- remove the app you are working on from your iOS devices
- reboot your Mac and iOS devices
- launch Xcode
- change the Bundle Identifier to anything else (you might change it back after it works)
- re-check the Automatically manage signing option
- plug in your devices, click on Run, trust your certificate on your iOS devices
- it should work now