简体   繁体   English

iPhone-Xcode 3.2.3拒绝运行模拟器3.1.3

[英]iphone - Xcode 3.2.3 refusing to run simulator 3.1.3

I have a project build to work with iPhone 3* and 4. Base SDK is set to 4. Target OS is set to 3. I have an iPhone 3GS with 3.1.3. 我有一个可以与iPhone 3 *和4一起使用的项目。将基本SDK设置为4。将目标OS设置为3。我有一个带有3.1.3的iPhone 3GS。

Xcode 3.2.3 refuses to install the app on this iPhone. Xcode 3.2.3拒绝在此iPhone上安装该应用程序。 It refuses also to run the simulator. 它也拒绝运行模拟器。

WHen I try to debug on the device I get "Failed to upload". 当我尝试在收到“无法上传”的设备上进行调试时。 When I try to debug on the simulator I get a message telling me that "simulator could not find the sdk"... 当我尝试在模拟器上调试时,收到一条消息,告诉我“模拟器找不到sdk” ...

Any clues? 有什么线索吗?

thanks 谢谢

I have resolved partially the issue changing the compiler from GCC 4.2 to LLVM GCC 4.2. 我已经部分解决了将编译器从GCC 4.2更改为LLVM GCC 4.2的问题。

Don't ask me why, but now I can install the application on my 3GS running 3.1.3. 不要问我为什么,但是现在我可以在运行3.1.3的3GS上安装该应用程序了。

The question is: why GCC 4.2 is not working. 问题是:为什么GCC 4.2无法正常工作。

At least the solution for this question is this. 至少这个问题的解决方案是这样。

To expand on Jason Coco's answer: If you go to the Project Info screen and click Build, you can choose what Base SDK to use (4.0) and then scroll down to iPhone OS Deployment Target version and set it to 3.1.3 or whatever. 要扩展Jason Coco的答案,请执行以下操作:如果转到Project Info屏幕,然后单击Build,则可以选择要使用的基本SDK(4.0),然后向下滚动到iPhone OS Deployment Target版本并将其设置为3.1.3或其他。 However, you also have to go to the Targets section under Groups & Files (red bullseye) select your target and get the Info build page, and set your iPhone OS Deployment Target there too. 但是,您还必须转到“组和文件”下的“目标”部分(红色靶心),选择目标并获取“信息”构建页面,并在那里也设置iPhone OS部署目标。

Did you do that also? 你也这样做了吗? (from the link posted) (来自发布的链接)

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

相关问题 如何在Xcode 3.2.3(iPhone SDK 4 beta)中启动iPhone 3.1.3项目 - How to start an iPhone 3.1.3 project in Xcode 3.2.3 (iPhone SDK 4 beta) 如何将iPhone项目从XCode 3.1.3-SDK 3.0导入到XCode 3.2.3-SDK 4.0.1 - How to import an iPhone Project from XCode 3.1.3 - SDK 3.0 to XCode 3.2.3 - SDK 4.0.1 是否可以使用XCode 3.2.3中的iPhone模拟器3.1? - Is it possible to use iPhone Simulator 3.1 from XCode 3.2.3? 如何在iPhone 3.1.3模拟器上运行通用应用程序? - How do I run a universal app on the iPhone 3.1.3 simulator? xCode 3.2.3和模拟器的使用率为50% - xCode 3.2.3 and simulator at 50 percent XCode - Iphone 项目无法在 iphone 模拟器上运行? - XCode - Iphone project cannot run on iphone simulator? iPhone CoreLocation框架在带有Simulator 4.1的XCode SDK 3.2.4和带有Simulator 4.0.X的XCode SDK 3.2.3以及带有OS 4.1的iTouch设备上不起作用 - iPhone CoreLocation framework not working on XCode SDK 3.2.4 with Simulator 4.1 and XCode SDK 3.2.3 with Simulator 4.0.X and iTouch device with OS 4.1 在XCode 3.2.3中验证iPhone应用程序 - Validate iPhone application in in XCode 3.2.3 升级到Xcode 3.2.3和iPhone SDK 4 - Upgrading to Xcode 3.2.3 and iPhone SDK 4 升级到带操作系统4.0的XCode 3.2.3 Beta4后,未列出iPhone模拟器3.x. - iPhone Simulator 3.x not listed after upgrading to XCode 3.2.3 Beta4 with OS 4.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM