How to Empty Caches and Clean All Targets Xcode 4 and later

后端 未结 12 2525
囚心锁ツ
囚心锁ツ 2020-11-21 07:07

Jonathan suggest here: Xcode Includes .xib files that have been deleted! that cleaning all targets and empty the caches will fix the problem with Xcode including deleted .xi

12条回答
  •  天命终不由人
    2020-11-21 08:00

    You have to be careful about the xib file. I tried all the above and nothing worked for me. I was using custom UIButtons defined in the xib, and realized it might be related to the fact that I had assigned attributes there which were not changing programmatically. If you've defined images or text there, remove them. When I did, my programmatic changes began to take effect.

提交回复
热议问题