Xcode 7 crash: [NSLocalizableString length] 30000

前端 未结 3 1065
挽巷
挽巷 2020-12-06 11:43

The app just hangs on iOS7,8,9, makes 30000 calls to [NSLocalizableString length] The cpu is on max.

see https://forums.developer.apple.com/thread/16001 also

相关标签:
3条回答
  • 2020-12-06 12:04

    If one does not need Base internationalization, one can turn it off in the project settings - this fixed the problem in my case:

    When turning base internationalization off, the affected files (storyboard, launchscreen) are moved from base.lproj to en.lproj. It looks like there are problems when base.lproj is used without at least one (primary) language.

    I encountered the problem after creating a new project in Xcode 6.4 and then opening it in Xcode 7.

    0 讨论(0)
  • 2020-12-06 12:14

    What I did is change the Localization native development region From China to United States.

    0 讨论(0)
  • 2020-12-06 12:28

    I checked the English checkmark in addition to the Base, and it stopped having problems.

    0 讨论(0)
提交回复
热议问题