开发者

Xcode linker error when localizing xib

开发者 https://www.devze.com 2023-04-01 15:07 出处:网络
I am just localizing my app and when I localize one certain xib-file, I get a linker error with exit code 1. The file that is duplicate (so tells me the compiler) is always the xib开发者_如何学JAVA I

I am just localizing my app and when I localize one certain xib-file, I get a linker error with exit code 1. The file that is duplicate (so tells me the compiler) is always the xib开发者_如何学JAVA I just localized.

I suppose an internal file list in the xcode project does not recognize the localization BUT... it's just a suspicion ;)

Do you have any idea for the reason of this problem?

Thank you in advance, Christian

EDIT: Just found out that the linker error remains when i remove the localized files and reiimport the un-localized file... maybe this helps...


I think you need

  • to add the file in build phases

    and

  • add copied resources

    this link will help


In the left pane, highlight the .xib file and do a Get Info. Under the General Tab, click on the make localizable button.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号