"Invalid Request" on Appcelerator Compile - appcelerator

I am using Appcelerator Studio, build: 4.8.1.201612050850 and when i try to run on iPhone 6s simulator i am getting the error below. I am using XCode Version 8.3.2 (8E2002)
Error:
Appcelerator Platform
502
Bad Gateway
Dashboard
Status
Get Help
I have tried "appc logout" and "appc login" several times but nothing changed.
How can i fix this ?
Thanks

Make sure your Ti SDK version is latest in your tiapp.xml file then try this following command via the terminal.
sudo npm install -g appcelerator
appc use latest
appc logout -D
appc login
appc setup
Then open Appcelerator Studio and try to run it.

Related

I get an error when opening Nativescrupt Sidekick - Missing API tns.liveSyncService

I've just installed Nativescript Sidekick, when I try to run Sidekick I get this error. (node:10788) Error: Missing API. - tns.liveSyncService.
I've tried unistalling and reinstalling nativesript and node.js to no avail.
Please assist
The Sidekick support for NativeScript#6.0 is still in progress and it will be released in a few days.
Meanwhile, if you need Sidekick - you have to downgrade to NativeScript#5.4 (npm i -g nativescript#5.4.2), if you need NativeScript#6.0 - you have to use it through the CLI.

bash: appc: command not found in appcelerator studio

I'm trying to log into appcelerator studio, but nothing works, when I try it through terminal with appc login, I get this error: bash: appc: command not found.
Make sure you install the CLI tools globally with npm install -g alloy appcelerator titanium. After that the appc command should be available in your CLI. Then you can run appc login. For a more details install instruction have a look at: How to install Axway Appcelerator in combination with Atom

How can I build Ionic3 angular4 hybrid application as ios .ipa file?

I am using a windows machine. So I have installed MAC OS sierra using VMWare in the same machine.
I have developed a Ionic3 Angular4 application with Cordova.
I have successfully created the .apk file using the command "ionic cordova build/run android" in my Windows.
So now I want to generate .ipa file. So I just moved the entire project to my MAC OS box. Then installed cordova & Ionic.
Now I am trying to build using command "ionic cordova build/run ios"
But getting the below error
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer
directory '/Library/Developer/CommandLineTools' is a command line tools instance
So executed sudo xcode-select -s /Applications/Xcode.app/Contents/Developer.
But got error /Applications/Xcode.app/Contents/Developer” does not exist
How can overcome these errors and build my ios .ipa file?
Note: Xcode not installed manually. But installed the Xcode via Terminal (a popup opened and asked to install xcode. So clicked install button. Finally It showed Xcode installed successfully)
You will have to install xcode. See the cordova platform guide for iOS. And you will also need the xcode commandline-tools (which you already installed). If you want to run you application in a simulator you will also have to install ios-sim (sudo npm install -g ios-sim#latest). And for deploying your application to a real device ios-deploy (sudo npm install -g ios-deploy#latest)

Appcelerator studio won't open

I used Appcelerator to build my mobile application. So today if I try to start Appcelerator studio I have this situation.
And if I try to click on that screen after some times, I have a windows error like this:
How can I fix the problem??
I have try to re-download Appcelerator Studio, repair option, modify option, uninstall and reinstall but it doesn't work.
How can I re-open my IDE?
Try opening a terminal window and doing
appc logout
appc login
Seems to be you are having a problem with your Appcelerator login. To identify the root cause.
For mac, Go to terminal and run, $DEBUG=* appc login -l trace
For windows, set DEBUG=* && appc login
What is the error which you are getting here? If you've configured proxy, verify the settings.
Once you are able to login from the command line(CLI), relaunch the studio.
open Terminal in Mac execute command -
appc setup
After setup completed you could able to login without any issues.

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