Hello,
I'm encountering an issue when compiling my project with Swift 6.0.2. The build fails with the following error during the SIL optimization stage:
While running pass #420546 SILFunctionTransform "DeadArgSignatureOpt" on SILFunction "@$s6Former012TextFieldRowA0C8onReturnyACyxGXDySScF". for 'onReturn(_:)' (at /path/to/your/project/Pods/Former/Former/RowFormers/TextFieldRowFormer.swift:45:18)
It seems related to the DeadArgSignatureOpt pass and occurs specifically with the onReturn function in TextFieldRowFormer.swift.
Here are some details about my environment:
Swift version: 6.0.2
Xcode version: 16.1 (16B40)
CocoaPods version: 1.16.2
Former version: 1.8.1
This issue does not occur with earlier versions of Swift (e.g., Swift 5.x).
I’ve tried the following steps to resolve the issue:
Cleaned and rebuilt the project.
Updated CocoaPods dependencies (pod update).
Reduced the optimization level to -Onone, but the issue persists.
Could you please look into this and let me know if there are any known issues or potential fixes?
Thank you for your time and help!
Best regards,
Leonid Kvit
Hello,
I'm encountering an issue when compiling my project with Swift 6.0.2. The build fails with the following error during the SIL optimization stage:
While running pass #420546 SILFunctionTransform "DeadArgSignatureOpt" on SILFunction "@$s6Former012TextFieldRowA0C8onReturnyACyxGXDySScF". for 'onReturn(_:)' (at /path/to/your/project/Pods/Former/Former/RowFormers/TextFieldRowFormer.swift:45:18)It seems related to the DeadArgSignatureOpt pass and occurs specifically with the onReturn function in TextFieldRowFormer.swift.
Here are some details about my environment:
Swift version: 6.0.2
Xcode version: 16.1 (16B40)
CocoaPods version: 1.16.2
Former version: 1.8.1
This issue does not occur with earlier versions of Swift (e.g., Swift 5.x).
I’ve tried the following steps to resolve the issue:
Cleaned and rebuilt the project.
Updated CocoaPods dependencies (pod update).
Reduced the optimization level to -Onone, but the issue persists.
Could you please look into this and let me know if there are any known issues or potential fixes?
Thank you for your time and help!
Best regards,
Leonid Kvit