These warnings didn't exist before the iOS Simulator platform was added in the 510.x.x version. You also only see them when building release.
I see over 60K of these warnings which greatly slows down the build (and brings Xcode to a crawl if you're watching the log)
Showing All Messages
(arm64) could not find object file symbol for symbol _$s11SwiftSyntax016MemberAccessExprB0V13leadingTrivia4base6period4name08trailingG0AcA0G0VSg_xSgAA05TokenB0VAnKtcAA0eB8ProtocolRzlufC
....
/Users/runner/work/swift-syntax-xcframeworks/swift-syntax-xcframeworks/swift-syntax/.build/arm64-apple-macosx/debug/ModuleCache/2G7IFUA1P8XNG/Darwin-1IPQPNED63C6S.pcm: No such file or directory
while processing /Users/runner/work/swift-syntax-xcframeworks/swift-syntax-xcframeworks/swift-syntax/.build/arm64-apple-macosx/debug/ModuleCache/2G7IFUA1P8XNG/Darwin-1IPQPNED63C6S.pcm
Linking a static library that was built with -gmodules, but the module cache was not found. Redistributable static libraries should never be built with module debugging enabled. The debug experience will be degraded due to incomplete debug information.
/Users/runner/work/swift-syntax-xcframeworks/swift-syntax-xcframeworks/swift-syntax/.build/arm64-apple-macosx/debug/ModuleCache/2G7IFUA1P8XNG/SwiftShims-27BB6EH6OY71.pcm: No such file or directory
There are various threads on the topic. The one from the Swift Forums seemed promising, but I wasn't able to get it to resolve this issue in my testing.
Everything works fine still -- the warnings are coming from dsymutil when attempting to generate a dSYM file -- but it does mean that the tons of warnings slow down the build a bit.
I'm willing to try other approaches, just not sure what else to try.
NOTE: in my use-case I really want to be able to use Previews so I need that iOS simulator variant.
These warnings didn't exist before the iOS Simulator platform was added in the 510.x.x version. You also only see them when building release.
I see over 60K of these warnings which greatly slows down the build (and brings Xcode to a crawl if you're watching the log)
There are various threads on the topic. The one from the Swift Forums seemed promising, but I wasn't able to get it to resolve this issue in my testing.
https://forums.swift.org/t/swift-behavior-of-gmodules-and-dsyms/23211/3 https://github.com/bazelbuild/tulsi/issues/135
Everything works fine still -- the warnings are coming from dsymutil when attempting to generate a dSYM file -- but it does mean that the tons of warnings slow down the build a bit.
I'm willing to try other approaches, just not sure what else to try.
NOTE: in my use-case I really want to be able to use Previews so I need that iOS simulator variant.