#file returns nil

EDIT: my bad. #file is fine. it was the URL i was getting from that #file (that contained a space). apologies. time to take a rest!

~~never had that in the past. i'm building a command line tool through a Swift package (not the first time). i split it in two modules so that i can test it.

in my tests, i have some code that requires #file. well, that's in the file and yet, i get nil returned. no idea why. all my other packages work fine. code is similar.

anything obvious i'm missing? i'm not even sure what info i can give. let me know.~~

1 Like