Moving localization folders in Xcode 4

前端 未结 4 1403
情书的邮戳
情书的邮戳 2021-01-06 20:41

I\'ve recently upgraded from Xcode 3 to Xcode 4.2, and migrated an existing iOS apps to use this new version. This app is localized, and I now want to add another language.

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-06 21:15

    Found the solution. It's not pretty, but it works.

    Here's what I did:

    1. View the contents of the .xcodeproj folder in Finder
    2. Edit the project.pbxproj file
    3. Search for .lproj within the file
    4. Change the path = section to include the Resources part of the path.
    5. Save, then restart Xcode

    This smoothed everything over, and allowed the Localization to reside in the Resources subdirectory.

提交回复
热议问题