将 Xcode 更新到版本 10.3 (10G8) 后故事板损坏,应用程序不再是 运行
Storyboard broken after updating Xcode to version 10.3 (10G8) & app no longer is running
我刚刚将 Xcode 更新到版本 10.3 (10G8)。
现在我的项目 运行 没有这个错误:
/* com.apple.actool.errors */
: error: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4
Failure Reason: Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4)
Underlying Errors:
Description: Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4
/* com.apple.actool.compilation-results */
/Users/xxx/Library/Developer/Xcode/DerivedData/xxxxx-dxlvvymxzdfqjubnuntqlxggtyja/Build/Intermediates.noindex/xxxxx.build/Debug-iphonesimulator/xxxxx.build/assetcatalog_generated_info.plist
故事板现在是这样的:
我重启了我的mac,问题解决了。
运行 sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
来自终端解决了我的问题。
我遇到了同样的问题,我只是
明确约束,对于我的情况,源来自 UITableView,并确保约束附加到 safeare 而不是 superview。 see image
从顶部的工具栏转到编辑器 > Canvas > 布局矩形非常重要你必须重复此步骤 3 次
退出XCode再重新打开,应该都解决了
我注意到当我切换不同设备 8、11、4 的视图时会发生这种情况
祝你好运
我刚刚将 Xcode 更新到版本 10.3 (10G8)。
现在我的项目 运行 没有这个错误:
/* com.apple.actool.errors */
: error: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4
Failure Reason: Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4)
Underlying Errors:
Description: Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4
/* com.apple.actool.compilation-results */
/Users/xxx/Library/Developer/Xcode/DerivedData/xxxxx-dxlvvymxzdfqjubnuntqlxggtyja/Build/Intermediates.noindex/xxxxx.build/Debug-iphonesimulator/xxxxx.build/assetcatalog_generated_info.plist
故事板现在是这样的:
我重启了我的mac,问题解决了。
运行 sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
来自终端解决了我的问题。
我遇到了同样的问题,我只是
明确约束,对于我的情况,源来自 UITableView,并确保约束附加到 safeare 而不是 superview。 see image
从顶部的工具栏转到编辑器 > Canvas > 布局矩形非常重要你必须重复此步骤 3 次
退出XCode再重新打开,应该都解决了
我注意到当我切换不同设备 8、11、4 的视图时会发生这种情况
祝你好运