打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
xcode错误信息汇总

1.Apple LLVM 8.0 Error Group /’all-product-headers.yaml’ not found

最近升级了xcode打包后出现了个BUG,记录解决的方法。现象:报错误信息:“......'all-product-headers.yaml' not found"原因:新增加了第三方库
  • 1
  • 2
  • 3
  • 4

解决:
1.检查工程-Target-Build Settings 设置Defines Module的值是否为YES
“Defines Module = YES”
2.工程-Target-Build Settings - Other Linker Flags
将pod里面涉及到的第三方框架都加上 “AFNetworing” -framework
例如:

2.error: Couldn’t materialize

错误信息: error: Couldn't materialize: couldn't get the value of variable amount: variable not available  error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression.
  • 1
  • 2
  • 3
  • 4

解决:Release改为Debug

3.dyld: Library not loaded

错误信息:dyld: Library not loaded: /System/Library/Frameworks/UserNotificationsUI.framework/UserNotificationsUI  Referenced from: /var/containers/Bundle/Application/82256E34-03A8-47F7-9C74-3EFB5D2D94A7/***
  • 1
  • 2
  • 3

解决:在低版本的系统中不支持高版本的framework
arget下的Build Phases标签里,
找到Link Binary With Libraries,
在里面找到UserNotifications.framework,
把status由Required 修改成Optional

4.Domain=NSCocoaErrorDomain Code=3000

错误信息:Get deviceToken failed, error: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo={NSLocalizedDescription=no valid  'aps-environment' entitlement string found for application}
  • 1
  • 2
  • 3
  • 4

解决:打开Push Notifications 为ON

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Dynamic linking on iOS | Damien DeVille
如何找到SAP UI5里阻止页面继续加载的出问题的具体代码位置
IIS 7 错误HTTP Error 500.21
PL/SQL: RAISE_APPLICATION_ERROR用法
ubuntu 14.04开机出现错误“Error found when loading /root/.profile”解决
configure: error: I couldn't find ....
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服