Ensure static frameworks are embedded by default - #1628
Conversation
yonaskolb
left a comment
There was a problem hiding this comment.
Thanks @daltonclaybrook. I added that the previous behaviour happens on older declared xcode versions.
|
Hi @daltonclaybrook and @yonaskolb this PR seems to have broken our project somehow. Our project is large and complex with dozens of xcodegen files, so it's unclear what we need to update in our xcodegen files to get this back on track. The associated issue describes that since Xcode 15 the embed setting maybe have been happening automatically, but clearly something in our project isn't doing it 😅 Do you have some notes or suggestions of what needs to change ideally? |
|
Hey @marcos-strava, Sorry you're having issues. I'd love to help you get to the bottom of this, but I need more information. I assume you're using static frameworks ( |
Sorry should've been more transparent from the start! Yeah I first noticed an issue because we were setting up a new CI machine, so we ran the usual This was also annoying but we fixed it by setting This is where we currently are. We've identified that it's the latest As far as project settings a lot of our static targets actually still look like: For dynamic libraries, those usually look like We then have our main app target: Any ideas? |
|
I'd suggest explicitly passing When you have more time, you could try using |
Does Ill give it a shot, but we have about 300+ targets so it's hard to know what are all the places that need to change. Are you familiar with any project settings that can help here? |
|
Okay after several Claude assisted attempts, we had to:
We're now validating that the changes we made here won't break pre 2.46.0 versions, but even then this change was not in the |
@marcos-strava Sorry, I mis-typed my original message (which I've now edited). After you've made this change, I'd be curious to know if using |

Resolves #1627