Error “You may need to install the Command Line Tools package through XCode” when package titanium modul?

喜你入骨 提交于 2019-12-12 01:33:11

问题


Does anyone know how to package Titanium module for Android? Every time I try to package the Titanium module, it give me an error. Here's my log output:

Executing build.xml...
/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/module/android/build.xml:362: The following error occurred while executing this line:
/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/module/android/build.xml:317: exec returned: 2You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.

Here's my computer spec:

  • Mac OS X Snow Leopard
  • Titanium 2.1.4GA
  • XCode 3.0

and this is my build.properties:

titanium.platform=D:\\Users\\Administrator\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\2.1.4.GA\\android
android.platform=C:\\DeveloperFolder\\adt-bundle-windows-x86_64\\adt-bundle-windows\\sdk\\platforms\\android-8
google.apis=C:\\DeveloperFolder\\adt-bundle-windows-x86_64\\adt-bundle-windows\\sdk\\add-ons\\addon-google_apis-google-8

Does anyone know how to solve it? Many thanks.


回答1:


Have you tried doing what it says, installing the Command Line Tools package through Xcode?

Also, that version of Xcode (3.0) is not supported by Titanium Mobile 2.1.4GA. You need to upgrade to at least version 4.2, as detailed in the compatibility matrix: http://docs.appcelerator.com/titanium/2.0/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-Xcode



来源:https://stackoverflow.com/questions/13817629/error-you-may-need-to-install-the-command-line-tools-package-through-xcode-whe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!