-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting rejected in iOS App Store due to non-public API for "initWithFileName" #13134
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Would you confirm which Firebase products are being used? I see |
Sorry, Paul, my fault. It is only for FirebaseMessaging TYVM! |
I'll add this to the list for the 10.29.0 release. However, it's very strange that thousands of apps have been approved while including this code. |
Hi Paul, I totally agree and I too don't understand how our app got singled out like this, but below is Apple's rejection email to us: App Store Connect Hello, We noticed one or more issues with a recent delivery for the following app: Tourist New App ITMS-90338: Non-public API usage - The app references non-public selectors in Tourist: initWithFileName:. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/ Apple Developer Relations |
Unless this is a new app review policy that Apple just implemented? |
@paulb777 When will 10.29.0 release be available? How will we know? |
Got it! July 8th works! TYVM :) |
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
If using Swift Package Manager, the project's Package.resolved
N/A
If using CocoaPods, the project's Podfile.lock
N/A
The text was updated successfully, but these errors were encountered: