[TIMOB-20531] appc login doesn't work on 5.2.0 CLI
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | n/a |
Reporter | Ryan Ashley |
Assignee | Unknown |
Created | 2016-03-03T17:09:52.000+0000 |
Updated | 2018-02-28T19:55:20.000+0000 |
Description
Running the appc login command returns "5.2.0".
Attempting to run appc ti build afterward returns "Appcelerator Login required to continue ..."
As a result our entire CI process is at a halt.
Hmmm.... Are you in a VPC environment? I think I may understand the issue if so. If you are on a VPC, please try
--vpc-env
in place of-v
.We had to do that AND re-install the CLI, but finally got it working. What we're seeing now is that it's defaulting to iOS SDK 8.4, and I'm having to explicitly set the -I 9.2 flag on our build commands.
[~rashley] Thanks. We have been struggling with this issue trying to reproduce in order to resolve it. If you learn anything that would be valuable please let us know. I will request that the ticket is moved to TIMOB component in JIRA for further investigation by the developer team.
Eric, are you struggling with the login issue or the iOS SDK version issue? Have you been able to reproduce it? I opened a ticket on the SDK issue on support.appcelerator.com. They advised removing and re-installing all our versions of Xcode, which I did, but it's still defaulting to 8.4
Hi [~rashley] Just saw this discussion. Not sure this will help but, I'm assuming you have multiple versions of Xcode installed? if you do this command *appc info*, you should see something like this (this is on my local machine)
Notices the *Xcode default* is currently pointed at 6.4 (that supports iOS 8.4) You want to change that to point to Xcode 7.2.1 (or in your case it maybe Xcode 7.2) You do so by executing this command *sudo xcode-select --switch /Applications/Xcode.app* If you run *appc info* again you can verify that the change took effect and when you run *appc run* you won't need that flag *-I 9.2* hope that helps.
Tried that already. My appc info give me:
So as you can see 7.2 IS set as the default, but it still builds on 8.4.