2013-06-16 5 views
1

인기있는 python 스크립트 (http://code.google.com/p/edim-mobile/source/browse/trunk/ios/IncrementalLocalization/localize.py)를 사용하여 ios5에서 스토리 보드를 현지화하고 있습니다.Xcode : iOS5 현지화 스크립트 - 종료 코드 1

나는 스토리 보드의 일부 변경을했고,이 오류를 가지고 : 나는 해결책을 찾을 수 없습니다

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:

* Error while creating the 'Project/en.lproj/MainStoryboard.storyboard' file*

* Error while creating the 'Project/es.lproj/MainStoryboard.storyboard' file*

* Error while creating the 'Project/fr.lproj/MainStoryboard.storyboard' file*

* Error while creating the 'Project/it.lproj/MainStoryboard.storyboard' file*

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

..

Maik을

+0

[Interface Builder는 존재하지 않기 때문에 ".xib"문서를 열 수 없습니다.] (http://stackoverflow.com/questions/8968715/interface- 작성자가 열 수 없음 - 문서 xib 때문에 - 존재하지 않음) – DanSkeel

답변

1

당신이에 대한 변경을했을 때 내 생각 storyboard에서 ID ztT-UO-myJ 인 스토리 보드에서 Interface Builder 객체를 제거했습니다. 따라서 오류 메시지가 표시됩니다.

MainStoryboard.strings 파일에서 해당 ID를 검색하고 전체 줄을 제거하십시오. 그 후에 스크립트를 다시 실행하십시오. ibtool가

Interface Builder could not open the document NAME.storyboard because it does not exist

실패하면

+0

ID가 존재하지 않습니다. -/전체 파일을 cmd + f로 검색했습니다. – Maik639

+0

@ maik639 try to 스토리 보드에서 잘못된 IB 콘센트를 찾으십니까? –