Pushwoosh / pushwoosh-phonegap-plugin

Pushwoosh PhoneGap Build Plugin
Other
109 stars 139 forks source link

'Pushwoosh/Pushwoosh.h' file not found #387

Closed jwasnoggin closed 1 year ago

jwasnoggin commented 1 year ago

I'm trying to use this plugin with an Ionic Cordova project, but the build for iOS fails with the message "'Pushwoosh/Pushwoosh.h' file not found".

I can see that this file exists inside the Pods folder, but it appears the plugin code can't find it.

How can I fix this problem?

jwasnoggin commented 1 year ago

I was able to build for iOS by downgrading to version 8.3.4. However, this breaks the Android build due to https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/issues/376.

Techsorcist commented 1 year ago

@jwasnoggin, may I ask you if your project contains the .xcworkspace file that is generated after adding the plugin, and you open it.

Also, could you navigate to the iOS project directory and run 2 commands via the terminal:

  1. pod deintegrate
  2. pod install
jwasnoggin commented 1 year ago

I think it may have been due to an error while adding the platform. The above commands resulted in a different error but didn't fix the problem. However removing and reinstalling the iOS platform solved the problem.

ipehimanshu commented 1 year ago

@jwasnoggin

which cordova ios version it works for you sir?

Thank you

jwasnoggin commented 1 year ago

@ipehimanshu This is with cordova 10 and cordova-ios 5.1.1