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
Error in Xcode 14.1 via Carthage #126
Comments
Facing the same issue, is there any fix for that? |
I guess the library no longer actively maintained its been 11 months since this this issue first reported, and I also am facing the same issue |
Hello there. I'm so sorry you were experiencing this issue with Carthage. This error occurred because of a change in Xcode 12, which made the simulator build also include the arm64 architecture (for Apple Silicon Macs). This is causing a conflict because now both the device and simulator builds have the same architecture, and they can't be merged into one fat framework. The error message suggests a solution: rebuild with You can do this by running the following command:
This will tell Carthage to build xcframeworks instead of universal (fat) frameworks. XCFrameworks is a new format that supports multiple architectures, platforms, and simulator/device slices in a single bundle, which solves the problem you're seeing. After running this command, you'll need to update your project to link against the .xcframework bundles instead of the old .framework bundles. You can do this in the "Frameworks, Libraries, and Embedded Content" section of the "General" tab in your target settings in Xcode. I can provide more detail about how to link against the .xcframework bundles in Xcode. Here are the steps:
Now your project is set up to link against the .xcframework bundle instead of the old .framework bundle. You can build and run your project to make sure everything works correctly. If you encounter any issues, the error messages in Xcode should give you some clues about what's going wrong. |
Attaching a TestProject in case you want to test this change. |
Hello,
I'm getting an error when trying to build Wormholy via Carthage in Xcode 14.1:
The text was updated successfully, but these errors were encountered: