WeTransfer / Diagnostics

Allow users to easily share Diagnostics with your support team to improve the flow of fixing bugs.
MIT License
953 stars 55 forks source link

Still crashes on the CSS line #28

Closed OscarGorog closed 4 years ago

OscarGorog commented 4 years ago

This line is still crashing on 1.0.1, using Swift PM

Screen Shot 2019-12-07 at 9 39 47 am
AvdLee commented 4 years ago

Did you do a clean build? I was able to reproduce it before but not anymore!

AvdLee commented 4 years ago

You're right, got it reproduced! Working on a fix now

AvdLee commented 4 years ago

Unfortunately, this is due to the fact that SPM does not support resources yet: https://forums.swift.org/t/draft-proposal-package-resources/29941

I'll work on a temporary fix this Monday to not have the requirement of including the complete CSS file.

OscarGorog commented 4 years ago

Can’t you just put the CSS into a plain String in the code?

AvdLee commented 4 years ago

@OscarGorog yes, that's exactly what I was planning to do and did! 🙂