You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build swift-sh using Xcode 13 GM and I get the following error:
/Users/q1214382/Developer/swift-sh/.build/checkouts/PathKit/Sources/PathKit.swift:583:12: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
free(cPattern)
^
/Users/q1214382/Developer/swift-sh/.build/checkouts/PathKit/Sources/PathKit.swift:583:12: note: coalesce using '??' to provide a default when the optional value contains 'nil'
free(cPattern)
^
?? <#default value#>
/Users/q1214382/Developer/swift-sh/.build/checkouts/PathKit/Sources/PathKit.swift:583:12: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
free(cPattern)
^
!
[3/10] Compiling PathKit PathKit.swift
The command I'm using is swift build -c release, and it's working just fine on Xcode 12.5.1. I'm wondering if something has changed in Swift 5.5 that's causing trouble.
The text was updated successfully, but these errors were encountered:
I'm trying to build swift-sh using Xcode 13 GM and I get the following error:
The command I'm using is
swift build -c release
, and it's working just fine on Xcode 12.5.1. I'm wondering if something has changed in Swift 5.5 that's causing trouble.The text was updated successfully, but these errors were encountered: