I want to upgrade my app from sencha touch 2.1.1 to 2.2.1 - sencha-touch

I use sencha touch 2.1.1 for my app. But now I want to upgrade my app to sencha touch 2.2.1
I go through http://docs.sencha.com/touch/2.2.1/#!/guide/upgrade_1_to_2 link but they did not get steps for how I can upgrade.
So please any one know the proper steps for upgrading my app from sencha touch 2.1.1 to 2.2.1 the please help me.

You can use the cmd to upgrade your app to a new sdk:
cd /path/to/www/myapp
sencha app upgrade /path/to/new_version_of_sdk

in order to update your app make sure to follow this checklist:
Download the new version.
unpack it and replace the sencha touch lib in you app with newer version
run the app and make sure nothing get messed up due to new version changes
precede the correction if there is any.

Related

Sencha cmd build error

I am struggling for building a Sencha application so need ideas how to build it quickly. I will give you some background about the issue.
I am working on a hybrid app which is built on sencha framework . The app is ready for deployment. This package will be used to upload it in phonegap to create ipk/apk files.
Problem : I got stuck in building process of application. As per sencha touch documentation, we can do it by running following this command:
Sencha app build package
However getting a compile error stating ruby dependency. I Installed ruby however the error still persists.
I suppose I am having conflicts with the Sencha tools versions. I tried with Sencha CMD 2.0.0 and Sencha touch 2.0.1.1 versions but nothing happened. Then I upgraded both of them to Sencha CMD 5.0 and Sencha touch 2.3.1 but same results.
Questions:
1. Do we require anything else except Sencha CMD and Sencha touch?
2. How to upgrade application to latest versions?
Idk if my answer will take you in the right direction or not but when I first started and wanted to make changes with stuff involving ruby I had to use the CMD with ruby that gets installed when you install ruby. Its pretty much the same everything but supports ruby. I couldnt do a lot of things in the regular CMD.
please specify more detail i am not getting but if you want to upgrade your app use first go to your application path and type "sencha app upgrade"

How to upgrade sencha app to the latest Sencha CMD?

I generated my Sencha App using Sencha CMD version 4.0.1.45. Then I downloaded Sencha CMD version 4.0.2.67. Now when inside my application folder I am running command to deploy it on Android, then it is showing the following error:
The application was last modified by an older version of Sencha Cmd (4.0.1.45)
the current is 4.0.2.67.
Please run "sencha app upgrade" to update to 4.0.2.67.
I went to the application folder and then ran this command
sencha app upgrade path/to/senchacmd.
In my case senchacmd is installed in home/bin/Sench/CMD/4.0.2.67. But when I run this command, it shows the following error
Command must be run from a framework folder
Any help is appreciated.
I had exactly the same problem when updating to Ext JS 5.1.0.47. I have white spaces in my path to, but even enquoting the path wouldn't help.
Well, turns out that
sencha app upgrade -ext
Upgrades the SDK from the online repo, so all's good.
sencha app upgrade path/to/senchacmd
The path variable you are using in this command in wrong.
Try asking for help on this command using sencha help app upgrade, it clearly shows the usage is
sencha app upgrade /path/to/sdk.
ie its the path to sdk (like touch-2.3.0), not the path to sencha CMD .
Hope it will be helpful....

how to Deploy the sencha touch app to iOS app in windows7

I'm using sencha touch 2.2.1
I have doubt to config a sencha app to iOS app in windows7.
I already deployed the sencha touch app to android app its works well. My problem is I don't have MAC-OS. so, can I deploy sencha app to iOS app in windows7 alone with apple-ID, certificate path and key values in sencha config file.
pls anyone tell me thanks in advance...
This should work. Just set up a packager.json file as it is described here and use sencha app build native in your command line to build your native iOS app.
If it does not work you could use the PhoneGap-Cloud-Build-Service. You'll find information about how to set up cordova / phonegap in this video.
You will need to build all your apps in XCode 5 from February 1st which will require a mac.
source: https://developer.apple.com/ios7/
I saw this service yesterday which I haven't looked into myself, but may allow you to compile apps in the cloud using one of their macs, rather than have to buy one yourself at great cost : http://www.macincloud.com/

Sencha Cmd V3 Beta

I would like to have an ext app and a touch app within a single workspace. I generated the workspace with:
$ sencha -sdk path/to/ext4.1.1a generate workspace path/toworkspace
This generated:
workspace/.sencha
workspace/ext
I can then generate an ext app, but not a touch app.
I have tried to generate the touch app like so:
$ sencha -sdk path/to/touch2.0.1.1 generate app path/totouchapp
I get an error:
"Failed to determine framework name. Please ensure this command was issued from either a framework or application directory"
So, I also tried to generate the touch app by cd'ing to my touch2.0.1.1 sdk, but that did not work either.
What am I doing wrong?
The latest Cmd tool isn't compatible with older versions of Sencha Touch. You need to install the latest SDK for it to work, apparently.
Per this thread in sencha forums:
Wrong Touch SDK!
I was using the wrong Touch SDK. Found the correct one here:
http://www.sencha.com/forum/announcement.php?f=89
I guess I just learn the proper way
you have to download the sencha touch SDK (SenchaCmd-3.0.0.250-windows.exe.zip) and install it, and of course you have to download the sencha touch framework (sencha-touch-2.1.0-gpl.zip).
you have to CD (change directory) on the sencha touch framework in my case it is under: d:\webdav\htdocs\touch and apply command: sencha generate app gs d:\webdav\htdocs\gs
I also try this command: sencha -sdk D:\webdav\htdocs\touch generate workspace D:\webdav\htdocs\gs and it works. No more error as the earlier posts.
thanks all!
the name has to be the same thing as it is after the generate such like this
Senchacmd → sencha -sdk c:\wamp\www\touch2.0.1.1 generate app MyApp c:\wamp\www\MyApp

How to downgrade to Titanium SDK 1.5.1 from 1.6

I wanted to develop using Titanium 1.5.1. Now when I download Titanium I am having SDK 1.2. and when update to 1.6 which is the only option I get to update, I don't get 1.5.1 SDK.
How can I get SDK 1.5.1.?
open your titanium developer application and go to "edit" - here you can change the titanium sdk chosen for your project. no need to download the old one.
Follow the steps on the Appcelerator Continuous Builds site for obtaining and installing legacy builds.
http://wiki.appcelerator.org/display/guides/Continuous+Builds
Go to Help > Install new SDK and choose the version from the drop down by checking the lower combo button.Hope this will help you!.