Skip to content

Getting rejected in iOS App Store due to non-public API for "initWithFileName" #13134

Closed
@NateShoy

Description

Description

Hello Firebase iOS SDK Developers,

I have already forwarded this link to Apple and they are totally refusing our app submission by saying that there is a duplicate method named "initWithFileName" which comes from Google Firebase SDK. Please see the attached email from Apple App Store Review Team. They think we've created this method and they are asking us to rename it to something else but this method belongs to Google's Firebase SDK product. This is like a dead-end for us. What will it take for Google to rename this method to something very unique to Google? It is just a method name and Google can simply pick another name, thus, all problems simply go away.

Please rename Firebase method "initWithFileName" so it doesn't conflict with Apple's method "initWithFileName" when we build our IPA for their app store submission. This issue is all about the name only and the code logic remains the same.

The way our app is built is basically: Our code + Apple's code + Google's code. It is very simple but when one of three has a name that conflicts with Apple, then Apple is afraid that we will misuse this method and do something malicious since this method from Apple is a non-public method, meaning to be used by Apple only and internally.

#4971

In this post it talks exactly about our issue being experienced by the others. So when you say: "I have not encountered any other cases related to iOS Apps getting denied with Firebase - with a multitude of different products being used so far, so this is quite a strange issue (and hard to track down)." then I am totally confused why you state "it's hard to track down" this when there are many others with our issue too as per the above link/post in Github. And again this issue can be very easily corrected and probably fast by the Firebase development team by simply renaming your method "initWithFileName:" to something like "googleInitWithFileName:" and rebuilding the SDK so that we can include this new version in our next app's build and then submit it for review again to Apple's App Store.

Please advise as soon as possible!

Tourist New App Team
support@touristnewapp.com

Reproducing the issue

Apple's App Store review team refuses to accept our app due to Firebase iOS SDK method name conflict. Can't you just choose another name?

Firebase SDK Version

10.9

Xcode Version

15.3

Installation Method

Swift Package Manager

Firebase Product(s)

App Distribution, In-App Messaging

Targeted Platforms

iOS

Relevant Log Output

N/A

If using Swift Package Manager, the project's Package.resolved

N/A

If using CocoaPods, the project's Podfile.lock

N/A

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions