I'm just trying to get my app woking with appportable and I keep getting the following error from RestKit while compiling

/Pods/Headers/RestKit/RestKit/CoreData/RKManagedObjectStore.h:246:78: error: 
       expected a type

 - (NSManagedObjectContext *)newChildManagedObjectContextWithConcurrencyType:    (NSManagedObjectContextConcurrencyType...

Has anyone come across this before..?

有帮助吗?

解决方案

Apportable does not yet implement NSManagedObjectContextConcurrencyType.

~/.apportable  $  cd ~/.apportable/SDK/System/
~/.apportable/SDK/System  $ grep -r NSManagedObjectContextConcurrencyType *
~/.apportable/SDK/System  $

If you're not using that part of RestKit, you could comment out the code causing the warning. Otherwise, currently you'd need to reimplement it with other API's.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top