Skip to content

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

@august-setel

Description

@august-setel

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions