我建立了一个项目。依赖关系通过CocoaPods管理。
运行项目的时间。发生以下错误:
d
/用户/ zhaoxinqiang /库/开发人员/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/iXueXi.app/iXueXi
普通的x86_64
cd /用户/ zhaoxinqiang /桌面/ iXueXi
导出IPHONEOS_DEPLOYMENT_TARGET = 8.0
导出PATH =“/ Applications / Xcode.app / Contents / Developer / Platforms / iPhoneSimulator.platform / Developer / usr / bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr / local / bin:/ usr / bin:/ bin:/ usr / sbin:/ sbin“
/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/iPhoneSimulator10.3.sdk
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / ACAlertController
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build /产品/ Debug-iphonesimulator / AFNetworking
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build /产品/ Debug-iphonesimulator / AliyunOSSiOS
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / BACustomAlertView
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / MBProgressHUD
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build /产品/ Debug-iphonesimulator / MJRefresh
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / Mantle
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build /产品/ Debug-iphonesimulator / Masonry
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / Reachability
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / ReactiveObjC
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / SDAutoLayout
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / SDCycleScrollView
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / SDWebImage
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / TYPagerController
-L /用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Products / Debug-iphonesimulator / TZImagePickerController
-L / Users / zhaoxinqiang / Desktop / iXueXi / Pods / JCore -L / Users / zhaoxinqiang / Desktop / iXueXi / iXueXi / Venders / AliPay -F / Users / zhaoxinqiang / Library / Developer / Xcode / DerivedData / axTyfxiwxi-i /产品/ Debug-iphonesimulator
-F /用户/ zhaoxinqiang /桌面/iXueXi/Pods/AlipaySDK-2.0-文件列表/用户/ zhaoxinqiang /库/开发人员/ Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Intermediates / iXueXi。 /Objects-normal/x86_64/iXueXi.LinkFileList
-mios-simulator-version-min = 8.0 -dead_strip -Xlinker -object_path_lto -Xlinker / Users / zhaoxinqiang / Library / Developer / Xcode / DerivedData / iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu / Build / Intermediates / iXueXiulator。 /Objects-normal/x86_64/iXueXi_lto.o
-Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lACAlertController -lAFNetworking -lAliyunOSSiOS -lBACustomAlertView -lMBProgressHUD -lMtleRef1 -LmJlRelable -ReL lSDCycleScrollView -lSDWebImage -lTYPagerController -lTZImagePickerController -lc ++ -ljcore-ios-1.1.1 -lresolv -lz -framework AlipaySDK -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CoreMotion
-框架CoreTelephony-框架基础-框架ImageIO-框架MobileCoreServices-框架QuartzCore-框架安全-框架SystemConfiguration-框架UIKit
-weak_framework用户通知-Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/zhaoxinqiang/Library/Developer/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Inter-mediai/i.Xuei app.xcent
-weak_framework NotificationCenter -framework系统配置-lresolv -lssl -lcrypto -framework MediaPlayer -framework AdSupport -lPods-iXueXi -Xlinker -dependency_info -Xlinker / Users / zhaoxinqiang / Library / Developer / Xcode / DerivedData / iXueXii-ddaxyfhwxi .build / Debug-iphonesimulator / iXueXi.build / Objects-normal / x86_64 / iXueXi_dependency_info.dat
-o /用户/ zhaoxinqiang /库/开发人员/Xcode/DerivedData/iXueXi-ddaxyfhwxiktmtgsfbafazqmdwlu/Build/Products/Debug-iphonesimulator/iXueXi.app/iXueXi
ld:找不到用于-lssl lang的库:错误:链接器命令失败
退出代码为1(使用-v查看调用)
最佳答案
有时,在重命名目标或移动某些东西之后,您可能会破坏Pod的安装。幸运的是,比sudo make install的解决方案更容易解决此问题。
项目。