Titanium JIRA Archive
Appcelerator Community (AC)

[AC-820] iOS SDK Unknown

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2014-10-20T20:53:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupportTriage
ReporterRene Cabrera
AssigneePraveen Innamuri
Created2014-09-23T04:03:37.000+0000
Updated2016-03-08T07:37:06.000+0000

Description

Steps to Reproduce

I updated Xcode to version 6.0.1, titanium studio to 3.4 and sdk to 3.4.0.v20140922135716. After updating, the iOS SDK is Unknown. I've tried changing the path but nothing is working.

Actual Result

iOS SDK is showing Unknown.

Expected Result

Show allow iOS SDK location to be saved and used.

Attachments

FileDateSize
.log2014-09-23T04:03:58.000+00002265896
diagnostic4449720567040228579.log2014-09-23T04:04:06.000+000018101
new_log.txt2014-09-26T02:48:45.000+0000120038
Screen Shot 2014-09-23 at 5.35.09 PM.png2014-09-23T21:40:42.000+000024542
Screen Shot 2014-09-23 at 5.35.32 PM.png2014-09-23T21:40:42.000+000041343
Screen Shot 2014-09-23 at 5.36.02 PM.png2014-09-23T21:40:42.000+000030036
Screen Shot 2014-09-23 at 5.37.44 PM.png2014-09-23T21:40:42.000+000015813
ti info.txt2014-09-25T14:45:32.000+000026613

Comments

  1. Ingo Muschenetz 2014-09-23

    Can you please: 1. Confirm 3.4.0 is the "selected" SDK on the CLI. ti sdk select from the command line 2. Paste/Attach a screenshot that shows exactly what you are seeing.
  2. Rene Cabrera 2014-09-23

    Attached are screenshots showing that iOS SDK is not being found and the configuration is based on appcelerator documentation.
  3. Mauro Parra-Miranda 2014-09-24

    Hello [~renecabrera]: Did you open Xcode at least once? You need to accept the license before actually using it. Best Regards!
  4. Rene Cabrera 2014-09-24

    Yes, I opened Xcode a few times and I still have the issue.
  5. Rene Cabrera 2014-09-25

    Any addition thoughts or findings?
  6. Ingo Muschenetz 2014-09-25

    Can you please provide the output of ti info from the command line?
  7. Rene Cabrera 2014-09-25

    Attached is the ti info output.
  8. Praveen Innamuri 2014-09-25

    Looks you have all the latest components required for launching mobile app onto iOS8 simulators : 3.4.x versions of Studio/SDK/CLI and 3.4.x SDK is selected as default ('ti sdk' command will confirm this), XCode6 is the default selected one and SDK in TiApp editor is set to 3.4.x. It is weird that even in this case, the XCode installation is not detected on your machine. One of the possible failures could be Studio is using the old cache output from CLI and still referring to that for XCode path. I would like to try a couple of options and give us additional set of diagnostic information for further investigation : - Can you close Studio and then, delete/rename the folder \.metadata\.plugins\com.appcelerator.titanium.core and then, restart Studio. This will eliminate the chance of the old CLI cache in case if we were using it. - Switch to a new workspace. - Enable the debug level to All in Preferences > Studio > Troubleshooting. Clear existing log files (Help > Studio > Clear log file). Press Refresh button in iOS preference page and give us the workspace logs (Help > Studio > View log file). - Output of "xcode-select -p" command.
  9. Rene Cabrera 2014-09-26

    Below is the out put of xcode-select -p /Applications/Xcode.app/Contents/Developer I have also attached the new log file called new_log.txt.
  10. Ingo Muschenetz 2014-09-26

    This seems very suspicious: permission denied: /Users/Rene/Library/Application Support/Titanium/mobilesdk/osx/3.4.0.v20140922135716/manifest.json
  11. Rene Cabrera 2014-09-26

    I did see that in the log file. Thoughts?
  12. Rene Cabrera 2014-09-26

    Any news?
  13. Praveen Innamuri 2014-09-26

    [~renecabrera] Couple of things : - I didn't see any details related to refreshing iOS SDK from the preference page. Did you enable the logging level to All (as I asked in my previous comment) and then, refresh iOS SDK in preferences ? - We did see a lot of permissions denied errors to manifest.json file while accessing the SDK. Though it might not related to the current problem, I would like to see the results after fixing the permissions on this file.
  14. Ingo Muschenetz 2014-10-20

    [~renecabrera] Once you have time to add additional information, we'd be happy to take a look.

JSON Source