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

how can I use "use_frameworks! :linkage => :static" only for this package? #121

Open
chenkuangkuang opened this issue Oct 14, 2023 · 2 comments

Comments

@chenkuangkuang
Copy link

chenkuangkuang commented Oct 14, 2023

my app have some package only used for static link. I also tried to use if like this:

pre_install do |installer|
    Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
    installer.pod_targets.each do |pod|
      if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')
        def pod.build_type;
          Pod::BuildType.static_library
        end
      end  
    end
  end

but not work.

So I want to know is there a way to use "use_frameworks! :linkage => :static" only for react-native-line?

Just tell me how to pod install single for this package, like this "pod 'Permission-Camera', :path => "../node_modules/react-native-permissions/ios/Camera""?

Copy link

stale bot commented Dec 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

@stale stale bot added the stale label Dec 15, 2023
@aravi365
Copy link

did you made this library work in your project? I am not able to import it properly in iOS, tried with use_frameworks! , but some other pods are not working then

@stale stale bot removed the stale label Oct 22, 2024
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

2 participants