Xcode15 beta5 で swift-nio がビルドできない
omochi opened this issue · comments
Xcode15 beta5 下記のように変なエラーが出てビルドできません。
なお、beta4では下記のコマンドでビルド可能でした。
[omochi@omochi-iMacPro swift-nio (main %=)]$ scipio create --platforms macOS --disable-library-evolution --static
🔁 Resolving Dependencies...
📦 Building NIOCore for macOS
🚀 Combining into XCFramework...
Something went wrong during building
Please execute with --verbose option.
Execution was terminated:
“NIOCore.framework” couldn’t be copied to “macos-arm64_x86_64” because an item with the same name already exists.
Error: Execution was terminated:
“NIOCore.framework” couldn’t be copied to “macos-arm64_x86_64” because an item with the same name already exists.
すいません、XCFrameworks/
で成果物が衝突しているだけでした。
@omochi よかったです!
ちなみにprepare, create共にoverwriteオプションがあり、この問題はこれで回避できます。
https://github.com/giginet/Scipio/blob/main/Sources/scipio/Options.swift#L37-L39
エラーハンドリングをして、ガイドを出した方が良さそうですね。
-f
は便利そうです。ありがとうございます。