failedToGetInstalledApplicationInfoAfterInstalling error in SwiftUI preview

All of a sudden I start getting the "failedToGetInstalledApplicationInfoAfterInstalling" error when I attempt to preview my SwiftUI file. It was working perfectly before. I am just running examples in the SwiftUI Landmark tutorial.


Any ideas?


I'm on Xcode 11 Beta 5

Replies

if you quit and reopen XCode, does it work ?


Or simply, do a option -clean buikld folder (project menu, holding option key down).

was having the same promlem - cleaning sorted it. thank you

I'm having exactly the same problem, with the same project.


XCode 11.1


Cleaning the build folder hasn't worked. Neither has clearing out the derived data folders.

Sorted it by changing from my personal developer account to my team developer account signing. 😕

It worked for me. Thanks. Choose a valid provisioning profile in Signing & Capabilities tab.

My provisioning profile had expired (but was automatically managed so I didn't notice). Cleaning alone was not enough, re-opening (as you suggested) was also required. Thanks!