ld: framework not found Stripe for architecture x86_64

前端 未结 4 2114
再見小時候
再見小時候 2020-12-10 11:45

I have an iOS component which relies on the Stripe iOS SDK, Project A. I included the Stripe SDK in Project A in Xcode and it compiles fine.

However, I\'m building

4条回答
  •  感情败类
    2020-12-10 12:17

    Noticed this problem while switching some dependencies from pods to carthage. Similar to Honey's answer, I was able to get around this error modifying the podfile.

    Turns out all I had to add was the test target. Then run 'pod install', and it will link your test target to your the frameworks generated by your pods.

    target 'Project' do
      use_frameworks!
    
      //pods here normally
    
      target 'ProjectTests' do
       //nothing in here
      end
    end
    

提交回复
热议问题