keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
372 stars 102 forks source link

bug(mac): ios simulator deleted on ba-macos-keyman-1 #11343

Closed mcdurdin closed 2 weeks ago

mcdurdin commented 2 weeks ago

New mac build agent has self-immolated again overnight: https://build.palaso.org/buildConfiguration/Keyman_iOS_TestPullRequests/459852?buildTab=log&linesState=105.164&logView=flowAware&focusLine=146

06:03:00   *** Checking out DeviceKit at "5.1.0"
06:03:00   *** Checking out sentry-cocoa at "8.15.2"
06:03:00   *** Checking out Reachability.swift at "v5.1.0"
06:03:00   *** Checking out ZIPFoundation at "0.9.17"
06:03:01   *** xcodebuild output can be found in /var/folders/69/ttf9yfds7rnf_45pmwp9951m0000gp/T/carthage-xcodebuild.icIRuV.log
06:03:08   *** Building scheme "DeviceKit" in DeviceKit.xcworkspace
06:03:26   Could not find any available simulators for iOS

We saw this before, it is related to: https://forums.developer.apple.com/forums/thread/751049 https://discussions.apple.com/thread/255601035?sortBy=best https://stackoverflow.com/questions/78372541/xcode-doesnt-show-simulators/78421026#78421026

Suggested fix is in StackOverflow comment.

mcdurdin commented 2 weeks ago

Applied fix from SO answer:

So it turns out that this was due to XProtect payload 132. This has now been updated to XProtect payload 133. So do this:

Quit Xcode. Delete the contents of top-level /Library/Developer/CoreSimulator. You'll need to provide your admin password. Restart the computer. Open Settings and go to Software Update. You should see the computer checking for updates. It will report back that your Mac is up to date, but in fact it will now have downloaded the new XProtect payload. Confirm that step 4 worked. To do so, hold Option, click the Apple menu, choose System Information, click Software > Installations, and scroll down to the last entry whose type is XProtectPayloads. If it says 133, you're all set. Launch Xcode and download the simulator SDK. At the end of the download there is a heart-stopping pause, but be patient; it will work.

mcdurdin commented 2 weeks ago

@sgschantz will apply this to ba-macos-keyman-2.