<i id='SODE8'><tr id='SODE8'><dt id='SODE8'><q id='SODE8'><span id='SODE8'><b id='SODE8'><form id='SODE8'><ins id='SODE8'></ins><ul id='SODE8'></ul><sub id='SODE8'></sub></form><legend id='SODE8'></legend><bdo id='SODE8'><pre id='SODE8'><center id='SODE8'></center></pre></bdo></b><th id='SODE8'></th></span></q></dt></tr></i><div id='SODE8'><tfoot id='SODE8'></tfoot><dl id='SODE8'><fieldset id='SODE8'></fieldset></dl></div>
      <bdo id='SODE8'></bdo><ul id='SODE8'></ul>

      <legend id='SODE8'><style id='SODE8'><dir id='SODE8'><q id='SODE8'></q></dir></style></legend>
      <tfoot id='SODE8'></tfoot>

      <small id='SODE8'></small><noframes id='SODE8'>

    1. 重新安装 UIKit 和 Foundation 框架后 iOS SDK 损坏

      iOS SDK broken ever after reinstall UIKit and Foundation frameworks not found(重新安装 UIKit 和 Foundation 框架后 iOS SDK 损坏)
      • <bdo id='d36E2'></bdo><ul id='d36E2'></ul>
          • <tfoot id='d36E2'></tfoot>

            <legend id='d36E2'><style id='d36E2'><dir id='d36E2'><q id='d36E2'></q></dir></style></legend>

            <small id='d36E2'></small><noframes id='d36E2'>

            <i id='d36E2'><tr id='d36E2'><dt id='d36E2'><q id='d36E2'><span id='d36E2'><b id='d36E2'><form id='d36E2'><ins id='d36E2'></ins><ul id='d36E2'></ul><sub id='d36E2'></sub></form><legend id='d36E2'></legend><bdo id='d36E2'><pre id='d36E2'><center id='d36E2'></center></pre></bdo></b><th id='d36E2'></th></span></q></dt></tr></i><div id='d36E2'><tfoot id='d36E2'></tfoot><dl id='d36E2'><fieldset id='d36E2'></fieldset></dl></div>

                  <tbody id='d36E2'></tbody>
                本文介绍了重新安装 UIKit 和 Foundation 框架后 iOS SDK 损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                对于 pch 文件,我收到以下错误:

                For the pch file I get these errors:

                /Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:6:34: error: Foundation/Foundation.h: No such file or directory

                /Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:6:34: error: Foundation/Foundation.h: No such file or directory

                /Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:7:24: error: UIKit/UIKit.h: No such file or directory

                /Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:7:24: error: UIKit/UIKit.h: No such file or directory

                这是默认情况下的文件:

                Here's the file as it is by default:

                //
                // Prefix header for all source files of the 'iPhone Monkey Curling' target in the 'iPhone Monkey Curling' project
                //
                
                #ifdef __OBJC__
                #import <Foundation/Foundation.h>
                #import <UIKit/UIKit.h>
                #endif
                

                我重新安装了 Xcode 和 iOS SDK,但这并没有解决问题.将 iAd 框架添加到我的一个项目后出现此问题,但我的所有项目都无法编译.

                I reinstalled Xcode and the iOSSDK but that did not fix theproblem. This problem occurred after adding the iAd framework to one of my projects but all of my projects won'tcompile.

                我使用的是最新的 SDK (4.1).

                I'm using the latest SDK(4.1).

                框架在项目中.出于某种原因,当我尝试添加新框架时,它会列出 iOS 项目中的 OS X 框架.

                The frameworks are there in the project. For some reason, when I try to add a new framework, it lists the OSX ones in an iOSproject.

                感谢您的帮助.

                推荐答案

                在 Apple 开发者论坛上,我设法获得了有关问题的帮助.事实证明,构建选项被设置为奇怪的东西.

                On the Apple developer forums I managed to get help on pin-pointing the issue. It turns out somehow a build option was set to something odd.

                这是框架搜索路径"选项.如果有人遇到类似问题,请确保这是空的.

                It was the "Framework Search Paths" option. Make sure this is empty if anyone has a similar problem.

                这篇关于重新安装 UIKit 和 Foundation 框架后 iOS SDK 损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                What values should I use for iOS boolean states?(我应该为 iOS 布尔状态使用什么值?)
                Why does Objective-C use YES/NO macro convention instead of true/false?(为什么 Objective-C 使用 YES/NO 宏约定而不是 true/false?)
                How do I get NSJSONSerialization to output a boolean as true or false?(如何让 NSJSONSerialization 将布尔值输出为真或假?)
                Is there any difference between bool, Boolean, and BOOL in Objective-C?(Objective-C 中的 bool、Boolean 和 BOOL 之间有什么区别吗?)
                BOOL to NSString(布尔到 NSString)
                Set bool property of all objects in the array(设置数组中所有对象的布尔属性)

                1. <small id='kZGW9'></small><noframes id='kZGW9'>

                  <i id='kZGW9'><tr id='kZGW9'><dt id='kZGW9'><q id='kZGW9'><span id='kZGW9'><b id='kZGW9'><form id='kZGW9'><ins id='kZGW9'></ins><ul id='kZGW9'></ul><sub id='kZGW9'></sub></form><legend id='kZGW9'></legend><bdo id='kZGW9'><pre id='kZGW9'><center id='kZGW9'></center></pre></bdo></b><th id='kZGW9'></th></span></q></dt></tr></i><div id='kZGW9'><tfoot id='kZGW9'></tfoot><dl id='kZGW9'><fieldset id='kZGW9'></fieldset></dl></div>

                        <tbody id='kZGW9'></tbody>
                      • <bdo id='kZGW9'></bdo><ul id='kZGW9'></ul>
                          <tfoot id='kZGW9'></tfoot>
                        • <legend id='kZGW9'><style id='kZGW9'><dir id='kZGW9'><q id='kZGW9'></q></dir></style></legend>