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
error: Execution was interrupted, reason: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0). The process has been left at the point where it was interrupted, use "thread return -x" to return to the state before expression evaluation.
#116
Open
youssefavx opened this issue
Aug 21, 2020
· 2 comments
@davidecastello Unfortunately not :/ haven't gone back to Swift since then, but if I ever do, reading and writing CSV files is something I do frequently so I might stumble into this situation once more in the future and try to debug.
Sorry if this is too simple but I'm quite new to Swift so this is all unfamiliar to me. I pasted this code into xcode and got the error above:
Particularly it was pointing at this line:
let csv = try! CSVWriter(stream: stream)
In what seems to be the console, I got this:
Fatal error: 'try!' expression unexpectedly raised an error: CSV.CSVError.cannotOpenFile: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang_Fall2018/swiftlang_Fall2018-1000.11.42/src/swift/stdlib/public/core/ErrorType.swift, line 184
The text was updated successfully, but these errors were encountered: