gpt4 book ai didi

ios - Xcode6 'Foundation/Foundation.h' 找不到文件

转载 作者:行者123 更新时间:2023-11-28 22:05:23 25 4
gpt4 key购买 nike

使用 Xcode6-Beta,我无法编译代码以在我的 iOS7.1 设备上运行。我收到这样的错误:

While building module 'UIKit' imported from /Users/johnboiles/Programming/iOS/Playground-ios/Playground-ios/AppDelegate.h:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^
In file included from /Users/johnboiles/Programming/iOS/Playground-ios/Playground-ios/AppDelegate.m:9:
/Users/johnboiles/Programming/iOS/Playground-ios/Playground-ios/AppDelegate.h:9:9: fatal error: could not build module 'UIKit'
#import <UIKit/UIKit.h>
~~~~~~~^

有趣的是 Foundation.framework 实际上不在 /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/System/Library/Frameworks 就像在以前版本的 Xcode 中一样。我没有(至少有意识地)修改 SDK 中的任何内容。

最佳答案

删除并重新安装 Xcode6-Beta 解决了这个问题。

如果有人对 Foundation.framework 发生了什么有任何见解,我很乐意听听。

关于ios - Xcode6 'Foundation/Foundation.h' 找不到文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24152721/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com