ios - 使用 SDK 3.3.0.GA 运行 iOS 测试模块时,Titanium 运行命令丢失
<p><p>我正在关注 <a href="http://docs.appcelerator.com/titanium/3.0/#!/guide/iOS_Module_Development_Guide" rel="noreferrer noopener nofollow">this guide</a>几乎信了。我可以找到并运行 ./build.py 并且它成功了。但是当我尝试运行时</p>
<blockquote>
<p>titanium run</p>
</blockquote>
<p>它回来了:</p>
<blockquote>
<p> "run" is an unrecognized command.</p>
</blockquote>
<p>当我得到帮助时,它确实缺少运行命令。</p>
<pre><code>Commands:
build builds a project
clean removes previous build directories
config get and set config options
create creates a new mobile application
help displays this help screen
info display development environment information
login logs into the Appcelerator network
logout logs out of the Appcelerator network
module displays installed Titanium modules
plugin displays installed Titanium CLI plugins
project get and set tiapp.xml settings
sdk manages installed Titanium SDKs
setup sets up the Titanium CLI
status displays session information
</code></pre>
<p>我尝试通过运行重新安装钛 cli:</p>
<blockquote>
<p>sudo npm install titanium -g</p>
</blockquote>
<p>它重新安装了 cli,但仍然没有可用的运行命令。我错过了什么?
非常欢迎对此提供任何帮助!</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我找到了。我错过了这个:
<a href="http://docs.appcelerator.com/titanium/3.0/#!/guide/Legacy_Command-Line_Interface-section-29004835_LegacyCommand-LineInterface-OSX" rel="noreferrer noopener nofollow">http://docs.appcelerator.com/titanium/3.0/#!/guide/Legacy_Command-Line_Interface-section-29004835_LegacyCommand-LineInterface-OSX</a> </p>
<p>当我添加别名并打开一个新终端时,一切都像文档一样工作。</p></p>
<p style="font-size: 20px;">关于ios - 使用 SDK 3.3.0.GA 运行 iOS 测试模块时,Titanium 运行命令丢失,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/25744766/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/25744766/
</a>
</p>
页:
[1]