Skip to content

Remove ALWAYS_SEARCH_USER_PATHS=YES from podspec? #320

@toreolsensan

Description

@toreolsensan

I'm using CorePlot 2.2 in my project. After doing pod install, building in Xcode 8.1 gives me the following warning:

warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS = NO'.

I tracked the source of this setting to CorePlot, and managed to get rid of the warnings by changing the setting to NO locally by doing pod spec edit CorePlot before rebuilding pod install/Xcode build.

Would you consider changing this setting? I suspect that commit 114de15 which reintroduced this setting didn't really need to, and that adding the HEADER_SEARCH_PATHS would be enough in that case, but I haven't really investigated this.

This isn't a big deal, but having fewer build warnings is always nice.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions