How to add .plist file to all targets in Xcode?

后端 未结 5 1548
猫巷女王i
猫巷女王i 2021-02-03 17:02

Totally new to iOS but I\'m currently trying to setup Google Analytics. I have followed the SDK documentation and everything went great until this step:

5条回答
  •  不思量自难忘°
    2021-02-03 17:43

    Select the GoogleService-Info.plist in the project navigator (the file hierarchy on the left side of Xcode). Then, if it isn't open yet, open the utilities bar (click the top-right most button in Xcode). You will see a section 'Target Membership'. Check all the checkboxes to add the .plist to all targets.

    In most cases it is enough to just add the file to your project.

提交回复
热议问题