错误“您可能需要通过 XCode 安装命令行工具包"什么时候包钛模? [英] Error "You may need to install the Command Line Tools package through XCode" when package titanium modul?

查看:19
本文介绍了错误“您可能需要通过 XCode 安装命令行工具包"什么时候包钛模?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何为Android打包Titanium模块吗?每次我尝试打包 Titanium 模块时,它都会给我一个错误.这是我的日志输出:

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.

这是我的计算机规格:

  • Mac OS X 雪豹
  • 钛 2.1.4GA
  • XCode 3.0

这是我的 build.properties:

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.

推荐答案

您是否尝试过按照它所说的通过 Xcode 安装命令行工具包?

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

此外,Titanium Mobile 2.1.4GA 不支持该版本的 Xcode (3.0).您需要升级到至少 4.2 版本,详见兼容性矩阵:http://docs.appcelerator.com/titanium/2.0/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-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

这篇关于错误“您可能需要通过 XCode 安装命令行工具包"什么时候包钛模?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆