urbanairship / ios-library

Urban Airship iOS SDK
http://urbanairship.com
Apache License 2.0
478 stars 265 forks source link

Compile errors with Xcode 15 #364

Closed MacMark closed 1 year ago

MacMark commented 1 year ago

Preliminary Info

What Airship dependencies are you using?

Swift Package https://github.com/urbanairship/ios-library

What are the versions of any relevant development tools you are using?

Xcode 15

Report

What unexpected behavior are you seeing?

When trying to build the existing project with Xcode 15 (which compiles with Xcode 14):

Command SwiftCompile failed with a nonzero exit code

What is the expected behavior?

Should compile

What are the steps to reproduce the unexpected behavior?

Try to use and compile AirshipCore with Xcode 15

Do you have logging for the issue?

See attachment Build Radio.de_2023-06-08T12-08-00.txt

Dragna commented 1 year ago

same problem with the version 17 of airship which is currently in beta

rlepinski commented 1 year ago

This is a duplicate of https://github.com/urbanairship/ios-library/issues/362

Pretty sure its this issue - https://github.com/apple/swift/issues/66359

I was able to compile if I set my swift optimization flag to -O