문제

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