title: Uploading build to App store Error: "ITMS-90338: Non-public API usage"?
body: <p>I am using Xcode version 11.1. My app is a Flutter app.</p>
  <p>I am trying to upload my mobile app using Xcode and App Store connect. I have all the necessary info on app store connect except for the actual build. I cannot get the build to upload based on the following error (according to Apple):</p>
  <blockquote>
  <p>Dear Developer,</p>
  <p>We identified one or more issues with a recent delivery for your app, &quot;******&quot; 1.0.0 (0.1). Please correct the following issues, then upload again.</p>
  <p>ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _ptrace. 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 <a href="http://developer.apple.com/support/technical/" rel="nofollow noreferrer">http://developer.apple.com/support/technical/</a></p>
  <p>Though you are not required to fix the following issues, we wanted to make you aware of them:</p>
  <p>ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the &quot;aps-environment&quot; entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the &quot;aps-environment&quot; entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see <a href="https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1" rel="nofollow noreferrer">https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1</a>.</p>
  <p>Best regards,</p>
  <p>The App Store Team</p>
  </blockquote>
  <p>I understand the second error is not necessary, but I wanted to include all the email text, just in case I'm missing something. I've been reading online a lot of people are having issues with the last few Xcode updates?</p>
  <p>How can I upload my app?*</p>