简体   繁体   中英

How do I fix folder references inside of Xcode project

I made a huge mistake when I tried to delete a file on my project. So, I tried to reorganize it all again, but I ended up messing up everything. When I reopened the Xcode project I got all the folders filled as blue color instead of the standard yellow. After that if I run the project I got only a black screen. How do I fix that?

在此处输入图片说明

在此处输入图片说明

I got to fix by creating another Xcode Project, then once I already had all files containing the code and also because the project is just starting I copied the files and paste, same for the storyboard, then I just setup the outlets correctly. Everything is working perfectly!

PS: Don't forget to use a version control such as: Git Kraken, Source Tree and etc. Because if you face an error like the one I did you'll waste your development time to fix an error provided by a simple lack of attention. If I had a version control, I would just rollback the project in one minute.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM