Pushwoosh / pushwoosh-phonegap-plugin

Pushwoosh PhoneGap Build Plugin
Other
110 stars 139 forks source link

Trouble building - Cordova iOS #116

Closed rknell closed 9 years ago

rknell commented 9 years ago

Hi All,

Android is building well, iOS fails to build both with cordova build ios and firing the project up in xcode and trying to build there. If I remove the pushwoosh plugin it builds fine.

iOS version is 3.8.0

Not sure what you need to debug, but here is a screenshot:

screen shot 2015-08-13 at 9 44 10 am

Any help is much appreciated!

rknell commented 9 years ago

So what worked for me was adding the libz.dylib to the "link binary with libraries" section under Build Phases, and then I also added -lstdc++ flag to Build Settings > Linking > Other Linker Flags

DimanAM commented 9 years ago

Fixed by https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin/commit/7251edbbc1890bb596b4548cef369ff1a4227e09