Skip to content

How do I add a configuration file to an Axmol project? #1832

Answered by rh101
FHBlah asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried adding the GoogleService-Info.plist into the <project>/Contents folder? Once you do that, re-generate the project (via axmol build ... -c -f or whatever cmake command you used to generate it etc.). For the axmol build command, make sure you pass -f to it in order to force it to regenerate the project, since cmake may not automatically detect changes in the Contents folder.

The file will then be treated as a resource that is copied across to the output bundle. When Firebase runs, it'll find the file. I know this works because I'm using it too, and there should be nothing else required to get it working.

After this re-run pod install, then open up the workspace.

To verify tha…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@rh101
Comment options

@FHBlah
Comment options

@rh101
Comment options

@FHBlah
Comment options

@FHBlah
Comment options

Answer selected by FHBlah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants