Skip to content

NXGetLocalArchInfo is marked as private API #635

Description

@vox-humana

Platform:

  • iOS
  • tvOS
  • MacOS
  • watchOS

Swift:

  • Yes -> 5.2
  • No

sentry-cocoa installed with:

  • CocoaPods
  • Carthage
  • Manually

Version of sentry-cocoa:
5.1.0


Seems like Apple marked NXGetLocalArchInfo, which used in the library to get arch name, as private API. Since the end of the previous week we are getting this message when we are uploading our mac binaries to App Store Connect:

... ITMS-90338: Non-public API usage - The app references non-public symbols in Contents/Frameworks/Sentry.framework/Versions/A/Sentry: _NXGetLocalArchInfo. 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/

Thus, we cannot release our builds anymore. Even though I believe this an issue on Apple side because this method seems quite public to me, I think we should probably consider using a different method. Will try to reach App Store Review team while and will post an update here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions