Xcode adds a lot of <animations/> tag in my storyboard and xib file

妖精的绣舞 提交于 2019-12-19 12:25:11

问题


Just wanna know if anybody has the same issue as mine: Xcode adds a lot of tags into the storyboard I touch. I try to remove but I can't because it keep adding those tags back.

It this a bug of the new Xcode I'm using (7.0.1)?


回答1:


As of Xcode 7.2 Beta (7C46I) released on 10/28/2015, just like these tags were added automatically when opening a Storyboard or XIB file in Xcode 7 or 7.1 on El Capitan, these tags are now being removed automatically by just opening a Storyboard or XIB file. (It now seems that the addition of the tags may have been unintentional.)

As this has caused some issues with modifications to Storyboard and XIB files within some of my teams I recommend that if you're working with multiple people on a project that you a) coordinate to all use the same version of Xcode and b) coordinate a time to switch from Xcode 7.1 to 7.2 to avoid unnecessary merge conflicts.

XIB file showing these tags removed after opening with Xcode 7.2 beta:




回答2:


Confirmed to be fixed on Xcode 7.2 live version (released Dec 8 2015)



来源:https://stackoverflow.com/questions/32909873/xcode-adds-a-lot-of-animations-tag-in-my-storyboard-and-xib-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!