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

IOS TestFlight Non-public API usage error ITMS-90338 for __dyld_find_unwind_sections using NativeAOT #90408

Closed
charlesroddie opened this issue Aug 11, 2023 · 3 comments · Fixed by #90430

Comments

@charlesroddie
Copy link

charlesroddie commented Aug 11, 2023

Description

We are testing our app with NativeAOT and attempted to upload a build to TestFlight.

We got an ITMS-90338: Non-public API usage error about __dyld_find_unwind_sections.

There were initially many additional symbols complained about, but these went away when we set invariant globalization.

Reproduction Steps

Upload a NativeAOT-compiled iOS app to TestFlight
To see the smaller error message described here, set globalization to invariant.

Expected behavior

No errors

Actual behavior

ITMS-90338: Non-public API usage - The app references non-public symbols in 50iOS: __dyld_find_unwind_sections

Regression?

No response

Known Workarounds

No response

Configuration

Pool: Azure Pipelines
Image: macos-13
Agent: Hosted Agent
Current agent version: '3.225.0'
Operating System
macOS
13.5
22G74
Runner Image
Image: macos-13
Version: 20230801.2
Included Software: https://github.com/actions/runner-images/blob/macos-13/20230801.2/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20230801.2

dotnet sdk 8.0.100-preview.7.23376.3

Other information

No response

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 11, 2023
@ghost
Copy link

ghost commented Aug 11, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

We are testing our app with NativeAOT and attempted to upload a build to TestFlight.

We got an ITMS-90338: Non-public API usage error about ITMS-90338: Non-public API usage.

There were initially many additional symbols complained about, but these went away when we set invariant globalization.

Reproduction Steps

Upload a NativeAOT-compiled iOS app to TestFlight

Expected behavior

No errors

Actual behavior

ITMS-90338: Non-public API usage - The app references non-public symbols in 50iOS: __dyld_find_unwind_sections

Regression?

No response

Known Workarounds

No response

Configuration

Pool: Azure Pipelines
Image: macos-13
Agent: Hosted Agent
Current agent version: '3.225.0'
Operating System
macOS
13.5
22G74
Runner Image
Image: macos-13
Version: 20230801.2
Included Software: https://github.com/actions/runner-images/blob/macos-13/20230801.2/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20230801.2

dotnet sdk 8.0.100-preview.7.23376.3

Other information

No response

Author: charlesroddie
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

@charlesroddie charlesroddie changed the title TestFlight Non-public API usage error ITMS-90338 for ITMS-90338: Non-public API usage with NativeAOT TestFlight Non-public API usage error ITMS-90338 for __dyld_find_unwind_sections using NativeAOT Aug 11, 2023
@charlesroddie
Copy link
Author

Link to the discussion on Discord DotNetEvolution\apple: https://discord.com/channels/732297728826277939/732297808148824115/1139569699001213019

@ivanpovazan ivanpovazan added the os-ios Apple iOS label Aug 11, 2023
@ghost
Copy link

ghost commented Aug 11, 2023

Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

We are testing our app with NativeAOT and attempted to upload a build to TestFlight.

We got an ITMS-90338: Non-public API usage error about __dyld_find_unwind_sections.

There were initially many additional symbols complained about, but these went away when we set invariant globalization.

Reproduction Steps

Upload a NativeAOT-compiled iOS app to TestFlight

Expected behavior

No errors

Actual behavior

ITMS-90338: Non-public API usage - The app references non-public symbols in 50iOS: __dyld_find_unwind_sections

Regression?

No response

Known Workarounds

No response

Configuration

Pool: Azure Pipelines
Image: macos-13
Agent: Hosted Agent
Current agent version: '3.225.0'
Operating System
macOS
13.5
22G74
Runner Image
Image: macos-13
Version: 20230801.2
Included Software: https://github.com/actions/runner-images/blob/macos-13/20230801.2/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20230801.2

dotnet sdk 8.0.100-preview.7.23376.3

Other information

No response

Author: charlesroddie
Assignees: -
Labels:

untriaged, os-ios, area-NativeAOT-coreclr

Milestone: -

@ivanpovazan ivanpovazan added this to the 9.0.0 milestone Aug 11, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Aug 11, 2023
@charlesroddie charlesroddie changed the title TestFlight Non-public API usage error ITMS-90338 for __dyld_find_unwind_sections using NativeAOT IOS TestFlight Non-public API usage error ITMS-90338 for __dyld_find_unwind_sections using NativeAOT Aug 11, 2023
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 11, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 12, 2023
@akoeplinger akoeplinger modified the milestones: 9.0.0, 8.0.0 Aug 12, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants