-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
Dependencies.swift not generating xcframework with catalyst #4900
Comments
Not super familiar with Catalyst, would you have expected another architecture inside the xcframework? Do you have an example of such xcframework? |
@danyf90 thanks for your reply. Yes, there should be a catalyst architecture generated for catalyst. An example of a xcframework compatible with catalyst can be seen for example on the releases of firebase, stripe, revenuecat, etc. To list some examples: Stripe for example https://github.com/stripe/stripe-ios/releases/ When you open the xcframework: You can see that there is a Catalyst architecture there for the Stripe xcframework. What happens with |
Thanks, then I think we should enhance or xcframework builder to take that into account if the target supports catalyst 🤔 If you would like to have a look at this we can provide pointer of what should be changed 💪 |
@danyf90 thanks, Tuist is a complex project, not sure if I could be able to help, but we can try. |
Maybe related to #4610? |
What happened?
When using Dependencies.swift to generate the xcframeworks, are not generated with the framework for mac catalyst
How do we reproduce it?
deploymentTarget: .iOS(targetVersion: "14.0", devices: [.mac, .ipad, .iphone])
tuist fetch
tuist cache warm --xcframeworks
tuist generate --xcframeworks
When the project open, it's configured for ios, ipad and catalyst, but the generated xcframeworks doesn't contain catalyst.
Example project:
app_with_spm_dependencies.zip
Error log
/.tuist/Cache/BuildCache/261dde80769c1e179810d4ebd83fb1ee/abseil.xcframework:1:1 While building for Mac Catalyst, no library for this platform was found in '/.tuist/Cache/BuildCache/261dde80769c1e179810d4ebd83fb1ee/abseil.xcframework'.
macOS version
13.0.1
Tuist version
3.14.0
Xcode version
14.1
The text was updated successfully, but these errors were encountered: