Skip to content

Strip error code 1 symbols referenced by indirect symbol table entries that can't be stripped #25952

Description

@Hamdev-Arnaud

CameraTest_Release_AnyCPU_Build_2026-07-07T10_30_13.9701092+02_00.zip

Apple platform

iOS

Framework version

net10.0-*

Affected platform version

VS 2026 18.7.3

Description

Since the last update of VS to version 18.7.3 and the workload update on my pc to those versions:
Workload version: 10.0.300.3

Installed Workload Id Manifest Version Installation Source
android 36.1.53/10.0.100 SDK 10.0.300, VS 18.7.11925.98, VS 17.14.37411.7
ios 26.5.10284/10.0.100 SDK 10.0.300, VS 18.7.11925.98, VS 17.14.37411.7
maccatalyst 26.5.10284/10.0.100 SDK 10.0.300, VS 18.7.11925.98, VS 17.14.37411.7
maui 10.0.20/10.0.100 SDK 10.0.300
maui-windows 10.0.20/10.0.100 SDK 10.0.300, VS 18.7.11925.98, VS 17.14.37411.7
wasm-tools 10.0.108/10.0.100 SDK 10.0.300, VS 18.7.11925.98, VS 17.14.37411.7

Maui Version used 10.0.80
Xcode Version 26.6

We are again blocked during the build of our test project (just a project with a binding framework to open the ios camera ) included in this ticket only during the release build with the following error :
strip exited with code 1:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: error: symbols referenced by indirect symbol table entries that can't be stripped in: /Users/arnaudberard/Library/Caches/maui/PairToMac/Builds/CameraTest/ec19af5832c10faf2d4bac2e1c047ab51299f8497a3d15e941c97410c0f9823a/bin/Release/net10.0-ios/ios-arm64/CameraTest.app/Frameworks/CameraFramework.framework/CameraFramework
_dispatch_once
_objc_alloc_init
_objc_msgSendSuper2
_objc_release
_objc_retain
_objc_retainAutoreleaseReturnValue
_objc_retainAutoreleasedReturnValue
_objc_storeStrong
_objc_msgSend
__NSConcreteStackBlock
_AVCaptureSessionPresetHigh
_AVLayerVideoGravityResizeAspectFill
_AVMediaTypeVideo

It seems that something changed because everything was fine until I update my Visual Studio.

CameraProjects0707.zip

So if you can help with that problem it will help our project a lot.

Steps to Reproduce

Create a project with a native binding framework(OBJ C) included in a nugget
Build in release paired to a mac
Error during the link phase

Did you find any workaround?

Disable the strip native debug symbol for release

Build logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    binding-projectsIssue or PR that affects binding projectsbugIf an issue is a bug or a pull request a bug fixregressionThe issue or pull request is a regression

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions