locked
Non-private API usage RRS feed

  • Question

  • User137312 posted

    Has anything changed in builds processing on AppStore Connect during last few weeks? I can't upload any Xamarin.iOS build. Even those which were successfully uploaded previously.

    Apple sent to me this me email with this message:

    Non-public API usage: The app references non-public selectors in ProjectNameSpace.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

    I use latest VS, XCode and Xamarin.iOS versions. VS: 8.0.3 (build 14) XCode: Version 10.2.1 (10E1001) Mono: 5.18.1.3

    Thursday, April 18, 2019 3:01 PM

Answers

  • User369978 posted

    Check the issue: https://github.com/xamarin/xamarin-macios/issues/5913.

    Scroll down to the end and follow the solution

    Removing the LLVM, setting Linker behvaiour to Link Framework SDKs and adding --linksdkonly did the job.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, April 19, 2019 2:57 AM