Once I made the shift to either Xcode 11.5 or Beta 12 I am getting this warning in OpenGLRendering.swift
in
func withGLChar(_ operation:(UnsafePointer<GLchar>) -> ()) {
if let value = self.cString(using:String.Encoding.utf8) {
operation(UnsafePointer<GLchar>(value))
} else {
fatalError("Could not convert this string to UTF8: \(self)")
}
}
the line operation(UnsafePointer(value))
has the following warning Initialization of 'UnsafePointer' (aka 'UnsafePointer') results in a dangling pointer
Interestingly the project still works on local devices but once the app is sent to TestFlight users it stops working.
I'm wondering if anyone has successfully fixed this?
Once I made the shift to either Xcode 11.5 or Beta 12 I am getting this warning in OpenGLRendering.swift
in
the line operation(UnsafePointer(value))
has the following warning Initialization of 'UnsafePointer' (aka 'UnsafePointer') results in a dangling pointer
Interestingly the project still works on local devices but once the app is sent to TestFlight users it stops working. I'm wondering if anyone has successfully fixed this?