Property 'settings' not found on object of type 'id<CDVCommandDelegate>' in phonegap Urbanairship push notification configuration

StackOverflow https://stackoverflow.com/questions/21669716

  •  09-10-2022
  •  | 
  •  

Pregunta

When trying to integrate the phonegap urbanairship iOS plugin I get a build error as follows: In file PushNotificationPlugin.m, Property 'settings' not found on object of type 'id<CDVCommandDelegate>'. How to fix this?
Thanks.

¿Fue útil?

Solución

I guess it had something to do with the library versions. This error was solved by upgrading phonegap to 2.9 and then adding the urbanairship plugin. The phonegap library upgrade was done using the cli.
Ref: https://stackoverflow.com/a/15165712/235273
I used the latest version of urbanairship library and linked with the libUAirship-3.0.2.a static file. The build then succeeds.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top