dyld:库未加载6.0模拟器/ 6.0设备的不同行为 [英] dyld: Library not loaded different behavior for 6.0 simulator/6.0 device
问题描述
我的应用程序在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.
推荐答案
如果您定位的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.
干杯! !>
这篇关于dyld:库未加载6.0模拟器/ 6.0设备的不同行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!