Hi, a final update on my issues with running tests...
# touchlab-tools
r
Hi, a final update on my issues with running tests for iOS in the IDE vs command line. I rewrote my code to not rely on throwing exceptions across methods (and instead use the Result class) and I no longer have any issues. I don’t know why I had this problem. If i get time I will try and create a github repo that replicates the issue.
r
I wasn't following closely, sorry. You could look at adding
@Throws
annotations, but not sure if that was your issue or not
r
would that be required within the KMM library or just at the boundaries?
where can i find further info on
@Throws
?
Also the different behaviour for iOS with the IDE vs command line was baffling.
When compiling to Objective-C/Swift framework, non-
suspend
 functions having or inheriting this annotation are represented as 
NSError*
-producing methods in Objective-C and as 
throws
 methods in Swift. Representations for 
suspend
 functions always have `NSError*`/`Error` parameter in completion handler