Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-18-2011, 01:30 AM   #1 (permalink)
Registered Member
 
Join Date: Dec 2011
Posts: 4
yupjpn is on a distinguished road
Default Accidentally Moved Xcode Project to Trash

Hi all,
I accidentally moved my Xcode project to the trash, and because I realized in time, I took it out and put it back onto my desktop. When I tried to open it though, all the files would appear red. What should I do? Please help me - the code alone took about 10 hours!
yupjpn is offline   Reply With Quote
Old 12-18-2011, 03:23 AM   #2 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 346
mashercakes is on a distinguished road
Default

Quote:
Originally Posted by yupjpn View Post
Hi all,
I accidentally moved my Xcode project to the trash, and because I realized in time, I took it out and put it back onto my desktop. When I tried to open it though, all the files would appear red. What should I do? Please help me - the code alone took about 10 hours!
Xcode can't find the files associated with the project. Was the project on your desktop before? If not, close the project in Xcode, move it back where it was originally, then re-open it. If it was on your desktop before, then there are other files which are either still in trash or have been moved somewhere else.
__________________
PicBoard - a visual support app for children with autism, communication difficulties or learning difficulties. Available now for iPad.

TalkBoard - Adds Communication Aid features to PicBoard, for non-verbal children or adults. Available now for iPad.
mashercakes is offline   Reply With Quote
Old 12-18-2011, 09:01 AM   #3 (permalink)
Registered Member
 
dennno's Avatar
 
Join Date: Sep 2011
Posts: 20
dennno is on a distinguished road
Default

Are all the files red? If not then your project may be referencing a static library that got deleted (has happened to me). Check the classes that you wrote, it's hard to guess whether you're referencing certain classes or not, so you'll have to check these yourself.

Did you try placing the project folder back to where it was rather than the desktop? Or was it at the desktop?
dennno is offline   Reply With Quote
Old 12-18-2011, 06:20 PM   #4 (permalink)
Registered Member
 
Join Date: Dec 2011
Posts: 4
yupjpn is on a distinguished road
Default THANK YOU SO MUCH BUT ONE LAST THING!

Quote:
Originally Posted by dennno View Post
Are all the files red? If not then your project may be referencing a static library that got deleted (has happened to me). Check the classes that you wrote, it's hard to guess whether you're referencing certain classes or not, so you'll have to check these yourself.

Did you try placing the project folder back to where it was rather than the desktop? Or was it at the desktop?
Thank you so much, denno and mashercakes! Just one last thing - Everything in my project is restored back to normal, except for the "Info.plist" file. I can find it in my Finder, but it doesn't seem to appear in my Xcode project. Is there any way to fix this?
yupjpn is offline   Reply With Quote
Old 12-19-2011, 06:08 PM   #5 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 51
rahulvyas is on a distinguished road
Default

Quote:
Originally Posted by yupjpn View Post
Thank you so much, denno and mashercakes! Just one last thing - Everything in my project is restored back to normal, except for the "Info.plist" file. I can find it in my Finder, but it doesn't seem to appear in my Xcode project. Is there any way to fix this?

If you can find the file in finder just add the info.plist again to your project.
rahulvyas is offline   Reply With Quote
Old 12-19-2011, 11:07 PM   #6 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 280
dapis is on a distinguished road
Default

Quote:
Originally Posted by yupjpn View Post
Hi all,
I accidentally moved my Xcode project to the trash, and because I realized in time, I took it out and put it back onto my desktop. When I tried to open it though, all the files would appear red. What should I do? Please help me - the code alone took about 10 hours!
This is a good reason to keep Time Machine hooked up.
dapis is offline   Reply With Quote
Old 12-20-2011, 02:51 AM   #7 (permalink)
Registered Member
 
Join Date: Dec 2011
Posts: 4
yupjpn is on a distinguished road
Default

Quote:
Originally Posted by rahulvyas View Post
If you can find the file in finder just add the info.plist again to your project.
Thanks, I'll try that.
yupjpn is offline   Reply With Quote
Old 12-20-2011, 02:51 AM   #8 (permalink)
Registered Member
 
Join Date: Dec 2011
Posts: 4
yupjpn is on a distinguished road
Default

Quote:
Originally Posted by dapis View Post
This is a good reason to keep Time Machine hooked up.
Yeah it sure is...
yupjpn is offline   Reply With Quote
Reply

Bookmarks

Tags
project, trash, xcode

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 399
13 members and 386 guests
7twenty7, AppsBlogger, Creativ, Dalia, David-T, Duncan C, HemiMG, heshiming, LunarMoon, Murphy, pbart, teebee74, Tomsky
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,915
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:50 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0