6
面料答案嘗試使用剛剛annonced Answers
框架OSX平臺:的OSX鏈接錯誤
pod 'Fabric'
pod 'Answers'
pod 'Crashlytics'
#import <Fabric/Fabric.h>
#import <Answers/Answers.h>
#import <Crashlytics/Crashlytics.h>
[Fabric with:@[[Crashlytics class], [Answers class]]];
,並得到一堆錯誤:
...
duplicate symbol _OBJC_METACLASS_$_CLSAnswersInviteEvent in:
/Users/k06a/Projects/UXMaterial/Pods/Answers/OSX/Answers.framework/Answers(CLSAnswersInviteEvent.o)
/Users/k06a/Projects/UXMaterial/Pods/Crashlytics/OSX/Crashlytics.framework/Crashlytics(CLSAnswersInviteEvent.o)
ld: 200 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
爲SWIFT僅進口面料和Crashlytics,因爲答案對象包含在Crashlytics :) – Greg