简体   繁体   English

Xcode库从6恢复到5.1

[英]Xcode library reverted to 5.1 from 6

I have been developing an app using Xcode , which included the Facebook SDK . 我一直在使用Xcode开发一个应用程序,其中包括Facebook SDK The Facebook SDK requires the AdSupport.framework and the Social.framework , both of which were previously installed, but seem to have disappeared. Facebook SDK需要AdSupport.frameworkSocial.framework ,它们先前都已安装,但似乎已经消失了。 My question is how do it update the library to 6.0, instead of five? 我的问题是如何将库更新为6.0,而不是五个? I understand that you have to go into the build phases and add the frameworks in the Line Binary With Libraries section, but when I go to add the framework, the folder is 5.1, not six. 我了解您必须进入构建阶段并在“ Line Binary With LibrariesLine Binary With Libraries部分中添加框架,但是当我添加框架时,文件夹为5.1,而不是六个。 I have looked through the Apple doc's and haven't found anything. 我浏览了Apple文档,但没有发现任何东西。

Here is an image of what I'm getting: 这是我得到的图像:

在此处输入图片说明

It should look like this: 它看起来应该像这样:

在此处输入图片说明

There should be no way the SDKs provided with Xcode can regress. Xcode随附的SDK不能退回。 However you could see them vanish if you launch an older version of Xcode. 但是,如果启动旧版本的Xcode,您可能会发现它们消失了。

Based on experience, if you had Xcode installed before it was a single app bundle and have subsequently installed the app bundle version then there's a reasonable probability the old version is still present and therefore good odds that a Spotlight launch will open the wrong one. 根据经验,如果您在单个应用程序捆绑包之前就安装了Xcode,然后又安装了该捆绑软件版本,那么很有可能旧版本仍然存在,因此很有可能Spotlight启动会打开错误的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM