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
Copy-frameworks failed to support XCFramwork #3105
Comments
You don't need copy-frameworks when using xcframeworks. |
You mean when we are using xcframeworks, Xcode will strip the code for different architecture, then we don't need to use copy-frameworks to strip the code, just embed them in our project, right? |
Correct. But there is no stripping going on at all. |
Thanks @tmspzz , you're right, Xcode just needs to copy the corresponding architecture from the xcframework if there is only one architecture in one binary file. |
Thanks a lot |
Maybe these erros I got is cause by "Copy-frameworks failed to support XCFramwork" ? Has anyone knowed ? |
which carthage
:carthage version
: 0.35.0xcodebuild -version
: 12.0.1--no-build
?--no-use-binaries
?--use-submodules
?--cache-builds
?--new-resolver
?Cartfile
Carthage Output
Actual outcome
copy-frameworks command fails with above error.
Expected outcome
copy-frameworks should work properly.
Note
The root case should relate to method
func binaryURL(_ packageURL: URL) -> Result<URL, CarthageError>
, this method doesn't contain the code to recognize the executable from a .xcframework.The text was updated successfully, but these errors were encountered: