I have a SwiftUI project that I'm trying to build for my iPadPro running iOS 14.1, but ever since updating to the latest Xcode and upgrading the iPad to iOS 14, I've been getting this build error:
.../Assets.xcassets:1:1: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
I tried removing the 76x76 app icon, however then it complained about that too. I can run & test my app on iOS with this error, but the Mac build works fine.
I also see this further up in the build log:
2020-10-30 20:50:35.012 ibtoold[23910:1459929] Error Domain=com.apple.CoreSimulator.SimError Code=400 "Unable to determine SimDeviceSet, set_path=(null)" UserInfo={NSLocalizedDescription=Unable to determine SimDeviceSet, set_path=(null), NSUnderlyingError=0x7fb55cc61c00 {Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory" UserInfo={NSLocalizedFailureReason=Allocation or initialization failed., NSLocalizedDescription=Failed to initialize simulator device set.}}} /* 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 14.1 (14.1 - 18A8394) - com.apple.CoreSimulator.SimRuntime.iOS-14-1 Failure Reason: Failed to create SimDeviceSet at path /Users/andrew/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed. Underlying Errors: Description: Failed to initialize simulator device set. Failure Reason: Failed to subscribe to notifications from CoreSimulatorService. Underlying Errors: Description: Unable to determine SimDeviceSet, set_path=(null) Underlying Errors: Description: Failed to initialize simulator device set. Failure Reason: Allocation or initialization failed.
.../Assets.xcassets:1:1: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
I tried removing the 76x76 app icon, however then it complained about that too. I can run & test my app on iOS with this error, but the Mac build works fine.
I also see this further up in the build log:
2020-10-30 20:50:35.012 ibtoold[23910:1459929] Error Domain=com.apple.CoreSimulator.SimError Code=400 "Unable to determine SimDeviceSet, set_path=(null)" UserInfo={NSLocalizedDescription=Unable to determine SimDeviceSet, set_path=(null), NSUnderlyingError=0x7fb55cc61c00 {Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory" UserInfo={NSLocalizedFailureReason=Allocation or initialization failed., NSLocalizedDescription=Failed to initialize simulator device set.}}} /* 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 14.1 (14.1 - 18A8394) - com.apple.CoreSimulator.SimRuntime.iOS-14-1 Failure Reason: Failed to create SimDeviceSet at path /Users/andrew/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed. Underlying Errors: Description: Failed to initialize simulator device set. Failure Reason: Failed to subscribe to notifications from CoreSimulatorService. Underlying Errors: Description: Unable to determine SimDeviceSet, set_path=(null) Underlying Errors: Description: Failed to initialize simulator device set. Failure Reason: Allocation or initialization failed.