Is the project.xcworkspace file important?

后端 未结 3 801
礼貌的吻别
礼貌的吻别 2020-12-04 18:54

I am doing command line xcodebuild using a shell script. My problem is if I open and close the xx.xcodeproj file once and then use that command it works well.<

3条回答
  •  鱼传尺愫
    2020-12-04 19:25

    I don't think project.xcworkspace in xx.xcodeproj is important. And it has nothing to do with Cocoapods.

    If you create a workspace named x.xcworkspace, create a project named y.xcodeproj and add the project to x.xcworkspace at the same time; then you will find that there is no project.xcworkspace is created under y.xcodeproj directory.

    However, if you open y.xcodeproj with Xcode, project.xcworkspace is automatically created by Xcode.

提交回复
热议问题