错误:链接器命令失败,退出代码为1(使用-v查看调用)

时间:2018-03-16 23:27:15

标签: ios objective-c swift swift3

我尝试将项目从Objective C迁移到swift并使用可可豆荚而不是手动添加库时出现此错误,我无法追踪它,所以我感谢任何解决它的帮助。

提前致谢..

duplicate symbol _OBJC_IVAR_$_TicketViewController._ticketPaymentLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripNumberLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._ticketCountDownLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._passDescriptionLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._passSerialLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._eventStartDateLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._boardingStartDateLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._ticketExpirationDateLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripTypeLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._eventPlaceNameLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripNumberTitleLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._printedMessageLabel in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor4Back in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor3Back in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor2Back in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor1Back in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripDestinationTime in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripOriginTime in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripDestinationName in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripOriginName in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._mapViewTitle in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._eventTitle in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._printedPassMessageTitle in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._eventImage in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._vendorImage in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._passVendorImage in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._qrCodeImage in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._barCodeImage in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._swipeMode in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._flipped in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController.passId in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor4 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripDetailsLabel4 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor3 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripDetailsLabel3 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._eventSeatingLabel3 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripSeatingLabel3 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor2 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripDetailsLabel2 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._eventSeatingLabel2 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripSeatingLabel2 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._sponsor1 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripDetailsLabel1 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._eventSeatingLabel1 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
duplicate symbol _OBJC_IVAR_$_TicketViewController._tripSeatingLabel1 in:
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-99E5E166CAD49D3E.o
    /Users/ams/Library/Developer/Xcode/DerivedData/PassApp-ezwbfrgglhkbdwdtwkntnojcfxay/Build/Intermediates.noindex/PassApp.build/Debug-iphonesimulator/PassApp.build/Objects-normal/x86_64/TicketViewController-AC0A4978BB9E2178.o
ld: 93 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2 个答案:

答案 0 :(得分:1)

您的错误意味着由于某种原因,您的广告连播已被复制两次。

如果你还在使用用Obj-c编写的库,我假设你已经阅读了how to add a bridging header的文档。

如果你的代码没有做错任何事(比如不小心手动复制pod中的文件,然后尝试使用pod!我之前已经搞砸了,它发生了。)这个错误最经常发生离开cleaning your project and then deleting derived data.

答案 1 :(得分:0)

最后在约1.5天后解决,TicketViewController.m文件在项目构建阶段>>中添加了两次(重复)。编译源代码,刚删除其中一个,错误现在消失了,非常感谢@MQLN的支持