-
Notifications
You must be signed in to change notification settings - Fork 20
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
Supress deprecated symbols blocking App Store submission #55
Conversation
This issue has been raised before. But it should have been "fixed". Please see this comment: #41 (comment) Do you still have this issue, even if no code reference the |
Strange. Yeah, the fix relied on those being optimized out, due to not being referenced by anything. Either that assumption is flaky, or you don't have enough optimizations turned on? If we entirely remove these symbols, it's a breaking change in the sys crate, because we remove publicly accessible constants. |
There is something strange here. This PR does not remove any reference to If the IrDA stuff do not cause you trouble, do you really need to remove it? I'm just trying to understand the problem and how this code change actually fixes it. |
Ok. I see. In fact indeed, I'm forced to disable symbol striping because of the build system I have (combination of Swift/Rust/Flutter). This is why I'm hitting the issue. |
But this crate has no reference to |
Indeed on the actual main branch I don't see kSCNetworkInterfaceTypeBridge anymore. I did the commit in April, that's why it's included in the PR. After checking my Cargo.lock I see one dependency that still rely on 0.5.1, this is likely the cause of the symbol inclusion. I will likely still have an issue with kSCNetworkInterfaceTypeIrDA as I'm not stripping symbols but I understand my setup is unusual. I'm closing the PR. [[package]] |
Ok! You'll have to contact the We want this crate to build on iOS of course. We were hoping that symbol stripping would solve the issue. But if it does not, we might have to revisit this issue and do something similar to what you do in this PR. But it should be enough to remove the IrDA symbol from the |
This change is