iOS SDK broken ever after reinstall UIKit and Foundation frameworks not found

后端 未结 6 820
时光取名叫无心
时光取名叫无心 2020-12-06 21:12

For the pch file I get these errors:

/Users/matt/Programming/iPhone Monkey Curling lite/iPhone_Monkey_Curling_Prefix.pch:6:34: error: Foundation/Found

6条回答
  •  既然无缘
    2020-12-06 21:41

    I'd like to add to the Matthew's answer:

    Actually, the Framework Search Paths shouldn't be empty, but it should include only the paths to the SDK's Frameworks folders. In my case simulator worked with this path:

    /Applications/Xcode.app/Contents/Developer/Platforms/_**iPhoneSimulator.platform**_/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/
    

    and device started working when I added this one:

    /Applications/Xcode.app/Contents/Developer/Platforms/_**iPhoneOS.platform**_/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/
    

    Thi is for XCode Version 4.5.1 (4G1004).

提交回复
热议问题