braze-inc / braze-swift-sdk

Braze SDK for the Apple ecosystem, including: iOS, macOS, iPadOS, visionOS, tvOS
https://www.braze.com
Other
52 stars 19 forks source link

[Bug]: Many warnings when building BrazeUI via SPM #81

Closed scottlemke closed 1 year ago

scottlemke commented 1 year ago

Platform

iOS

Platform Version

iOS 17.0

Braze SDK Version

6.6.1

Xcode Version

Xcode 15.0

Computer Processor

Apple (M1)

Repro Rate

100%

Steps To Reproduce

Integrate the BrazeUI library via Swift Package Manager and build.

Expected Behavior

No warnings are generated from the BrazeUI package.

Actual Incorrect Behavior

The following warning is displayed 10 times:

Generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
Screenshot 2023-09-27 at 4 50 35 PM

Verbose Logs

No response

Additional Information

No response

hokstuff commented 1 year ago

Hi @scottlemke,

Thanks for raising this! We are finalizing changes in our private repository to address these warnings in Xcode 15 and will keep you updated once it's released.

scottlemke commented 1 year ago

@hokstuff Sounds great. Thank you!

jerielng commented 1 year ago

Hey @scottlemke, we've just released version 7.0.0 of the Swift SDK, which addresses these warnings. Thank you!