-
Notifications
You must be signed in to change notification settings - Fork 819
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
How to declare a Carthage built XCFramework dependency? #1006
Comments
figured it out, since targets:
MyApp:
dependencies:
framework: "Carthage/Build/iOS/Alamofire.xcframework" and then you're good to go. |
Is there any plan to update the XcodeGen to allow |
I've put up a draft PR for this here #1020, if you'd like to test it |
Would appreciate some testing of this to make sure it works on your projects. You can use Mint to test it easily
|
I replied to the PR that was linked the my results from testing it (#1020 (comment)) but I also wanted to reply here too. One issue I've noticed with added an xcframework from carthage as a dependency when the project also has a framework target and an app target.
|
I'm preparing my project for the upcoming Carthage release, which will build dependencies as XCFrameworks. How do I properly indicate a dependency on an XCFramework in my project.yml project spec?
Second question: Is there a way to disable the carthage copy files script being automatically added:
If any applications contain carthage dependencies within itself or any dependent targets, a carthage copy files script is automatically added to the application containing all the relevant frameworks. A FRAMEWORK_SEARCH_PATHS setting is also automatically added
For context, in the upcoming carthage release, they indicate that you'll no longer need to include a run script to call
carthage copy-frameworks
, and including this would actually introduce breaking changes to the currentlycarthage update --use-xcframeworks
flow.The text was updated successfully, but these errors were encountered: