Apple Mach-O Linker Error using Core Data classes in OCUnit

前端 未结 3 1831
不思量自难忘°
不思量自难忘° 2021-01-18 17:12

OK, here\'s my code in my test class:

 - (NSManagedObjectContext*)managedObjectContextWithConcurrencyType:(NSManagedObjectContextConcurrencyType)concurrencyT         


        
3条回答
  •  遥遥无期
    2021-01-18 18:12

    Changing 'No Common Blocks' from Yes to No (under Targets->Build Settings->Apple LLVM - Code Generation) fixed the problem. This fixed my problem. Hope it will help to you.

提交回复
热议问题