:-1:链接器命令失败,退出代码为1(使用-v

时间:2018-10-04 11:09:35

标签: ios swift swift4.1

我收到此错误,但是idk如何修复它。有什么建议吗?

链接器命令失败,退出代码为1

  

Ld   /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/Debug-iphonesimulator/MyX.app/MyX   普通的x86_64(位于目标:MyX中)       cd /用户/ br /桌面/ XCode \项目/İsmail_Boyner/ MyX       导出IPHONEOS_DEPLOYMENT_TARGET = 10.0       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang   -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk   -L /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / Alamofire   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / AlamofireImage   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / BarcodeScanner   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator /图表   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / DKImagePickerController   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / DropDown   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / DynamicBlurView   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / Eureka   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / FLAnimatedImage   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / LiquidFloatingActionButton   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / MRProgress   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / NYTPhotoViewer   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / PopupDialog   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / Realm   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / RealmSwift   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / SnapKit   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / SwiftDateTools   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / XLPagerTabStrip   -F /用户/ br /库/开发人员/ Xcode / DerivedData / MyX-fpsjgqnynadwzigoiqzkmsiafcfg /构建/产品/ Debug-iphonesimulator / YALSideMenu   -F / Users / br / Desktop / XCode \Proj./İsmail_Boyner/MyX/Frameworks-filelist /Users/br/Library/Developer/Xcode/DerivedData/MyX-fpsjgqnynadwzigoiqzkmsiafcfg/Build/Intermediates.noindex/MyX.build/Debug- iphonesimulator / MyX.build / Objects-normal / x86_64 / MyX.LinkFileList   -Xlinker -rpath -Xlinker @ executable_path / Frameworks -Xlinker -rpath -Xlinker @ loader_path / Frameworks -Xlinker -rpath -Xlinker @ executable_path / Frameworks -mios-simulator-version-min = 10.0   -dead_strip -Xlinker -object_path_lto -Xlinker /Users/br/Library/Developer/Xcode/DerivedData/MyX-fpsjgqnynadwzigoiqzkmsiafcfg/Build/Intermediates.noindex/MyX.build/Debug-iphonesimulator/MyX.build/Objects-normal/x86 .o   -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L / Applications / Xcode.app / Contents / Developer / Toolchains / XcodeDefault.xctoolchain / usr / lib / swift / iphonesimulator   -Xlinker -add_ast_path -Xlinker /Users/br/Library/Developer/Xcode/DerivedData/MyX-fpsjgqnynadwzigoiqzkmsiafcfg/Build/Intermediates.noindex/MyX.build/Debug-iphonesimulator/MyX.build/Objects-normal/x86_64/MyXs。   -ObjC-框架Alamofire-框架AlamofireImage-框架BarcodeScanner-框架图表-框架DKImagePickerController   -框架DropDown-框架DynamicBlurView-框架Eureka-框架FLAnimatedImage-框架LiquidFloatingActionButton-框架MRProgress-框架NYTPhotoViewer-框架PopupDialog-框架Realm-框架RealmSwift-框架SideMenu-框架SnapKit-框架SwiftDateTools-框架XLPagerTabtrip   -framework Alamofire -framework SwiftDateTools -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/br/Library/Developer/Xcode/DerivedData/MyX-fpsjgqnynadwzigoiqzkmsiafcfg/Build/Intermediates.noindex/MyXulator。 .build / MyX.app-Simulated.xcent   -framework CoreAudio -lc ++ -lstdc ++。6 -framework联系人-framework联系人UI -framework PortSIPLib -framework CoreLocation -framework   QuartzCore-框架Pods_MyX -lresolv -Xlinker -dependency_info   -Xlinker /用户/ br /库/开发人员/Xcode/DerivedData/MyX-fpsjgqnynadwzigoiqzkmsiafcfg/Build/Intermediates.noindex/MyX.build/Debug-iphonesimulator/MyX.build/Objects-normal/x86_64/MyX_dependency_info.dat   -o /用户/br/Library/Developer/Xcode/DerivedData/MyX-fpsjgqnynadwzigoiqzkmsiafcfg/Build/Products/Debug-iphonesimulator/MyX.app/MyX

1 个答案:

答案 0 :(得分:0)

Pod安装Alamofire。

清除派生数据,清理并检查, 或重新启动Xcode。