Skip to content
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

Add LD_RUNPATH_SEARCH_PATHS to extensionkit-extension preset #1255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alessionossa
Copy link

Add LD_RUNPATH_SEARCH_PATHS option as it is for other types of extensions (e.g. app extension).
I followed the same logic of #272, copying the value from the current version of SettingPresets/Products/app-extension.yml

@freddi-kit
Copy link
Collaborator

I started thinking it also should be fixed by XcodeProj (yes, this pr also should be okay), could you check it if you have time?

https://github.com/tuist/XcodeProj/blob/b6de1bfe021b861c94e7c83821b595083f74b997/Sources/XcodeProj/Utils/BuildSettingsProvider.swift#L224-L229

@alessionossa
Copy link
Author

alessionossa commented Sep 6, 2022

I started thinking it also should be fixed by XcodeProj (yes, this pr also should be okay), could you check it if you have time?

https://github.com/tuist/XcodeProj/blob/b6de1bfe021b861c94e7c83821b595083f74b997/Sources/XcodeProj/Utils/BuildSettingsProvider.swift#L224-L229

@freddi-kit I see that targetSettings(platform:, product:) is only called by targetDefault(variant:, platform:, product:, swift:) and we are not calling the latter method anywhere. Are you think of using that instead of "custom overrides"?

@yonaskolb
Copy link
Owner

Thanks @alessionossa. Could you add a changelog entry as well please.

And at the moment we aren't using the BuildSettingsProvider from XcodeProj, as that didn't exist at the time. I've created a new issue to track that here #1267

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.

None yet

3 participants