XCode: 11.1 OS: 10.15 Test device: iPhone 5s, iOS: 12.4.2
Hi guys, I made a stupid mistake to immediately upgrade Xcode and MacOS, without waiting for a later stable
This happened to me, even changing something simple like a print would cause the breakpoints to stop working. I would have to reinstall the app on the test device every time I made a change for it to be reflected in the app. After I restarted the test phone, Xcode, and cleaned the build folder it worked for me.
Try to restart the test device, then run the app again. If this does not work:
Navigate to ~/library/MobileDevice/Provisioning Profiles/
Remove the .mobileprovision file that corresponds to the app you are working on. (you have to click on the files to see what they are, otherwise its just a long string)
Navigate to ~/library/Developer/Xcode/DerivedData/YOUR_APP_NAME
Remove the build folder
close Xcode, uninstall the app, restart the phone, open the Xcode project, clean the build folder, run the app
Try changing the Build System
to Legacy
:
File
> Project Settings
> Build System
The new Build System has some problems with app cache.