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

Compiler error on Xcode15 - Forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents. #179

Open
august-setel opened this issue Nov 28, 2023 · 0 comments · May be fixed by #184

Comments

@august-setel
Copy link

august-setel commented Nov 28, 2023

Hi, im upgrading my project to run on Xcode 15,

During 3rd party library upgrade, i stumble into compiler error for SwinjectStoryboard

'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
Screenshot 2023-11-28 at 17 10 27

Below are Swinject version i use

github "Swinject/Swinject" == 2.8.3 
github "Swinject/SwinjectStoryboard" == 2.2.3

I found Some workaround mention here -> https://github.com/atrick/swift-evolution/blob/diagnose-implicit-raw-bitwise/proposals/nnnn-implicit-raw-bitwise-conversion.md#associated-object-string-keys

not sure if anyone encounter this as well ?

@august-setel august-setel changed the title Compiler error on Xcode15 Forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.` Compiler error on Xcode15 - Forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents. Nov 28, 2023
@sdretu sdretu linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant