"ti sdk list" isn't displaying latest release(s) - appcelerator

I'm having issues updating my Titanium SDK.
If I use the command ti sdk list -r I get this list:
Releases:
4.0.0.GA [installed] [latest]
3.5.1.GA
3.5.0.GA
3.4.1.GA
3.4.0.GA
3.3.0.GA
3.2.3.GA
...
I'm sure that there are more recent versions than 4.0.0.GA.
Reading the official wiki for example, I can see that latest release is 5.2.0.
Any help please? How do I update the SDK?

You must update your SDK version, you can follow the steps described in the Appcelerator Blog post GA Release of CLI 5.2, Titanium 5.2 and Studio 4.5:
$ [sudo] npm install -g appcelerator
$ appc setup
then
$ [sudo] npm install -g titanium alloy

Related

Why can't I update to the latest version of nativescript-theme (nativescript)

Using the latest nativescript core w/ Android 6.5
In the project file, I see I'm using nativescript-theme 2.2.1
I see the latest version is 2.3.4.
I do npm outdated on the command line and nativescript-theme is not listed.
Anyone know why I cannot update to the latest version?
I also did npm outdated #nativescript/theme.

netcore web app - It was not possible to find any compatible framework version

I'm trying to use VSCode with .Net Core web applications but I'm stuck at the begining. I installed dotnet sdk 2.0.2 and I created a web application by using yeoman.
I used dotnet restore command and after that I used dotnet run command. But on dotnet run command it keeps saying 'can't find any compatible framework version'. Check the error below.
So how can I run my web app? I tried to change version too but I had same results.
Using launch settings from /Users/kadir/Documents/Development/WebApplications/firstMvcTutorial/firstMvcCoreWebApp/Properties/launchSettings.json...
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.0.5' was not found.
- Check application dependencies and target a framework version installed at:
/
- Alternatively, install the framework version '1.0.5'.
Solved it.
I downloaded and installed Microsoft.NETCore.App 1.0.5 from this link.
After that I changed version to 2.0.0 on global.json. Then I restored dotnet with dotnet restore and I run app with dotnet run.
But this time I had a problem with System.Security.Cryptography.Native.
.
I applied commands below and fixed my problem. Now I can run my web application.
brew update
brew install openssl
mkdir -p /usr/local/lib
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/

Cleanly downgrade Nativescript to 2.5

since I have some issues with my app (that worked perfectly in 2.5) after upgrading TNS to 3.0 (I used the barcode scanner and the Xing decoder plugins both), I have the need to bring back my environment exactly as it was before upgrade.
But I haven't find an official way to cleanly perform 2.5 downgrade.
Someone can help me ? Thanks in advance
Try the following steps:
npm uninstall -g nativescript
npm cache clean
npm i -g nativescript#2.5.0
remove node_modules platforms directory in your project
revert your package.json to the version before update to 3.0(angular, typescript versions...)
tns platform add android#2.5.0
tns platform add ios#2.5.0
tns run ios or android
You can also check this blog for further instructions http://fluentreports.com/blog/?p=509

Download previous versions of Titanium SDK

I recently had to format my Mac and lost all my Ti sdks.
After Reinstalling Appcelerator Studio I currently have only Ti SDK 5.2.0.GA available which is causing my app to crash on devices having Android Marshmallow which didn't happen on 5.0.0.GA or below. Is there anyway I can install the previous version of Titanium SDK's and use it.
The easiest way, via CLI (command line interface).
Get the SDK titanium list
appc ti sdk list
Install titanium SDK
appc ti sdk install [<version>] [--default] [--force] [--branch <branch name>]
ex : appc ti sdk install 9.2.1.GA
Available SDK with appc
Appc info here
Above solution is correct, But for above steps you want appc username and password.
If you dont have user name and password then try next command.
titanium sdk
titanium sdk install 5.2.0
after installing check
titanium sdk
If you downloaded sdk from other sources and now you have to put sdk in your titanium path then go to following path
/Users/rahul/Library/Application Support/Titanium/mobilesdk
and place your downloaded sdk in above folder.

Titanium thinks I have 3.1.2 but I installed 3.4.1. What to do?

I opened Titanium after about a year without using it. I upgraded everything before doing anything but now everything crashes.
Here is what I have:
Under titanium studio I am able to set the SDK to 3.4.1, but when I try to create a project I get:
[31m Command "create" incompatible with this version of the Titanium CLI[39m
[WARN] : Requires version >=3.2.1, currently 3.1.2
So then I went to terminal and run
titanium -v
and I get
3.1.2
I tried
sudo npm install -g titanium
But it doesn't seem to do nothing.
I also tried to uninstall Titanium with
sudo npm -g uninstall titanium
but I get
npm WARN uninstall not installed in /Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS/Password:/usr/local/lib/node_modules: "titnaium"
When I run
type -a titanium
I get
titanium is /usr/local/bin/titanium
I also tried restarting my computer, opening and closing Studio, etc...but I am totally lost, for some reason I can't make it work.
Any idea on how to solve this will be appreciated! Thanks
First of all run following command in CLI
ti sdk select
Select the 3.4.1 as your sdk and let me know if that solved the problem
Thanks

Resources