简体   繁体   English

我尝试编译我的应用程序时出现错误

[英]Im getting a error when I try and compile my app

Im Getting this error: error: /Users/*****/Dropbox/*******/iPad:iPhone/******/*****/PNGs/../******.png: No such file or directory when I try and compile my app. 我正在得到这个错误: error: /Users/*****/Dropbox/*******/iPad:iPhone/******/*****/PNGs/../******.png: No such file or directory当我尝试编译我的应用程序时, error: /Users/*****/Dropbox/*******/iPad:iPhone/******/*****/PNGs/../******.png: No such file or directory Whats Wrong 怎么了

That means it can't find a file. 这意味着它找不到文件。 Try deleting and reinserting the file that Xcode cannot find. 尝试删除并重新插入Xcode找不到的文件。

The file path is wrong. 文件路径错误。

  1. Spot the concerned file in the ressource file list of your project 在项目的资源文件列表中发现相关文件
  2. Edit the path of the file by choosing the good file in the finder 通过在查找器中选择正确的文件来编辑文件的路径

In Xcode 4, you can edit the ressource path in the Utility view, at the right at the interface. 在Xcode 4中,您可以在界面右侧的Utility视图中编辑资源路径。 Concerning Xcode 3, I don't remember :D 关于Xcode 3,我不记得了:D

You also can delete the Reference of the file from your project, and add it again to the project. 您还可以从项目中删除文件的引用,然后将其重新添加到项目中。

The directory looks like you are testing in iOS Simulator. 该目录看起来像您正在iOS模拟器中进行测试。

  • Make sure the file exists. 确保文件存在。
  • Check the spelling in your code. 检查代码中的拼写。
  • Perhaps just delete the file in Xcode and add it again. 也许只是删除Xcode中的文件,然后再次添加即可。

在项目树中找到用红色突出显示的文件名,将其从此处删除并放置正确的文件名。

You need to make sure the file exists first. 您需要确保文件首先存在。 When you create the project make sure you are placing it in a directory somewhere in your file system. 创建项目时,请确保将其放置在文件系统中的某个目录中。

暂无
暂无

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

相关问题 我从我的应用程序中删除了flite文件,现在当我尝试重新导入它们时,我收到了一个错误 - I deleted flite files from my app and now when i try to re-import them, i'm getting an error 当我尝试在app store上传新版本时获取appunes错误90046 for applink - when i try to upload new build on app store getting itunes error 90046 for applink 我完成了我的应用程序,但是当我尝试运行模拟器时,此错误代码一直显示 - I finished my app, but this error code keeps showing up when I try to run the simulator 0xE800003a当我尝试在设备上安装第二个应用程序时出错 - 0xE800003a Error when I try to install a second app onto my device 当我尝试通过iPhone为我的应用访问联系人时,kABAuthorizationStatusDenied? - kABAuthorizationStatusDenied when i try to access contacts from the iphone for my app? 问题当我尝试将Iphone应用发布到appstore时 - Problem When I try to publish my Iphone app to appstore 当我使用我的应用程序时如何关闭其他应用程序的推送通知 - How can I turn off push notifications of other apps when Im using my app 我没有这样的桌子 <table name> 从sqlite检索数据时出错? - Im getting no such table <table name> error when i retrieve the data from sqlite? 当我从其他应用程序向我的应用程序添加文件夹时出现错误,例如没有此类文件或目录 - when i am adding folder from other app to my app am getting error like no such file or directory 当我尝试在Android模拟器上运行Titan App时出现错误 - error when I try to run titanium app on android emulator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM