Skip to content
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

NXGetLocalArchInfo is marked as private API #635

Closed
3 of 9 tasks
vox-humana opened this issue Jul 27, 2020 · 10 comments · Fixed by #651
Closed
3 of 9 tasks

NXGetLocalArchInfo is marked as private API #635

vox-humana opened this issue Jul 27, 2020 · 10 comments · Fixed by #651

Comments

@vox-humana
Copy link

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.

@philipphofmann
Copy link
Member

philipphofmann commented Jul 28, 2020

Thanks, @vox-humana for reporting this. FirebaseCrashlytics has a similar issue: firebase/firebase-ios-sdk#6128 .

@vox-humana
Copy link
Author

vox-humana commented Jul 30, 2020

Thanks for the quick fix 🥳
I've raised a feedback ticket to Apple right after I posted it here. Haven't got any response.
The feedback ticket number is FB8184586 in case somebody faces the same issue and finds this thread.

@philipphofmann
Copy link
Member

philipphofmann commented Aug 14, 2020

@vox-humana do you by any chance already have a response from the App Store Review team?

@vox-humana
Copy link
Author

@philipphofmann Apple has reached us once via feedback assistant to confirm the case, but after that unfortunately no news.

@philipphofmann
Copy link
Member

Thanks for the update @vox-humana. So they confirmed the case. Does this sound like they are going to fix it?

@vox-humana
Copy link
Author

@philipphofmann According to my personal statistics Apple never confirms bugs and gives developers any hope 😅 The same happens this time. They've just asked whether we could confirm this issue and that was all.

@vox-humana
Copy link
Author

Unfortunately, I can't quickly check whether it is still an issue just by building and uploading binary with this symbol because we have quite strict process for publishing builds (don't have direct access to signing certificates).

@philipphofmann
Copy link
Member

I wasn't expecting they would tell you they fix it 😁, but worth a shot. Thanks, a lot for the update @vox-humana.

@philipphofmann
Copy link
Member

@vox-humana do you have maybe any updates if NXGetLocalArchInfo is stilled marked as private?

@vox-humana
Copy link
Author

@philipphofmann Because we are using the library without this symbol I can't verify the issue anymore. Also, we didn't get any reply from Apple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants