Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-2153

'non-public symbols' and 'Invalid sdk value' issue when publish app with Realm 10.42.0 added via SPM .binaryTarget() approach

      How frequently does the bug occur?

      Once

      Description

      When I tried to publish new version of the app with with Realm 10.42.0 added via SPM .binaryTarget() approach I got rejection with following details:
      `We identified one or more issues with a recent submission for App Store review for your app, "AppName" 4.224.0 (20230816085000). Please correct the following issues, then upload again.
      ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Realm.framework/Realm: __availability_version_check. 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/
      ITMS-90512: Invalid sdk value - The value provided for the sdk portion of LC_BUILD_VERSION in appName.app/Frameworks/Realm.framework/Realm is 17.0 which is greater than the maximum allowed value of 16.6.`

      I would appreciate if you address this issue in the news version.

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      We identified one or more issues with a recent submission for App Store review for your app, "AppName" 4.224.0 (20230816085000). Please correct the following issues, then upload again.
      ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Realm.framework/Realm: __availability_version_check. 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/
      ITMS-90512: Invalid sdk value - The value provided for the sdk portion of LC_BUILD_VERSION in appName.app/Frameworks/Realm.framework/Realm is 17.0 which is greater than the maximum allowed value of 16.6.
      

      Can you reproduce the bug?

      Always

      Reproduction Steps

      No response

      Version

      10,42.0

      What Atlas Services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      16.4

      Build environment

      Xcode version: 14.3.1
      Dependency manager and version: 5.8

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: