我正在尝试在iOS环境中编译Sencha Touch APP,但是我收到了这个我无法理解的错误消息。我虽然它与冲突文件有关,但事实并非如此。消息不清楚。如果有人收到此消息,我将很高兴收到你的来信。
我正在使用Touch 2和Sencha Cmd 5.0.2.270
[INF] Concatenating output to file /Users/marcocastro/Documents/TradebookApp/tradebook_dev/build/temp/production/Tradebook/sencha-compiler/cmd-packages.js
[INF] writing content to /Users/marcocastro/Documents/TradebookApp/tradebook_dev/bootstrap.js
[INF] appending content to /Users/marcocastro/Documents/TradebookApp/tradebook_dev/bootstrap.js
[INF] appending content to /Users/marcocastro/Documents/TradebookApp/tradebook_dev/bootstrap.js
[INF] appending content to /Users/marcocastro/Documents/TradebookApp/tradebook_dev/bootstrap.js
[INF] Appending content to /Users/marcocastro/Documents/TradebookApp/tradebook_dev/bootstrap.json
[INF] Concatenating output to file /Users/marcocastro/Documents/TradebookApp/tradebook_dev/cordova/www/app.js
[INF] merging resources into /Users/marcocastro/Documents/TradebookApp/tradebook_dev/cordova/www/resources
[INF] merged 0 resources into /Users/marcocastro/Documents/TradebookApp/tradebook_dev/cordova/www/resources
[INF] merging resources into /Users/marcocastro/Documents/TradebookApp/tradebook_dev/cordova/www
[INF] merged 0 resources into /Users/marcocastro/Documents/TradebookApp/tradebook_dev/cordova/www
[INF] executing compass using system installed ruby runtime
identical ../css/app.css
[INF] Copying page resources to /Users/marcocastro/Documents/TradebookApp/tradebook_dev/cordova/www
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Failed to compress input
[ERR] at java.ut
[ERR] il.regex.Pattern$GroupHead.match(Pattern.java:4658)
[ERR] at java.util.regex.Pattern$Branch.
[ERR] match(Pattern.java:4604)
[ERR]
[ERR] at java.util.regex.Pattern$C
[ERR] harProperty.match(Pattern.java:3777)
[ERR] at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
[ERR] at java.util.regex.Pattern$BranchConn.match(Pattern.java:4568)
[ERR] at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
[ERR] at java.util.regex.Pattern$GroupTail.match(Pattern.java:4717)
[ERR]
[ERR] Total time: 13 seconds
[ERR] The following error occurred while executing this line:
/Users/marcocastro/Documents/TradebookApp/tradebook_dev/.sencha/app/build-impl.xml:394: The following error occurred while executing this line:
/Users/marcocastro/Documents/TradebookApp/tradebook_dev/.sencha/app/page-impl.xml:209: com.sencha.exceptions.ExBuild: Failed to compress input
谢谢, 马可·卡斯特罗
答案 0 :(得分:1)
当你的CSS被压缩并且压缩器遇到一些错误的语法时,通常会抛出此异常。将您的app.css
文件粘贴到验证器中并修复出现的任何错误(缺少分号?)。