Receive dependency analysis warning for DEFINES_Modules

I recently added a supported library to Swift in my project, and currently my main Objective-C project language, and because of this, it shows some warning about dependencies in my project, as shown below:

warning: using "ALWAYS_SEARCH_USER_PATHS = YES" when creating targets that define modules ("DEFINES_MODULE = YES") may not work. Migration to use "ALWAYS_SEARCH_USER_PATHS = NO".

Does anyone have any ideas how I can solve this problem?

As a self-learning warning that you need to set the flag 'ALWAYS_SEARCH_USER_PATHS = NO' , this warning will be allowed.

But my question is: does this affect any existing functionality or does the problem connect to the card by doing this?

or is it safe to do as indicated in this waring?

Thanks at Advance.

+5
source share
1 answer

Starting with version Xcode 8.3, ALWAYS_SEARCH_USER_PATHS is now deprecated, but other libraries that still use ALWAYS_SEARCH_USER_PATHS put the parameter value in your project, you will have to wait until other libraries make changes too.

For example, the current Core Plot is on version 2.2, it still sets the value ALWAYS_SEARCH_USER_PATHS in my project, a fix for this warning will be released in version 2.3

0
source

Source: https://habr.com/ru/post/1263952/


All Articles