How to disable no inverse relationship warning for CoreData in Xcode 4.2?

后端 未结 3 1117
时光说笑
时光说笑 2020-12-01 10:18

There was a MOMC_NO_INVERSE_RELATIONSHIP_WARNINGS setting on Xcode 3 but I cannot find it in Xcode 4.2 and trying to set it as a user defined build setting have no effect.

3条回答
  •  星月不相逢
    2020-12-01 11:06

    The setting is still there in Xcode 4. At least it is for me when I create a new project in Xcode 4.2 that uses Core Data. The MOMC_NO_INVERSE_RELATIONSHIP_WARNINGS setting is in the Data Model Version Compiler (MOMC) Warnings collection, which is towards the bottom of the build settings list.

提交回复
热议问题