nordnet / cordova-hot-code-push-local-dev-addon

[DEPRECATED] - Cordova plugin that adds local development feature to the Hot Code Push plugin.
https://github.com/nordnet/cordova-hot-code-push-local-dev-addon/issues/29
MIT License
24 stars 30 forks source link

HCPLDPlugin.m Unknown type name 'SocketIOClient' #3

Closed albinekb closed 8 years ago

albinekb commented 8 years ago

Hi, i updated this plugin and now i can't compile it with Xcode.

image

nikDemyankov commented 8 years ago

Hi, can you open HCPLDPlugin.h and check if #import <YOUR_PROJECT_NAME>-Swift.h header is included in there? If not - try to run cordova prepare ios (or ionic prepare ios) and check if it's added in there.

And by "updated this plugin" you mean moving from v1.0 of hot code push plugin to v1.1 and installing local-dev add-on? And how did you migrated: reinstalled the platform, or manually?

nikDemyankov commented 8 years ago

It is seems similar to issue https://github.com/nordnet/cordova-hot-code-push/issues/37 , which was fixed automatically after running cordova prepare ios.

albinekb commented 8 years ago

Header was now included, Running cordova prepare ios did the magic,

Updated both plugins by first removing them and then adding them.

nikDemyankov commented 8 years ago

Good. Will still try to reproduce it like so, just in case.

pengzhiqiang110 commented 6 years ago

Can you speak Chinese I don't quite understand what you said