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