After upgrading to Xcode 7 to support iOS9, I had the following build error
error: Cannot read bundle contents (Error Domain=NSCocoaErrorDomain Code=260 "The folder "VoIP.xcdatamodeld" doesn't exist.
Create target myTitle of myTitle project with Debug setting
DataModelCompile Build / Products / Debug-iphoneos / myTitle.app / / Users / myself / MyDev / m 1 / app / VoIP / VoIP / VoIP.xcdatamodeld cd / Users / itself / MyDev / m1 / app / app / iPhone export PATH = "/Applications/Xcode.app/Contents/Developer/Platforms / iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/USR/ben : / bin: / USR / SBIN: / SBIN "/Applications/Xcode.app/Contents/Developer/usr/bin/momc --sdkroot / Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS9.0.sdk --iphoneos-deployment-target 7.0 --module myTitle / Users / myself / MyDev / m1 / app / VoIP / VoIP / VoIP.xcdatamodeld / Users / myself / MyDev / m 1 / app / app /iPhone/Build/Products/Debug-iphoneos/myTitle.app/
/Users/myself/MyDev/m1/app/VoIP/VoIP/VoIP.xcdatamodeld :: error: cannot read package contents (Error Domain = NSCocoaErrorDomain Code = 260 "folder" VoIP.xcdatamodeld "does not exist." UserInfo = 0x7fd0f350f99f9909999 NSFilePath = / Users / self / MyDev / m1 / application / VoIP / VoIP / VoIP.xcdatamodeld, NSUserStringVariant = (Folder), NSUnderlyingError = 0x7fd0f350f940 "Operation could not be completed (error OSStatus -43.)"})
How can I solve it?
The only link to this file in my project is this (in the .project file)
449367DE1338E89100DB4AC9 = { isa = XCVersionGroup; children = ( 449367DF1338E89100DB4AC9 , ); currentVersion = 449367DF1338E89100DB4AC9 ; name = myTitle.xcdatamodeld; path = ../../../../VoIP/VoIP/VoIP.xcdatamodeld; sourceTree = "<group>"; versionGroupType = wrapper.xcdatamodel; };
I donβt know how this happened and why it worked without problems in previous versions of xcode.
ios iphone xcode xcode7
cateof
source share