In my case settings ENABLE_TESTING_SEARCH_PATHS to YES fixed the issue.
ENABLE_TESTING_SEARCH_PATHS
YES