Question

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..?

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top