1

I'm working on an app that has two targets for a lite and a pro version.

We are using Google's Sign In SDK for the authentication which requires a configuration file called "GoogleService-Info.plist".

PROBLEM:

Is there a way to have two different files with the same name and different targets, so each version uses the configuration file required?

Or there is a way to change the configuration file that the SDK uses? I haven't found a way to do this on Google's documentation.

APesate
  • 100
  • 12

1 Answers1

0

The easiest approach to achieve this, is to create a separate directory in your project folder for each file. After that, you will be able to add both references and assign them to each target with no issues.

Example


Source: BraveS - Copy file to root of XCode project when building

Community
  • 1
  • 1
APesate
  • 100
  • 12