• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

dyld库未加载6.0模拟器/ 6.0设备的不同行为

用户头像
it1352
帮助1

问题说明

我的应用程序在Xcode的iPhone 6.0模拟器运行良好,但是当我尝试在我的6.0设备上运行它,我得到以下致命错误:

My app runs fine on the iPhone 6.0 Simulator in Xcode, but when I try to run it on my 6.0 device, I get the following fatal error:

dyld :未加载库:/System/Library/Frameworks/AdSupport.framework/AdSupport
引用自:/var/mobile/Applications/26329A7C-04B0-415A-B8EB-3C59CC1EC0B1/hammerhead.app/hammerhead
原因:找不到图片

dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport Referenced from: /var/mobile/Applications/26329A7C-04B0-415A-B8EB-3C59CC1EC0B1/hammerhead.app/hammerhead Reason: image not found

我确定我的手机版本为6.0,并且是最新的。我的部署目标在我的项目文件和我的info.plist文件中设置为6.0。我应该怎么办?

I am sure that my Phone has version 6.0 and is up to date. My deployment target is set to 6.0 in my project file and in my info.plist file. What should I do?

问题似乎是AdSupport框架,我放在我的应用程序,所以新的Facebook SDK(3.1)可以与iOS 6。

The problem seems to be with the AdSupport framework, which I put in my app so the new Facebook SDK (3.1) could function with iOS 6.

正确答案

#1

如果您定位的iOS版本低于6.0,则需要制作AdSupport.framework,Social.framework,

If you're targeting iOS versions less than 6.0, you'll need to make AdSupport.framework, Social.framework, and Accounts.framework optionally-linked.

请查看随附的屏幕截图。

Please have a look at the attached screenshot.

干杯! !>

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcfcfee
系列文章
更多 icon
同类精品
更多 icon
继续加载