Changed project name in Xcode causing naming error

后端 未结 6 2168
遇见更好的自我
遇见更好的自我 2020-11-30 02:15

My old name consisted of a camel case type name similar to this

MyApp

I then changed it to

Myapp \'notice the A is

6条回答
  •  醉梦人生
    2020-11-30 02:41

    I had a similar issue, but it only affected a Target that got affixed with "case-insensitive-rename". If you have a similar situation, just do the following (using XCode 5):

    1) click on your project in the left. 2) expand to see all your targets by clicking the tiny button

    step 2 - tiny expand button

    3) rename affected Target(s).

    step 3 - rename

    4) Save project. Then for OCD brownie points, open your project in a text editor and do a ctrl-f for any "insensitive" or similar to ensure everything's resolved.

提交回复
热议问题