[AC-5450] Trouble updating Studio to v5 and SDK 7
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2017-12-19T18:24:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | eric harms |
Assignee | Shak Hossain |
Created | 2017-12-13T00:25:11.000+0000 |
Updated | 2017-12-19T18:24:11.000+0000 |
Description
Hello,
Im having some major issues trying to upgrade one of my laptops to Studio 5 / SDK 7
Biggest issue is that Studio refuses to recognize my Xcode installation. on the IOS Home screen in preferences, refreshing does nothing, update opens the app store updates window.
ive uninstalled node, appcelerator a few times now, let studio install node, nothing works.
Ive included the studio log report as well as other installation information for your review.
Please advise.
Thanks,
Eric
Attachments
File | Date | Size |
---|---|---|
2017-12-18T21_24_02_490Z-debug.log | 2017-12-18T21:32:20.000+0000 | 419366 |
2017-12-18T21_51_11_267Z-debug.log | 2017-12-18T21:57:57.000+0000 | 571182 |
appcTiSetupCheck.txt | 2017-12-15T02:27:33.000+0000 | 4517 |
environment.txt | 2017-12-13T00:22:11.000+0000 | 3413 |
logFileNew.txt | 2017-12-13T21:51:43.000+0000 | 15885 |
Screen Shot 2017-12-14 at 10.11.41 AM.png | 2017-12-14T18:13:07.000+0000 | 597685 |
ss1.png | 2017-12-13T21:49:23.000+0000 | 541163 |
ss2.png | 2017-12-13T21:49:22.000+0000 | 190176 |
studioLog.txt | 2017-12-13T00:01:41.000+0000 | 1410319 |
ticonfig.txt | 2017-12-13T00:20:04.000+0000 | 847 |
tiInfoXcodeInformation.txt | 2017-12-13T00:23:40.000+0000 | 377 |
Hello [~eric.harms@gmail.com], Thanks for sharing with us. Do you have latest CLI installed on your end? What's your xcode version? If not please try the following command: *appc use latest.* *appc login* Then check if the issue occurs again please let us know. Best
hi, both appc use latest and appc login return the following error. i am using the latest cli as installed by studio. xcode 9.2. Thanks, Eric ➜ ~ appc use latest undefined:30 } "lastUpdateCheck": 1513121275986 ^ SyntaxError: Unexpected string in JSON at position 1274 at JSON.parse (
i followed these instructions to uninstall everything -- please let me know if Im missing any steps, maybe I didnt clear out something that is holding a cache of data somewhere? https://medium.com/all-titanium/reinstalling-appcelerator-titanium-on-mac-from-scratch-9a2bb6b9b629 thanks
Hello, Please try the follow commands below sudo rm -rf ~/.appcelerator sudo rm -rf ~/.titanium sudo npm uninstall -g titanium sudo npm uninstall -g appcelerator sudo npm install -g appcelerator appc use latest appc setup Send the full log in here. Thanks.
Hi Sharif, Heres what Ive done. - Cleared studio log file - trashed appc folder from applications - ran the commands you provided, in order. positive results from the use latest and setup - ran the studio installer, was provided the attached errors ss1.png opens, says ios is not configured. when i hit configure, it spins and is waiting for xcode. when i close that, i get error message from ss2.png. attached the new log file here as well (logFileNew.txt) Thanks, Eric
Hi, It never completes, just keeps spinning. Thanks Eric
I uploaded a screenshot of what Im seeing - it errors out then stalls. the following is produced in the log file !ENTRY org.eclipse.core.jobs 4 2 2017-12-14 10:11:30.432 !MESSAGE An internal error occurred during: "Configuring SDK". !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doConfigure(IOSSDKConfigurer.java:115) at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44) at com.appcelerator.titanium.ui.mobile.PlatformsInstallManager$3.run(PlatformsInstallManager.java:172) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I can build my project from the command line -- however live view does not fire when saving a file.
I too am getting
java.lang.NullPointerException
. I'm upgrading from 5.5.1.Hello, Can you run "appc ti setup check" and send the log as a text file in here? Thanks.
Hi, attached here - appcTiSetupCheck.txt Thanks Eric
I have the same problem :(
Hi -- has there been any progress on this ticket? thanks
Hello, Run the following commands and let us know how it goes. Close Appcelerator Studio Open the terminal Stop the daemon: appc appcd stop cd into the appcelerator package: cd ~/.appcelerator/install/7.0.0/package Install the update: npm install ioslib@next Reopen Studio Hope this helps. Let us know. Thanks.
Hi Sharif, Please see the terminal output error log, and Ive attached the referenced log file to this ticket. i do have node v8.9.1 installed Thanks, Eric
The above solution did not work for me. This is what I did to get Appcelerator to recognize Xcode
After npm install
Thanks Luis, Unfortunately that's not working for me either. Terminal output here, referenced log attached. Eric
Make sure the node_modules folder is deleted: After this command:
You should see a long list of files being deleted then when you get to the 'npm install' command the node_modules folder will be created again with correct permissions
Thanks Luis -- After running your example, yes it did do what you said. Now that my install was probably a total mess, i thew out the application and installed a fresh version -- it now recognizes Xcode. Thanks! Eric
I'm glad it worked :)
Thanks for your help guys -- this one was a doozie!
Hey guys -- looked like I spoke too soon -- I noticed this last week and Im just being reminded as I test things, but liveview is not rebuilding the app as expected when saving project files. it doesnt work in Studio or via the CLI. let me know if you need any logs from me, or any suggestions as to what might be causing the issue. Thanks Eric
Well, that is another issue. But I don't have that one Do you see any visual error ?
I created a clean test project, cleared the log file and ran the project via Studio with the liveview button toggled on. I then saved a file, expecting a reload but nothing happens in terminal. Log details below, Ive confirmed both of the references directories do exist. Thanks Eric
Do you see anything like this on Appcelerator Console ?
In Appcelerator Studio Preferences -> Studio -> Liveview I don't have any info filled on the 3 fields and liveview works fine with me
I just did a hard reboot of my machine and now liveview is running. hopefully it cleared out whatever it was and Im good. Thanks again for your help Eric
just to confirm those 3 fields are empty for me as well. I do see the logs in terminal running the local ips with the proper ports. Thanks Eric