Missing file warnings showing up after upgrade to Xcode 4

后端 未结 21 1972
忘了有多久
忘了有多久 2020-11-30 17:23

I recently upgraded to Xcode 4 (which is a great upgrade) but now I\'m getting some warnings that I did not get before. I have looked through forums and other SO posts but

21条回答
  •  暖寄归人
    2020-11-30 17:54

    I solved it the following way:

    1. Check the path to the missing file.
    2. Create missing files at appropriate locations within your project directory
    3. Add them to your project using "Add Files to "project"" and create references only (do not copy the files)
    4. The warnings should disappear at this point.
    5. From within Xcode delete the files making sure you click "Delete" instead of the default "Delete Reference Only"
    6. You're done.

提交回复
热议问题