Ionic cloud package ios fail when app name is Chinese


#1

Hi all,

I hope to set APP name in Chinese. So I set APP name in config.xm. Likes below:

  <name>我的应用</name>
  <description>我的Ionic应用。</description>
  <author email="hi@ionicframework" href="http://ionicframework.com/">test</author>

But it cannot built success on Ionic cloud. The error info is below:

=== BUILD TARGET ÁõòÁÇπÊú∫ OF PROJECT 盘点机 WITH CONFIGURATION Debug ===

Check dependencies
Bundle identifier is missing. ÁõòÁÇπÊú∫ doesn’t have a bundle identifier for the Debug build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.
Code signing is required for product type ‘Application’ in SDK ‘iOS 10.2’

** ARCHIVE FAILED **

The following build commands failed:
Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/package/workspace/apps-6e25cf3e-31/cordova/platforms/ios/cordova/build-debug.xcconfig,-workspace,我的应用.xcworkspace,-scheme,我的应用,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,我的应用.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/package/workspace/apps-6e25cf3e-31/cordova/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/package/workspace/apps-6e25cf3e-31/cordova/platforms/ios/build/sharedpch

Is this a bug?? Or…


Ionic package build not support Chinese app name
#2

Can you try building this locally?


#3

I cannot, I have not environment.


#4

Ok.

Seems spaces, Chinese and other special characters in app names seem to be a problem for Cordova in general. There exist plugins to fix this https://github.com/blakgeek/cordova-plugin-app-name (I am not sure if you will be able to use this with Ionic Package - but please try). With this you give the project a “normal” name and then change the display name afterwards. I think this is the way to go.


#5

Thanks very much! I will try this plugin. Thank you again : )