Pushwoosh / pushwoosh-react-native-plugin

Other
57 stars 43 forks source link

ios - build failed - "Use of undeclaredidentifier 'Pushwoosh'" #109

Closed Or-B closed 4 years ago

Or-B commented 4 years ago

Hi, there is a problem at Pushwoosh.m file in these lines: if (proxyUrl && config[@"reverse_proxy_url"]){ [[Pushwoosh sharedInstance] setReverseProxy:proxyUrl]; }

you need to replace Pushwoosh by PushwooshPlugin

wfhm commented 4 years ago

@Or-B checking it

wfhm commented 4 years ago

@Or-B

I could not reproduce it. PushwooshPlugin class does not have the setReverseProxy method, but Pushwoosh class does (was added with the 6.0.5 version of Pushwoosh iOS SDK). Could you please check whether Pushwoosh iOS SDK is resolved to 6.0.5 version, and, if not, try running pod repo update, then pod update.

rogerroelofs commented 4 years ago

That resolved it for me.