FirefoxOS:无法在Mac -Yosemite上为Emulator构建b2g

时间:2015-09-09 08:54:48

标签: xcode firefox mozilla firefox-os b2g

我正在尝试在Mac上构建B2G - Yosemite(10.10.5),我有Xcode 4.6.3,5.0.2,6.4和7(beta 5)的多个版本。我关注了Mozilla文档(https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build

终端:(已安装autoconf(GNU Autoconf)2.69)

  
      
  1. 克隆源代码:git clone git://github.com/mozilla-b2g/B2G.git
  2.   
  3. 根据Mozilla doc运行命令:   一个。运行./config.sh模拟器
       湾运行./build.sh -j1
  4.   

之后我收到了这个错误:

host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
couldn't understand kern.osversion `14.5.0'
In file included from frameworks/base/include/utils/Asset.h:24,
                 from frameworks/base/include/utils/AssetManager.h:23,
                 from frameworks/base/tools/aapt/AaptAssets.h:10,
                 from frameworks/base/tools/aapt/AaptAssets.cpp:5:
/usr/include/stdio.h:224:2: error: #error "_DARWIN_UNLIMITED_STREAMS specified, but -mmacosx-version-min version does not support it."
make: *** [out/host/darwin-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1

real    0m47.189s
user    0m8.377s
sys 0m7.157s

> Build failed! <

Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.

对于完整控制台,请转到:https://drive.google.com/open?id=0B8Xlqkz1LkRWdXh4S0VlaWNCZ1U并下载,并提出您的建议。

0 个答案:

没有答案