Trying to build a cordova app using senchaCMD I am also using EXTJS framework. Following the guide on their documentation:
Generating the app on the console:
sencha -sdk /path/to/Framework generate app MyApp /path/to/MyApp
Then modifying the app.json file on the root folder under builds block:
"builds":{
"classic": {
"toolkit": "classic",
"theme": "theme-triton"
},
"modern": {
"toolkit": "modern",
"theme": "theme-cupertino",
"packager": "cordova",
"cordova": {
"config": {
"platforms": "android",
"id": "com.mydomain.MyApp"
}
}
}
}
Saved it and run the sencha cordova init:
sencha cordova init com.mycompany.MyApp MyApp
After that cordova directory can be seen on my Project directory As said on the documentation I added the the another build on the builds block named "native" so the app.json file will be looked like this:
"builds":{
"native": {
"packager": "cordova",
"cordova" : {
"config": {
"platforms": "ios"
"id": "com.mydomain.MyApp"
}
}
}
}
Saved it and tried to run the sencha command on the console:
sencha app build native
That's the time I always get the ff error on the cmd:
[ERR]Failed to resolve dependency Ext.app.Application for file MyApp.Application [ERR]BUILD FAILED [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency: Ext.app.Application
Anyone has idea on why is this happening since I already followed the step-by-step procedure on sencha documentation.
Will really much appreciate any help. Thanks!