titanium ios打包出错 ReferenceError: logger is not defined

问题:ti build --platform ios --target dist-appstore 打包发布时出现问题如下,

/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:194

        throw e;

              ^

ReferenceError: logger is not defined

    at Object.prompt (/Users/lymin/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/iphone/cli/commands/_build.js:943:7)
titanium ios打包出错 ReferenceError: logger is not defined_第1张图片

顺藤摸瓜(/Users/lymin/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/iphone/cli/commands/_build.js):
titanium ios打包出错 ReferenceError: logger is not defined_第2张图片

所以问题知道了。。。是打包用的描述性文件还是旧的.

解决方法:删除描述性文件,重新生成,下载,安装

你可能感兴趣的:(titanium ios打包出错 ReferenceError: logger is not defined)