-
-
Notifications
You must be signed in to change notification settings - Fork 375
Description
Platform
iOS
Environment
Production
Installed
Swift Package Manager
Version
Latest
Xcode Version
15.4
Did it work on previous versions?
Yes
Steps to Reproduce
We are facing an App Store rejection and believe it is related to Sentry. We’d appreciate your help resolving the issue.
App Store Rejection Details
Apple rejected our app under the following guideline:
Guideline 2.5.1 – Performance – Software Requirements
Apple reports that the app uses or references non-public or deprecated APIs, which is not permitted.
Flagged Classes:
_TtC7SwiftUIP33_A34643117F00277B93DEBAB70EC0697122_UIShapeHitTestingView__SwiftValue
According to Apple, usage of non-public or deprecated APIs can lead to poor user experience if those APIs change and is therefore not supported on Apple platforms.
Apple’s Suggested Next Steps
Revise the app binary and remove references to the identified non-public or deprecated APIs.
Update all third-party libraries to their latest versions.
If the source code of a dependency is not accessible, use tools such as:
strings – to list methods called by a library
This is used in sentry iOS, here is the screenshot of related file
Here is file link:
| redactClasses.insert(ClassIdentifier(classId: "_TtC7SwiftUIP33_A34643117F00277B93DEBAB70EC0697122_UIShapeHitTestingView")) |
Expected Result
We should able to upload our app without any issue
Actual Result
Facing an App Store rejection
Are you willing to submit a PR?
No