-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Apple rejects React Native build with "ITMS-90338: Non-public API usage" #33789
Comments
Which engine are you using? |
How can I find out? |
I'm using 'jsc' engine. not hermes.
|
Hey, there is a PR trying to address a similar thing - can you confirm you are trying to upload an app in debug mode? Any additional information about the issue would be helpful here @Tak-As @Andressaray |
Hi there! Are you using |
Thanks for reply.
Thanks for reply. |
@Tak-As please let me clarify whether the app you submit the app store had |
It is installed. Part of package.json
|
what version of |
|
@Tak-As could you use patch-package or modify node_modules/react-native locally for #33153 change and try to submit to app store again? because your private apis |
I don't know how to apply PR changes to local node_modules. Is there any good way? |
Today we received this message:
The weirdest thing is that nothing has been installed or updated in the app, only JS code has been modified since the last build. React Native versions: "react": "17.0.2",
"react-native": "0.66.2", Expo versions: "expo": "43.0.4",
"expo-camera": "12.0.3",
"expo-document-picker": "10.1.0",
"expo-file-system": "13.0.3",
"expo-image-manipulator": "10.1.2",
"expo-keep-awake": "10.0.1",
"expo-screen-orientation": "4.0.3",
"expo-sharing": "10.0.3", yarn why expo-modules-autolinking
|
Same issue here. We just got this error from Apple after building and submitting a new app. |
I'm facing the same problem here as well |
Same issue here affecting our apps this afternoon, seems to be related to the outage they had earlier today. |
Same here. The selectors mentioned in the rejection notice are publically documented Apple APIs. So, this appears to be an Apple issue and not a react native issue (at least what's happening today). |
Same issue here, I was able to build and submit yesterday without any issue and we only have some minor changes. |
Just tried again after updating Xcode to 13.4.1... no luck, same outcome. |
Same here, just changed one line in my TS code and it is not working anymore, no Xcode updates, nothing! Edit: I'm using Expo! CLIs: expo-cli@5.4.9 / eas-cli@0.53.0 and "expo": "~44.0.0" |
As many others, the same thing is happening to us. No packages updated, just some minor javascript changes. Not using expo. We resolved the issue in debug mode by changing a few variable names but in release mode we are getting a notification about different ones and there are way more, doesn't seem feasible to manually change them all. Glad to find this thread, at least we're not alone! Seems like an Apple issue, there is a thread over there of a bunch of people with the same problem: https://developer.apple.com/forums/thread/127678. I submitted a report to them. Here's hoping it gets fixed soon! |
Experiencing the same with React Native and everything was working as of yesterday for us. |
Same here, builds are not rolling out... |
This may be due to apple updating their policy. Saw a comment that suggested needing to log in to your apple developer account (separate from app store connect) and agree to the updated policy. Apparently submissions will work after this? I'm testing this now. |
"The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble." |
Hi, Message from Apple: "The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble." Thanks. |
I can verify that we're able to submit now (with the same code). |
I can confirm too that the issue was resolved by Apple. |
Thanks for the callout, @bennsandoval. Tried uploading again and found success. |
I solved it once, but the problem occurred again. |
Update the macOS to Mojave and Xcode to latest version. |
This issue has not yet been resolved. |
Seeing the same issue as @Tak-As. Building a release scheme. Debug mode works just fine. |
how did you solve it |
I didn't. It was an Apple issue, after a day it was sorted out and, without doing anything different, it worked. |
Still an issue. |
Still getting the same issue with newer version of xcode i.e 14.2 |
getting the same issue with newer version of Xcode 14 |
This issue has gone in many different directions (in some cases it's Apple's backend, in some it's Expo-related, etc etc) and there's no clear repro that pinpoints how this is a specific issue caused by react-native core itself. I am closing this so if anyone has this issue with the latest version of react-native 0.70 (NOT EXPO) they can open a new issue with a clear, usable repro so that it can be investigated further. |
Description
Submitting a React Native app build to the Apple App Store results in a rejection email regarding "Non-public API usage".
Version
0.68.1
Output of
npx react-native info
System:
OS: macOS 11.6.4
CPU: (8) arm64 Apple M1
Memory: 148.92 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.0.0 - ~/.nvm/versions/node/v16.0.0/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v16.0.0/bin/yarn
npm: 7.10.0 - ~/.nvm/versions/node/v16.0.0/bin/npm
Watchman: 2022.02.28.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.1 => 0.68.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
1:Archive App(Release scheme)
2:Upload the resulting .ipa file to App Store Connect via Transporter (available on the Apple App Store)
3:Receive an email from apple that the build was rejected.
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: