Problem when publishing an application on the App Store [Non-public API usage]

Jorge Jerez

Until three weeks ago, my application could upload it to the App Store without any problem. However, Apple has refused to upload the app with a new message about Non-public API usage.

The application is developed with Xamarin in Visual Studio for Mac and has updated all the libraries and packages. Can anybody help me? Because I can not find what the problem is, nor do I see any solution. It will be something new?

Thank you all.

Non-public API usage:

The app references non-public selectors in AppAytoSS.iOS: 
  addTemporaryAttribute:value:forCharacterRange:, 
  addTemporaryAttributes:forCharacterRange:, behaviorWithType:, 
  defaultBaselineOffsetForFont:, defaultLineHeightForFont:, finished, 
  greekingThreshold, horizontalCornerRadius, 
  initWithSource:convolutionState:weights:, initWithType:, 
  postSession:didAddPlayer:, postSession:didReceiveData:fromPlayer:, 
  postSession:didReceiveMessage:withData:fromPlayer:, 
  postSession:didRemovePlayer:, 
  postSession:player:didChangeConnectionState:, 
  postSession:player:didSaveData:, preferredMetalContext, removeData:, 
  removeTemporaryAttribute:forCharacterRange:, setGreekingThreshold:, 
  setHorizontalCornerRadius:, setIsPrimary:, setShouldAntiAlias:, setUUID:, 
  setVerticalCornerRadius:, shouldAntiAlias, 
  temporaryAttribute:atCharacterIndex:effectiveRange:, 
  temporaryAttribute:atCharacterIndex:longestEffectiveRange:inRange:, 
  temporaryAttributesAtCharacterIndex:effectiveRange:, 
  temporaryAttributesAtCharacterIndex:longestEffectiveRange:inRange:, 
  textContainerChangedTextView:, toolTip, usesBackgroundSession, 
  verticalCornerRadius
Mohamed Saleh

After filling an internal issue with the Xamarin team, they advised doing the following

adding --linksdkonly to the Additional mtouch arguments on the iOS Build settings page
As it seems that Visual Studio ignores the settings in GUI

I have tested it and now get my build accepted by Apple without the above error

This is the issue filed on Xamarin https://github.com/xamarin/xamarin-macios/issues/5913

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to automatically update a Flutter Mobile app to newer version when the application is not on play store or app store?

Do I need to do any extra work when publishing an app in Google Play Store which uses firebase/firestore service?

App does not uploaded on iOS App connect store with reason non-public APIs

When I submit an iOS app with armadillo, the BLAS symbols are rejected as private (ITMS-90338: Non-public API usage)

Non-public API usage : The app contains one or more corrupted binaries

In app purchase not working after publishing iOS app to App Store

Non-public selectors in App?

When an API goes public, can an app still get rejected for using it?

Publishing Unity Application on Windows Phone Store

Non-public API usage: The app references non-public symbols: __XCTFailureFormat, __XCTFailureHandler

itunes store operation failed the app references non-public selectors in payload : setResult; taskWithResult

How to fix Play Store error about 64 bit binaries when publishing app built Expo / React Native?

Flutter issue on publishing app on Google Play Store

Problem with build version when publishing APK to Play Store

Problem with Publishing my App in F-Droid

Publishing app problem in google play console

Should I use arm7 or arm64 in info.plist when publishing to Apple App Store (iOS/iPad)

Javascript usage in Windows Store App

What is the size of my Iphone Application when downloaded from the App Store?

Visual Studio publishing to app store with Xamarin

publishing a mobile application with Marketing content on App Store

Publishing an app in the Apple Enterprise Store, how it works?

Error when publishing Marketplace App

Unable to submit an MS app for publishing to store

When I try store a file doesn't store it in storage\app\public

iOS AdMob no ads after publishing on App Store

Publishing app to google store from android studio

ITMS-90338: Non-public API usage

ITMS-90338: Non-public API usage PROCESSING ERROR - Previously Working