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

FRAMEWORK_SEARCH_PATHS setting gone after pod install #64

Open
chungweileong94 opened this issue Jul 29, 2020 · 0 comments
Open

FRAMEWORK_SEARCH_PATHS setting gone after pod install #64

chungweileong94 opened this issue Jul 29, 2020 · 0 comments

Comments

@chungweileong94
Copy link
Contributor

After pod install all the settings for FRAMEWORK_SEARCH_PATCHS are empty and need to set up again.

It's a good idea to utilize the PodFile to handle this setup instead of setup manually.

post_install do |installer|
    # ...

    installer.pods_project.targets.each do |target|
      if target.name == 'R5VideoView'
        target.build_configurations.each do |config|
          config.build_settings['FRAMEWORK_SEARCH_PATHS'] = '$(SRCROOT)/../Frameworks'
        end
      end
    end
  end
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

No branches or pull requests

1 participant