Error with cocoapods link_with after update to 1.0.0

后端 未结 3 1128
悲哀的现实
悲哀的现实 2020-12-16 10:08

I have updated cocoapods today to 1.0.0 version. I got this string when I update the pods:

[!] Invalid Podfile file: [!] The specification of link_with in the

3条回答
  •  春和景丽
    2020-12-16 10:38

    With the new specification. all your pod include should be specified target based. Change your pod file to

    platform :ios, '8.0'
    
    # change minube to whatever name is of you main target
    target 'minube' do
      pod 'pop', '~> 1.0'
      pod 'AFNetworking', '~> 1.3'
      pod 'SDWebImage', '~> 3.7'
      pod 'GoogleAnalytics', '~> 3'
      pod 'ARAnalytics' , :subspecs => ["Crashlytics", "Amplitude", "DSL"]
      pod 'FBSDKCoreKit', '~> 4.10.1'
      pod 'FBSDKLoginKit', '~> 4.10.1'
      pod 'FBSDKShareKit', '~> 4.10.1'
      pod 'Google/SignIn'
      pod 'Branch'
    
      pod 'Leanplum-iOS-SDK'
    
      pod 'Fabric', '1.6.7'
      pod 'Crashlytics', '3.7.0'
      pod 'TwitterKit'
      pod 'Digits'
    end
    target 'minubeTests' do
      pod 'OCMockito'
    end
    

提交回复
热议问题