question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SVGs do not support file:// scheme on mac

See original GitHub issue

It appears that the precompiled binaries for mac don’t include the ability for SVGs to reference local files. Here is a simple test which fails to draw the red circle on darwin, but succeeds on linux-x64.

  • run.sh will run the tests
  • run-in-docker.sh will run them on linux in docker

Note that the “absolute path” tests assume the directory is at /workspace.

test.zip

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lovellcommented, Mar 9, 2019

Please feel free to re-open this issue with more details if/when they become available.

1reaction
mike-marcaccicommented, Mar 9, 2019

Hi @lovell, sadly I ran out of time (and will probably be fully preoccupied for the next several weeks). With this only broken on Mac, it’s taken a backseat to some other projects.

I do still hope to get around to diving back into this, though, since our development is done primarily on Mac.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Native SVG support | Apple Developer Forums
It has become more and more frustrating that there is no native support for rendering or parsing SVG files in macOS/iOS. Both from...
Read more >
How to view an SVG image on Mac OSX? - Super User
I needed a nearly-portable solution to view SVG files (vector export from Google Drawings, which doesn't print large images well) since my Mac...
Read more >
SVG Assets in Xcode for Single Scale Images - SwiftLee
It's important to point out that SVGs are only supported on macOS 10.15 or later, iOS 13 or later, and iPadOS or later....
Read more >
Bug: [5.0] SVGs cannot be imported (not as components, but ...
Describe the bug When importing a SVG in a regular manner (not as a component): import Logo from './logo.svg' There is an error...
Read more >
SVG image XCode support or not…? - Shivam Thaker - Medium
It's important to point out that SVGs are only supported on macOS 10.15 or later, iOS 13 or later, and iPadOS or later....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found