Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode15 beta5 で swift-nio がビルドできない #79

Closed
omochi opened this issue Jul 26, 2023 · 3 comments
Closed

Xcode15 beta5 で swift-nio がビルドできない #79

omochi opened this issue Jul 26, 2023 · 3 comments

Comments

@omochi
Copy link
Collaborator

omochi commented Jul 26, 2023

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.


@omochi
Copy link
Collaborator Author

omochi commented Jul 26, 2023

すいません、XCFrameworks/ で成果物が衝突しているだけでした。

@omochi omochi closed this as completed Jul 26, 2023
@giginet
Copy link
Owner

giginet commented Jul 27, 2023

@omochi よかったです!

ちなみにprepare, create共にoverwriteオプションがあり、この問題はこれで回避できます。
https://github.com/giginet/Scipio/blob/main/Sources/scipio/Options.swift#L37-L39

エラーハンドリングをして、ガイドを出した方が良さそうですね。

@omochi
Copy link
Collaborator Author

omochi commented Jul 27, 2023

-f は便利そうです。ありがとうございます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants