getting merge conflicts with inferredMetricsTieBreakers in Storyboard file

后端 未结 4 1951
攒了一身酷
攒了一身酷 2021-02-01 13:07

Whenever I get a conflict in a storyboard file, I can usually resolve it. However, I have an issue that has now come up twice in two weeks.

At the very bottom of my Stor

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-01 13:47

    Same thing going on here. Got errors in my storyboard file after using your "choose both" method. Found that searching the storyboard for the segue references resulted in one segue that was mentioned inside the inferredMetricsTieBreakers section. Removing the segue from the list solved my breaking build.

    To try and find out what this inferredMetricsTieBreakers does, I tried removing the whole section first. Breaking my build. Next I removed all the items. During the build, Xcode added 2 new and different segues to my list (before the merge I had 3). The application I'm building is working fine.

    My conclusion: it's safe to remove all the items and perform a clean build. This will keep your storyboard clean.

提交回复
热议问题