Xcode Includes .xib files that have been deleted!

后端 未结 9 1344
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-30 01:11

I have a problem with Xcode that I can\'t seem to resolve. I have a view controller lets call \"foobarViewController\", there was a \"foobarViewController.xib\" to accompany

9条回答
  •  时光取名叫无心
    2020-12-30 01:54

    Did you delete the app from the simulator? When Xcode installs a development build, either in the Simulator or on the device, it doesn't delete existing files. It simply overwrites files and adds new files. This means that if you delete a file from Xcode, it will be left in the already-installed built product. The solution is to delete the product from your simulator/device before installing.

提交回复
热议问题