There is no SDK with the name or path “iphoneos4.0”

后端 未结 15 907
予麋鹿
予麋鹿 2021-02-06 23:36

I download a sample of UICatalog and run it.When I compile it ,it shows the failed message:There is no SDK with the name or path \"iphoneos4.0\".I find the \"Base SDK\" of UICat

15条回答
  •  名媛妹妹
    2021-02-07 00:16

    I just went Project -> Edit Project Settings -> Build -> then change the Base SDK to iPhone 4 simulator or I'm assuming whichever SDK you want to use. I never had to specify the build for a given target, although my program was created on a mac that was already configured to use the iPhone 4.0 simulator.. so perhaps the targets were set for the simulator SDK and the project itself wasn't? Either way... just glad it works.

提交回复
热议问题