How to copy and paste files in Compile Sources from one target to another?

后端 未结 3 1143
名媛妹妹
名媛妹妹 2021-01-01 18:58

I have a main target that have certain files included under its target -> Build Phases -> Compile Sources. I\'m starting a unit test and would like the unit test to include

3条回答
  •  猫巷女王i
    2021-01-01 19:29

    You can edit the PBXSourcesBuildPhase section in your ".pbxproj" file. You cand find the file by looking into your ".xcodeproj" file ( right click the project file + show package contents ). After you find the file look for "PBXSourcesBuildPhase". After you find the collection you can just copy/paste source files from one target to the others.

提交回复
热议问题