Xcode 4 project: utility to clean up pbxproj file?

后端 未结 6 871
-上瘾入骨i
-上瘾入骨i 2020-12-13 19:23

I have an Xcode 4 project with 2 targets, one for iPhone and one for iPad. If I click on the iPad target and try to go to Build Settings Xcode 4 crashes:

6条回答
  •  自闭症患者
    2020-12-13 20:04

    Try the following steps while your XCode is closed.

    1. Go to your {YOUR_PROJECT}.xcodeproj file in finder.

    2. Right click on the {YOUR_PROJECT}.xcodeproj file.

    3. Choose Show Package Contents ... this will open the contents in another Finder screen.

    4. Open file project.pbxproj and search for all lines having string "(null) in"

    5. Delete all lines having (null) in ... no worries.... delete confidently.

    6. Save your file.

    Now open your project using XCode and try to open the Build Settings tab... hopefully your problem will be solved.

    Thanks, Mohamed.

提交回复
热议问题