Xcode Swift引起的头痛';s不区分大小写#导入

Xcode Swift引起的头痛';s不区分大小写#导入,xcode,swift,linker-errors,importerror,Xcode,Swift,Linker Errors,Importerror,昨晚我把Swifter导入到我的项目中,但却丢失了像这样的符号 Undefined symbols for architecture arm64: "__TMdO10SwifterIOS4JSON", referenced from: __TMaGVSs10DictionarySSO10SwifterIOS4JSON_ in CWAppDelegate.o "__TMaC10SwifterIOS7Swifter", referenced from: __TFC9C

昨晚我把Swifter导入到我的项目中,但却丢失了像这样的符号

Undefined symbols for architecture arm64:
  "__TMdO10SwifterIOS4JSON", referenced from:
      __TMaGVSs10DictionarySSO10SwifterIOS4JSON_ in CWAppDelegate.o
  "__TMaC10SwifterIOS7Swifter", referenced from:
      __TFC9Chatswood13CWAppDelegate11applicationfS0_FTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVSs10DictionaryCSo8NSObjectPSs9AnyObject____Sb in CWAppDelegate.o
      __TMaGSqC10SwifterIOS7Swifter_ in CWAppDelegate.o
  "__TFC10SwifterIOS7SwifterCfMS0_FT7accountCSo9ACAccount_S0_", referenced from:
      __TFC9Chatswood13CWAppDelegate11applicationfS0_FTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVSs10DictionaryCSo8NSObjectPSs9AnyObject____Sb in CWAppDelegate.o
  "__TFC10SwifterIOS7Swifter22getUserStreamDelimitedfS0_FTGSqSb_13stallWarningsGSqSb_35includeMessagesFromFollowedAccountsGSqSb_14includeRepliesGSqSb_5trackGSqGSaSS__9locationsGSqGSaSS__18stringifyFriendIDsGSqSb_8progressGSqFT6statusGSqGVSs10DictionarySSOS_4JSON___T__19stallWarningHandlerGSqFT4codeGSqSS_7messageGSqSS_11percentFullGSqSi__T__7failureGSqFT5errorCSo7NSError_T___CS_18SwifterHTTPRequest", referenced from:
      __TFC9Chatswood13CWAppDelegate11applicationfS0_FTCSo13UIApplication29didFinishLaunchingWithOptionsGSqGVSs10DictionaryCSo8NSObjectPSs9AnyObject____Sb in CWAppDelegate.o

最后我发现这是由于不小心将
#import SwifteriOS
写入
#import SwifteriOS
造成的。我想知道这是否应该由编译器(旧语言的预处理器)而不是链接器来报告,链接器的报告对于用户跟踪问题的根源来说并不清楚,也没有提供信息。我认为Xcode混合了编译器、链接器甚至(粗俗的)SourceKitService编码助手的许多职责,尽管大多数意图和结果都是积极的


欢迎进一步提示和讨论:)

@user1415571我已经解决了,发布为Q&A