我的appname()是“Sample Sample”,它在Ti-SDK 2.1.3之前工作正常,在我更新到Ti SDK 3.0.0和MVC合金之后,它显示“Sample Sample不是NCName的有效值”并生成一个Tiapp.xml中TiApp编辑器中的red-x弹出错误消息。 这对我来说非常关键,因为之前的版本在appstore上,需要快速更新。 感谢名单
My appname () was "Sample Sample" which was working fine till Ti-SDK 2.1.3, After i updated to Ti SDK 3.0.0 and MVC alloy it is showing "Sample Sample is not a valid value for NCName" and generates a red-x pop-up error message in the TiApp Editor in Tiapp.xml. This is very critical for me as previous version is on appstore and need to update the same quickly. Thanx
最满意答案
它涉及到这个bug:
https://jira.appcelerator.org/browse/TIMOB-12171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
在tiapp.xml的节点中有空格会触发问题: <name>App Test</name>
String internationalization helps to avoid this problem http://developer.appcelerator.com/blog/2012/02/internationalization-of-app-names.html#appxml
更多推荐
发布评论