cocoapods Sync: ld: framework nicht gefunden DATAFilter, linker command failed with exit code 1
Ich versuche Sync (https://github.com/hyperoslo/Sync) für die Arbeit in meinem 'em' Xcode iOS Swift-Projekt. Ich habe Erfahrung mit Karthago für die framework-Abhängigkeit, so ist es mein cocoapods premiere.
meine Podfile
use_frameworks!
target "em" do
pod 'Sync'
end
meine Pods dir:
Michal-MBP:em kolisko$ v Pods
total 24
drwxr-xr-x 16 kolisko staff 544 14 čvc 10:27 ./
drwxr-xr-x 14 kolisko staff 476 14 čvc 09:21 ../
-rw-r--r--@ 1 kolisko staff 6148 14 čvc 10:27 .DS_Store
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:20 DATAFilter/
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:20 DATAObjectIDs/
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:20 DATAStack/
drwxr-xr-x 2 kolisko staff 68 14 čvc 09:20 Headers/
drwxr-xr-x 2 kolisko staff 68 14 čvc 00:42 Local Podspecs/
-rw-r--r-- 1 kolisko staff 1262 14 čvc 09:21 Manifest.lock
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:20 NSDictionary-ANDYSafeValue/
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:20 NSEntityDescription-SYNCPrimaryKey/
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:21 NSManagedObject-HYPPropertyMapper/
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:21 NSString-HYPNetworking/
drwxr-xr-x 4 kolisko staff 136 14 čvc 09:21 Pods.xcodeproj/
drwxr-xr-x 5 kolisko staff 170 14 čvc 09:21 Sync/
drwxr-xr-x 11 kolisko staff 374 14 čvc 09:21 Target Support Files/
Michal-MBP:em kolisko$
Xcode 7.3.1 build-Fehler-Ausgang
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/DATAFilter'
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/DATAObjectIDs'
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/DATAStack'
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/NSDictionary-ANDYSafeValue'
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/NSEntityDescription-SYNCPrimaryKey'
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/NSManagedObject-HYPPropertyMapper'
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/NSString-HYPNetworking'
ld: warning: directory not found for option '-F/Users/kolisko/Library/Developer/Xcode/DerivedData/em-btqhzuiyxahnvqeznjrrilcusqnm/Build/Products/Debug-iphonesimulator/Sync'
ld: framework not found DATAFilter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Meine Frage ist - muss irgendwie manuell verknüpfen der DATAFilter-framework?
Du musst angemeldet sein, um einen Kommentar abzugeben.
GELÖST
es ist notwendig, um das Projekt zu öffnen 'em' als
offen em.xcworkspace
und NICHT
offen em.xcodeproj
Das macht mich verrückt, zumindest ich verbringe 10 Stunden die Suche nach einer Lösung und war nicht zu öffnen .xcworkspace, es war das erste, was ich Tat (Stunde 0) und dann 9 Stunden ein verrückter nigthmare
Gut hier meine Lösung: Gehen Sie wählen Ihr Projekt Build-Einstellungen > Andere Linker Flags und einfach entfernen -framework (Uhr-aus seiner getrennt in zwei getrennte Linien, das ist, warum Sie eine finden, die nicht funktioniert) und DATAFilter (zweite Zeile) und voila!