清理 SwiftUI
# Try to delete the preview canvas from here
~/Library/Developer/Xcode/UserData/Previews/Simulator Devices/
# then in command line run the following
killall -9 com.apple.CoreSimulator.CoreSimulatorService
# finally restart xCode
最后更新于
这有帮助吗?