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
  •  | 
  •  

문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top