Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos sencha touch生成应用程序问题_Macos_Extjs_Sencha Touch_Osx Lion_Sencha Touch 2 - Fatal编程技术网

Macos sencha touch生成应用程序问题

Macos sencha touch生成应用程序问题,macos,extjs,sencha-touch,osx-lion,sencha-touch-2,Macos,Extjs,Sencha Touch,Osx Lion,Sencha Touch 2,我正在使用sencha touch和sencha touch Cmd生成应用程序。我正在使用此语法sencha生成应用程序MyApp Path/to/folder all。但它的作用是在我的senchatouchsdk文件夹中创建这个项目。为什么以及如何在其他地方进行项目 下面是我的命令的输出 Zafars-MacBook-Pro:secha-touch-sdk zafarsaleem$ sencha generate app /Applications/XAMPP/xamppfiles/htd

我正在使用sencha touch和sencha touch Cmd生成应用程序。我正在使用此语法
sencha生成应用程序MyApp Path/to/folder all
。但它的作用是在我的senchatouchsdk文件夹中创建这个项目。为什么以及如何在其他地方进行项目

下面是我的命令的输出

Zafars-MacBook-Pro:secha-touch-sdk zafarsaleem$ sencha generate app /Applications/XAMPP/xamppfiles/htdocs/playoutube/www all
Sencha Cmd v3.0.0.250
[INF]       init-properties:
[INF]       init-sencha-command:
[INF]       init:
[INF]       -before-generate-workspace:
[INF]       generate-workspace-impl:
[WRN]       Ignoring @require ../version/Version.js in js/String.js
[WRN]       Ignoring @require ../Ext-more.js in js/Format.js
[INF]       -before-copy-framework-to-workspace:
[INF]       copy-framework-to-workspace-impl:
[INF]            [copy] Copying 1103 files to  /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/touch
[INF]            [copy] Copying 1 file to /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/touch
[INF]            [copy] Copying 1 file to /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/touch
[INF]       [propertyfile] Updating property file: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/.sencha/workspace/sencha.cfg
[INF]       -after-copy-framework-to-workspace:
[INF]       copy-framework-to-workspace:
[INF]       -after-generate-workspace:
[INF]       generate-workspace:
[INF]       init-properties:
[INF]       init-sencha-command:
[INF]       init:
[INF]       -before-generate-app:
[INF]       generate-app-impl:
[INF]           [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/model
[INF]           [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/controller
[INF]           [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/store
[INF]           [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/app/profile
[INF]           [mkdir] Created dir: /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/resources/icons
[INF]       Generating new packager.json file using native packager
[INF]       copy-sdk:
[INF]            [copy] Copying 1 file to /Applications/XAMPP/xamppfiles/htdocs/senchatouch/secha-touch-sdk/all/resources/css
[INF]       -after-generate-app:
[INF]       generate-app:

我不知道mac,但在windows中,这就是我们在所需位置创建应用程序的方式。我认为问题在于你所设定的道路

#  Make sure the current working directory is the Sencha Touch 2 SDK
cd /path/to/sencha-touch-2-sdk
sencha app create MyApp /path/to/www/myapp

我在Sencha Touch上遇到了几个问题,因为官方文档不适用于2.1+版本


在挣扎之后,我的帮助来自

此命令用于Sencha Touch命令工具。我正在使用senchatouch命令。命令工具不再与Sencha Touch 2.1兼容。根据官方文件,我的命令是正确的,但对我无效。阅读页面底部的第一条评论。