Capacitor Plugin Development: Adding iOS podfile dependencies

Follow

Comments

1 comment

  • Avatar
    YuChengLin817

    Hi, James,

    1) I'm using Google MLKit Translate in my custom capacitor plugin by my podfile(devDependencies):
    target 'Plugin' do
      capacitor_pods
      pod 'GoogleMLKit/Translate', '3.2.0'
    end

    2) And I also added it to the podspec(dependencies):

    s.dependency 'GoogleMLKit/Translate', '3.2.0'

    3) I still got error message from my target APP:

    No such module 'MLKitTranslate'

     

    Is there anything need to do?

    Thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.