Build fails with “Command failed with a nonzero exit code”

前端 未结 30 2752
栀梦
栀梦 2020-11-28 09:15

When I try to build my app with Xcode, an error interrupts the build process:

Command CompileStoryboard failed with a nonzero exit code

30条回答
  •  伪装坚强ぢ
    2020-11-28 09:50

    This error happened to me when I forgot to change entity Properties before creating NSManagedObject subclass. Solved by:

    1. delete Entity+CoreDataClass.swift and Entity+CoreDataProperties.swift.
    2. under "class" of the entity model inspector, change "module" to Current Product Module and "codegen" to Manual/None.
    3. recreate the NSManagedObject.

提交回复
热议问题