You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
The following build commands failed:
CompileC build/中国.build/Debug-iphonesimulator/中国.build/Objects-normal/i386/HCPLDPlugin.o 中国/Plugins/cordova-hot-code-push-local-dev-addon/HCPLDPlugin.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
Chinese project name can not cordova build ios, but the English name of the project can cordova build ios
The text was updated successfully, but these errors were encountered:
cordova create china m.test.com 中国
cd china
cordova platform add ios
cordova plugin add cordova-hot-code-push-plugin
cordova plugin add cordova-hot-code-push-local-dev-addon
cordova build ios
#The above will get an error
---------------------------------
cordova create china m.test.com china
cd china
cordova platform add ios
cordova plugin add cordova-hot-code-push-plugin
cordova plugin add cordova-hot-code-push-local-dev-addon
cordova build ios
#The above is normal, because it is the English name
cordova create china m.test.com 中国
cd china
cordova platform add ios
cordova plugin add cordova-hot-code-push-plugin
cordova build ios
cordova-hot-code-push-local-dev-addon uses Swift code, and for some reason plugin can't inject bridging header into the project because of the chinese characters. Created an issue in that repo: nordnet/cordova-hot-code-push-local-dev-addon#11 . Discussions should be continued in there.
Right now I don't have a fix for local-dev add-on. I think there are only two options now:
If you want to use it for development - rename project to English. Just for development time. When it's time to release - you will remove local-dev add-on anyway, and will rename the project. So it should build and work just fine.
Don't use cordova-hot-code-push-local-dev-addon at all, just the main plugin.
Will close this one, since the issue with the other plugin.
** BUILD FAILED **
The following build commands failed:
CompileC build/中国.build/Debug-iphonesimulator/中国.build/Objects-normal/i386/HCPLDPlugin.o 中国/Plugins/cordova-hot-code-push-local-dev-addon/HCPLDPlugin.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
Chinese project name can not cordova build ios, but the English name of the project can cordova build ios
The text was updated successfully, but these errors were encountered: