UITextField causes crash in iOS 5, works fine in iOS 4

前端 未结 3 1510
不思量自难忘°
不思量自难忘° 2021-01-15 00:52

I have a really weird problem where if I click on a UITextField, any UITextField in my app will crash with this error:

0_CreateCachePathEmbedded(__CFS

相关标签:
3条回答
  • 2021-01-15 01:32

    Still not sure what the problem was but I was able to fix it by just copying all code across to a new project.

    0 讨论(0)
  • 2021-01-15 01:41

    in my case it was the product name in the target settings which caused this strange error.

    0 讨论(0)
  • 2021-01-15 01:51

    This also happened for me and changing the product name fixed it. I had a ∂ character in my Product Name for my debug/dev version of the application which seemed to work fine on iOS 4.3 but not on iOS 5. It is an impossible correlation to figure out that tapping on a random UITextField (not all caused this for example if I changed the UITextField to secure it did not crash) would cause a crash because the Product Name contained a non-standard character.

    I hope this helps someone else having this issue as I spent days trying to debug this.

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