ios - Upgrading to Xcode 7 creates "Missing current version declaration" warning on CoreData model -


figured i'd post complete question/answer here known bug:

when upgrading xcode 7 (stable/beta) previous release, build gives new warning: "missing current version declaration" coredata model file.

worst of all, double-clicking warning goes nowhere, & there no obvious hints within xcode resolution. how resolve issue?

while in xcode’s core data model editor, in menu bar select editor -> add model version.

enter image description here

then in version name free specify like, can type in model name. (verified on xcode 7 beta 4)

(this result in creation .xccurrentversion in data model bundle)


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -