码迷,mamicode.com
首页 > 移动开发 > 详细

iOS cannot find folder xcdatamodeld Xcode 7

时间:2015-09-22 14:21:13      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:

今天升级xcode7时发现了个这个编译bug,说是找不到xcdatamodeld。

 

 解决方法如下:

I had the same problem. Here are the steps I used to solve it: 

  1. Right-click on your project file in Xcode and select ‘Show in Finder‘.
  2. Right-click on your .xcodeproj and select ‘Show Package Contents‘.
  3. Right-click on the project.pbxproj and open it with TextEdit (or any text editor you prefer).
  4. Search for "/* Begin XCVersionGroup section */".
  5. In my case, I had 2 entries for the .xcdatamodeld file in the XCVersionGroup section. I deleted the first one, which was not accurate (had only one child version, whereas my .xcdatamodeld should have had 3 .xcdatamodel versions), saved the file, and this fixed it for me.

 

iOS cannot find folder xcdatamodeld Xcode 7

标签:

原文地址:http://www.cnblogs.com/breezemist/p/4828692.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!