react-native-line icon indicating copy to clipboard operation
react-native-line copied to clipboard

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

Open chenkuangkuang opened this issue 1 year ago • 2 comments

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""?

chenkuangkuang avatar Oct 14 '23 01:10 chenkuangkuang

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[bot] avatar Dec 15 '23 07:12 stale[bot]