xmartlabs / react-native-line

Line SDK wrapper for React Native 🚀
MIT License
121 stars 86 forks source link

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

Open chenkuangkuang opened 1 year ago

chenkuangkuang commented 1 year ago

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

stale[bot] commented 11 months ago

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.

aravi365 commented 3 weeks ago

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