Xcode 6:项目导航器中没有框架文件夹

2023-05-19移动开发问题
4

本文介绍了Xcode 6:项目导航器中没有框架文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我正在使用 Xcode 6 并遵循 Xcode 版本 4 教程,所以这里和那里的情况有所不同.

I am using Xcode 6 and following an Xcode version 4 tutorial so things are different here and there.

我的项目导航器中似乎没有 Frameworks 文件夹,因此当我下载一些 .framework 文件并在项目编辑器的构建阶段手动添加它们时,我没有 Frameworks 文件夹来保存它们,只是让他们落入我的项目导航器的顶部.所以他们在那里,只是不在一个特殊的文件夹中,而且看起来不太好.

There doesn't seem to be a Frameworks folder in my project navigator and so when I downloaded some .framework files and added them manually in the build phase of my project editor, I had no Frameworks folder to save them in and just let them fall into the top of my project navigator. So they are there, just not in a special folder, and it doesn't look good.

那么 Xcode 6 应该自动有一个 frameworks 文件夹,还是我需要自己创建一个?如果是这样,我该怎么做?(到目前为止,我只添加了新文件).

So should Xcode 6 have a frameworks folder automatically, or do I need to create one myself? And if so, how can I do that? (I've only added new files so far).

推荐答案

在 Xcode 6 中,默认不添加 Frameworks 文件夹.您可以将 .framework 文件拖放到项目导航器中(勾选如果需要,复制项目"),然后全选 > 右键单击 >从选择中新建组" 并将文件夹命名为Frameworks"'.

In Xcode 6, the Frameworks folder is not added by default. You can drag and drop your .framework files into the project navigator (tick 'Copy items if needed'), then select them all > right click > "New Group from Selection" and name the folder 'Frameworks'.

此外,请确保将框架添加到 Project > Build Phases > Link Binary With Libraries.如果没有,请将它们从新创建的框架"文件夹中拖到那里.

Also, make sure the frameworks are added into the Project > Build Phases > Link Binary With Libraries. If not, drag them there from your newly created 'Frameworks' folder.

这篇关于Xcode 6:项目导航器中没有框架文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

硬件音量按钮更改应用程序音量
Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)...
2024-08-12 移动开发问题
10

恢复游戏 cocos2d
Resume game cocos2d(恢复游戏 cocos2d)...
2024-08-12 移动开发问题
6

Cocos2D + 仅禁用 Retina iPad 图形
Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)...
2024-08-12 移动开发问题
10

[ios.cocos2d+box2d]如何禁用自动旋转?
[ios.cocos2d+box2d]how to disable auto-rotation?([ios.cocos2d+box2d]如何禁用自动旋转?)...
2024-08-12 移动开发问题
7

从 Documents 目录存储和读取文件 iOS 5
Storing and reading files from Documents directory iOS 5(从 Documents 目录存储和读取文件 iOS 5)...
2024-08-12 移动开发问题
9

如何在 cocos2d 环境之外实现 cocos2d 游戏的虚拟摇杆?
How can I implement a virtual joystick for a cocos2d game outside the cocos2d environment?(如何在 cocos2d 环境之外实现 cocos2d 游戏的虚拟摇杆?)...
2024-08-12 移动开发问题
13