clang: error: no such file or directory: 'SystemConfiguration'

fb1112254 2016-08-28 06:42:04
clang: error: no such file or directory: 'SystemConfiguration'
大神们,,,这是找不到文件,但我的却加过了呀

Ld /Users/apple/Library/Developer/Xcode/DerivedData/Goverment-agsnoyaddgkccbfcowwaljuwduvb/Build/Products/Debug-iphonesimulator/Goverment.app/Goverment normal x86_64
cd /Users/apple/Desktop/个人开发/网源科技项目本地库/Government/Government/Goverment尝试打包
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export 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/iPhoneSimulator9.2.sdk -L/Users/apple/Library/Developer/Xcode/DerivedData/Goverment-agsnoyaddgkccbfcowwaljuwduvb/Build/Products/Debug-iphonesimulator -L/Users/apple/Desktop/个人开发/网源科技项目本地库/Government/Government/Goverment尝试打包/Goverment/微信sdk -L/Users/apple/Desktop/个人开发/网源科技项目本地库/Government/Government/Goverment尝试打包/lib -L/Users/apple/Desktop/个人开发/网源科技项目本地库/Government/Government/Goverment尝试打包 -F/Users/apple/Library/Developer/Xcode/DerivedData/Goverment-agsnoyaddgkccbfcowwaljuwduvb/Build/Products/Debug-iphonesimulator -F/Users/apple/Desktop/个人开发/网源科技项目本地库/Government/Government/Goverment尝试打包 -filelist /Users/apple/Library/Developer/Xcode/DerivedData/Goverment-agsnoyaddgkccbfcowwaljuwduvb/Build/Intermediates/Goverment.build/Debug-iphonesimulator/Goverment.build/Objects-normal/x86_64/Goverment.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lAFNetworking -lFMDB -lSDWebImage -lSVPullToRefresh -lsqlite3 -framework CoreGraphics -framework ImageIO -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -ObjC -lAFNetworking -lFMDB -lSDWebImage -lSVPullToRefresh -lsqlite3 -framework CoreGraphics -framework ImageIO -framework MobileCoreServices -framework QuartzCore -framework Security SystemConfiguration -fobjc-arc -fobjc-link-runtime -lz.1.2.5 -lsqlite3.0 -framework SystemConfiguration -framework CoreFoundation -lz -framework Security -framework UIKit /Users/apple/Desktop/个人开发/网源科技项目本地库/Government/Government/Goverment尝试打包/jpush-ios-2.1.8.a -framework Foundation -framework CoreGraphics -framework CoreTelephony -framework CFNetwork -framework MessageUI -weak_framework IndoorLocator -lc++ -framework MobileCoreServices -lPods -lWeChatSDK -Xlinker -dependency_info -Xlinker /Users/apple/Library/Developer/Xcode/DerivedData/Goverment-agsnoyaddgkccbfcowwaljuwduvb/Build/Intermediates/Goverment.build/Debug-iphonesimulator/Goverment.bu
...全文
2254 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
万万大妞 2017-11-04
  • 打赏
  • 举报
回复
然后最终也没人结贴!
qq_33187972 2017-03-08
  • 打赏
  • 举报
回复
您好!我也遇到了同样的问题,可以说一下怎么解决的吗?
香烟不灭 2016-09-12
  • 打赏
  • 举报
回复
楼主这个问题解决了吗?
fb1112254 2016-08-29
  • 打赏
  • 举报
回复
#import <SystemConfiguration/SystemConfiguration.h> #import <MobileCoreServices/MobileCoreServices.h> 申明头文件都会自动弹出
fb1112254 2016-08-29
  • 打赏
  • 举报
回复
怀疑过缓存路径,然后重新装了xcode还是不行,之前的版本是不报错的,同样有这个库
fb1112254 2016-08-29
  • 打赏
  • 举报
回复
有啊,重新加,清除缓存都用过了
hslinux 2016-08-29
  • 打赏
  • 举报
回复
Targets->select you target-->Build Phases->Link Binary With Libraries里面,看看有没有SystemConfiguration.framework

29,027

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧