aryaxt / OCMapper

Objective-C library to easily map NSDictionary to model objects, works perfectly with Alamofire. ObjectMapper works similar to GSON
MIT License
347 stars 45 forks source link

watchOS support #63

Open arthabus opened 7 years ago

arthabus commented 7 years ago

Is there a way to use OCMapper with watchOS? If not at the moment are there any chances to support watchOS platform any soon?

I'm integrating watch support in my project and already using OCMapper in the iOS app. I thought to pass my objects as json between host app and watch and to automatically serialize/deserialize them but I've stuck integrating OCMapper to watch extension and getting the following error while executing pod install:

Analyzing dependencies [!] The platform of the target Watch Extension (watchOS 3.1) is not compatible with OCMapper (2.1), which does not support watchos.

the podfile:

target 'Watch Extension' do pod 'OCMapper' end