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

[bug] XcodeGen frameworkdirs is not working, FRAMEWORK_SEARCH_PATHS empty #11616

Closed
oeichenwei opened this issue Jul 12, 2022 · 1 comment · Fixed by #11617
Closed

[bug] XcodeGen frameworkdirs is not working, FRAMEWORK_SEARCH_PATHS empty #11616

oeichenwei opened this issue Jul 12, 2022 · 1 comment · Fixed by #11617
Assignees
Milestone

Comments

@oeichenwei
Copy link

oeichenwei commented Jul 12, 2022

XcodeGen generator will not consume frameworkdirs and correctly put into FRAMEWORK_SEARCH_PATHS.
xcode generator is correct.
I investigate the code and it was a simple typo error and can be fixed by one line change:
oeichenwei@6a809a7

Environment Details (include every applicable attribute)

  • Operating System+version: Macos + 12.4
  • Compiler+version: Xcode 13.3.1
  • Conan version: Conan version 1.48.0
  • Python version: Python 3.10.4

Steps to reproduce (Include if Applicable)

in conanfile.txt:

[generators]
 XcodeDeps

in conan.py

            self.cpp_info.frameworkdirs.append(self.package_folder)
            self.cpp_info.frameworks.append("MyFramework")
@czoido czoido self-assigned this Jul 12, 2022
@czoido
Copy link
Contributor

czoido commented Jul 12, 2022

Hi @oeichenwei ,
Thanks for reporting, luckily this PR #11615 will solve the issue. This is targeting develop2 but it will be merged to the next Conan release too. Here is the PR to develop, should be released in 1.51: #11617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants