dyld:未加载库:/System/Library/Frameworks/Social.framework/Social [英] dyld: Library not loaded: /System/Library/Frameworks/Social.framework/Social

查看:62
本文介绍了dyld:未加载库:/System/Library/Frameworks/Social.framework/Social的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当应用程序在模拟器上运行时,我遇到以下执行问题:

I have the following execution problem when the application is runing on simulator:

dyld: Library not loaded: /System/Library/Frameworks/Social.framework/Social
Referenced from: /Users/Development1/Library/Application Support/iPhoneSimulator/4.3.2/Applications/730C5B6A-130C-471D-B8C8-CE119B06ACF5/Emisora Atlantico.app/Emisora Atlantico
Reason: image not found

有人知道如何解决吗?

推荐答案

iOS 6.0中添加了Social框架.您不能在iOS 4.3或5.x下使用它.您需要进行适当的运行时检查,以确保当您在装有iOS 6.0之前的设备(或模拟器)上的设备(或模拟器)上运行时,不要尝试从框架中访问任何类.

The Social framework was added in iOS 6.0. You can't use it under iOS 4.3 or 5.x. You need proper runtime checks to ensure that you make no attempt to access any of the classes from the framework when you run on a device (or simulator) with iOS prior to 6.0.

您还需要弱化Social框架与项目的链接.

You also need to weak link the Social framework to your project.

请参见 SDK兼容性指南,有关执行适当的运行时检查的完整详细信息.

See the SDK Compatibility Guide for complete details on performing proper runtime checks.

这篇关于dyld:未加载库:/System/Library/Frameworks/Social.framework/Social的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆