Skip to content

[Bug] Auth requires GameKit.framework, which may lead to App store rejection #954

@sparrow06078

Description

@sparrow06078

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2020.1.10f1
  • Firebase Unity SDK version: 7.0.2
  • Source you installed the SDK: .unitypackage
  • Problematic Firebase Component:Auth
  • Other Firebase Components in use:Auth
  • Additional SDKs you are using: Facebook SDK Unity SDK 9.0.0
  • Platform you are using the Unity editor on: Windows
  • Platform you are targeting: iOS
  • Scripting Runtime:

[REQUIRED] Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
What's the issue repro rate? (eg 100%, 1/5 etc)

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.

Relevant Code:

Engine : Unity 2020.1.10f1
Using Firebase and Facebook SDK Unity SDK 9.0.0
Build in iOS and Xcode 12.4

I have two error during build in Xcode after add Facebook SDK

'FBSDKCoreKit/FBSDKCoreKit.h' file not found

This error just happened at .xcodeproj
I don’t know why but It didn’t happened if I builded it at .xcworkspace
But even at .xcworkspace , I still faced the error 2

Undefined symbol: OBJC_CLASS$_GKLocalPlayer

I already tried this solution :

adding GameKit.framework to your xcode prject from
Targets -> UnityFramework -> General -> Frameworks and Libraries
-> click + button and find GameKit.framework -> rebuild.

But it didn’t work for me.
Also try to add
libFirebaseCppAuth.a in Compile Sources . But it still failed to build .
Please help me if you know how to solve it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions