XCode:iOS5本地化脚本 - 退出代码1 [英] XCode: iOS5 localization script - Exit code 1

查看:139
本文介绍了XCode:iOS5本地化脚本 - 退出代码1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用流行的pythonscript( http://code.google.com/p/edim-mobile/source/browse/trunk/ios/IncrementalLocalization/localize.py )在ios5中本地化我的故事板。

i'm using the popular pythonscript ( http://code.google.com/p/edim-mobile/source/browse/trunk/ios/IncrementalLocalization/localize.py ) to localize my storyboards in ios5.

我在storyboard中只做了一些更改并得到了这个错误:

I did only some changes in storyboard and got this error:


请在 http://bugreport.apple.com ,此警告
消息以及您可以提供的任何有用信息。
com.apple.ibtool.errors
description无法应用字符串
文件MainStoryboard.strings。
recovery-suggestion缺少对象从oid-keyed映射引用了
。对象ID ztT-UO-myJ
底层错误

描述
无法应用字符串文件MainStoryboard.strings。
recovery-suggestion
缺少从oid-keyed映射引用的对象。对象ID ztT-UO-myJ
回溯(最近一次调用最后一次):文件./localize.py,第105行,
引发异常(\ n+ errorDescription)异常:

Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. com.apple.ibtool.errors description The strings file "MainStoryboard.strings" could not be applied. recovery-suggestion Missing object referenced from oid-keyed mapping. Object ID ztT-UO-myJ underlying-errors description The strings file "MainStoryboard.strings" could not be applied. recovery-suggestion Missing object referenced from oid-keyed mapping. Object ID ztT-UO-myJ Traceback (most recent call last): File "./localize.py", line 105, in raise Exception("\n" + errorDescription) Exception:

*创建'Project / en.lproj / MainStoryboard.storyboard'文件时出错*

*创建'Project / es.lproj / MainStoryboard.storyboard'文件时出错*

*错误创建'Project / fr.lproj / MainStoryboard.storyboard'文件*

*创建'Project / it.lproj / MainStoryboard时出错.storyboard'文件*

仅显示前200条通知命令/ bin / sh失败,退出代码为1

Showing first 200 notices only Command /bin/sh failed with exit code 1

我找不到解决方案..

I can't find a solution..

Maik

推荐答案

我认为当您对故事板进行更改时,您删除了n故事板中具有ID ztT-UO-myJ 的Interface Builder对象。因此显示错误消息。

I think when you made the changes to the storyboard, you removed an Interface Builder object from the storyboard with the ID ztT-UO-myJ. Hence the error message shown.

尝试在MainStoryboard.strings文件中搜索该ID并删除整行。之后再次尝试运行脚本。

Try to search for that ID in MainStoryboard.strings file and remove the whole line. After that try again to run the script.

这篇关于XCode:iOS5本地化脚本 - 退出代码1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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