Skip to content

Carthage migrating a project from framework bundles to XCFrameworks#497

Open
nickaroot wants to merge 2 commits into
Swinject:masterfrom
nickaroot:xcframework
Open

Carthage migrating a project from framework bundles to XCFrameworks#497
nickaroot wants to merge 2 commits into
Swinject:masterfrom
nickaroot:xcframework

Conversation

@nickaroot

@nickaroot nickaroot commented Aug 23, 2021

Copy link
Copy Markdown

Hey, there is awesome Carthage feature for Xcode 12+ (https://github.com/Carthage/Carthage#migrating-a-project-from-framework-bundles-to-xcframeworks) with no need to apply a workaround

It's could be cool to merge it into a new 'xcframework' branch like an optional feature

Anyone can use it with carthage update --use-xcframeworks

@yoichitgy yoichitgy requested review from 1ucas and mpdifran August 23, 2021 08:46
@yoichitgy

Copy link
Copy Markdown
Member

Thanks, @nickaroot for making the PR! Supporting XCFrameworks is nice😃

@mpdifran Would you review the PR? I think you have some idea about XCFrameworks.

@1ucas Would you check whether we should update project.yml to configure the project?

@1ucas

1ucas commented Aug 23, 2021

Copy link
Copy Markdown
Member

Sure! I'll be on it today.

@mpdifran

Copy link
Copy Markdown
Member

Yeah I can take a look to make sure it still works for xcframeworks and old fat frameworks!

@nickaroot

Copy link
Copy Markdown
Author

Not sure it still works with usual frameworks (arm64 not excluded)

Makes sense to merge it into 'xcframework' branch, not master

@mpdifran

Copy link
Copy Markdown
Member

Ah gotcha, I thought we'd be able to avoid making a breaking change on Swinject for this, but looks like that's unavoidable.

@1ucas 1ucas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, @nickaroot !
As you can see at the travis.yml file, we now enforce the project generation at our CI server.

So, to unsure everything will work as expected and we'll keep consistent project configurations across builds, all changes at the Swinject.xcodeproj must also be made at the project.yml template.

@nickaroot

Copy link
Copy Markdown
Author

Changes added, successfully tested with xcodegen generate and carthage build --use-xcframeworks --no-skip-current

@yoichitgy

Copy link
Copy Markdown
Member

Sorry, I merged PR #502 that might solve the same issue before reminding myself of this PR 🙇‍♂️

@nickaroot Did PR #502 solve the same issue? or do we have some differences in this PR to merge?

@mpdifran mpdifran removed their request for review June 23, 2022 17:26
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

Successfully merging this pull request may close these issues.

4 participants