Fehler bei cocoapods link_with nach Update auf 1.0.0
Habe ich aktualisiert cocoapods heute 1.0.0 version. Ich habe diese saite, wenn ich ein update der Einheiten:
[!] Invalid Podfile file: [!] The specification of link_with in the Podfile is now unsupported, please use target blocks instead..
Habe ich entfernt link_with in meinem podFile, aber ich kann nicht erstellen Sie das Projekt, denn ich habe viele Spiel-O-Linkers. Jeder weiß, wie sollte ich dieses problem beheben?
Dies ist mein Podfile jetzt:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
inhibit_all_warnings!
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'
target 'minubeTests' do
pod 'OCMockito'
end
InformationsquelleAutor der Frage croigsalvador | 2016-05-17
Du musst angemeldet sein, um einen Kommentar abzugeben.
Versuchen. Funktioniert bei mir mit mehr als einem target.
InformationsquelleAutor der Antwort Geeroz
Nach der neuen offiziellen CocoaPods Spezifikation seit der version 1.0, das neue Modell ist dieses:
TargetNameOne
undTargetNameTwo
sind die echten Namen.Bearbeiten - Es ist eine implizite, abstrakte Ziel an der Wurzel des
Podfile
nun, man könnte also schreiben Sie das obige Beispiel als:InformationsquelleAutor der Antwort Jakub Truhlář
Mit der neuen Spezifikation. alle Ihre pod gehören sollte angegeben werden, Ziel basierten.
Ändern Sie Ihre pod-Datei zu
InformationsquelleAutor der Antwort Shubhank