I look into the current CI issue and found that idb_companion server crashes when idb is connecting to the companion server. Here is the companion server error:
2022-12-19 10:53:00.041+0000 Start of connect
dyld: lazy symbol binding failed: can't resolve symbol _$sScCMa in /usr/local/Cellar/idb-companion/1.1.8/bin/../Frameworks/IDBGRPCSwift.framework/Versions/A/IDBGRPCSwift because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
dyld: can't resolve symbol _$sScCMa in /usr/local/Cellar/idb-companion/1.1.8/bin/../Frameworks/IDBGRPCSwift.framework/Versions/A/IDBGRPCSwift because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
This PR bumps xcode version in CI.
I look into the current CI issue and found that idb_companion server crashes when idb is connecting to the companion server. Here is the companion server error:
I googled the error and apparently the xcode version the CI uses has an issue with concurrency library. https://forums.swift.org/t/swift-5-5-2-xcode-13-2-beta-fails-to-link-libswift-concurrency-dylib/53263
The runner
macos-11
supports the xcode version up to 13.2.1. so I bumped it to macos-12, which uses 14.0.1 by default.