ios-library: Airship iOS SDK 16.11.3 Does Not Compile With Xcode 15b1
Preliminary Info
What Airship dependencies are you using?
SDK v16.11.3, via CocoaPods. Using Core and Automation.
What are the versions of any relevant development tools you are using?
Xcode 15 beta 1 (15A5160n)
Report
What unexpected behavior are you seeing?
Failed compilation of the Airship iOS SDK.
What is the expected behavior?
Successful compilation of the Airship iOS SDK.
What are the steps to reproduce the unexpected behavior?
- Use
pod 'Airship', '16.11.3', :subspecs => ['Core', 'Automation'], - Compile with Xcode 15b1
Do you have logging for the issue?
The underlying issue may be beta toolchain related but I wanted to create this issue to track its resolution.
Stored value type does not match pointer operand type!
store i64 %98, %TSiSg* %9, align 8, !dbg !746
i64Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000000010a11f91c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x000000010a11eae0 llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x000000010a11ff1c SignalHandler(int) + 352
3 libsystem_platform.dylib 0x000000019e8caa24 _sigtramp + 56
4 libsystem_pthread.dylib 0x000000019e89bc28 pthread_kill + 288
5 libsystem_c.dylib 0x000000019e7a9ae8 abort + 180
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 9
- Comments: 16 (8 by maintainers)
Using the 0 byte file inspection trick to track down the file with the issue, I think I was able to work around the issue.
SDK 17.x - https://github.com/urbanairship/ios-library/commit/28fa3a1965bd0f8ba1a8ae6cf5abf6f87fd5b7a5 branch
xcode-15SDK 16.x - https://github.com/urbanairship/ios-library/commit/c4babdf4099a326b73ca80e8e7229a75ea2b63ca branch
xcode-15-SDK16Could someone in this thread try pointing the SPM package to one of those branches to see if the issue is resolved for you? Once I get confirmation Ill work on releasing a patch.
Tried compiling an app w/ this library (added w/ CocoaPods) in beta 2 and getting the same errors. Changing optimization settings didn’t seem to do anything
Changing optimization level doesn’t seem to work when brought in via SwiftPM
Fixed in both 17.0.3 and 16.12.3
still the same with Beta 3
here is the stack trace