Commit 4f1adc8
fix: macOS UIImage build issues (#2862)
# Summary
Really simple change to get skia running on macOS, I noticed this while
testing BareExpo in the expo/expo repo. Just add a `!TARGET_OS_OSX`
check and use `NSImage`
## Test Plan
Run fabric-macos-example on macOS
<img width="1392" height="864" alt="image"
src="https://github.com/user-attachments/assets/199d860b-7722-4afd-90a7-9741d8fe9034"
/>
## Compatibility
| OS | Implemented |
| ------- | :---------: |
| MacOS | ✅ |
## Checklist
<!-- Check completed item, when applicable, via: [X] -->
- [x] I have tested this on a device and a simulator
- [ ] I added documentation in `README.md`
- [ ] I updated the typed files (typescript)
- [ ] I added a test for the API in the `__tests__` folder
---------
Co-authored-by: Jakub Grzywacz <[email protected]>1 parent 99cc75d commit 4f1adc8
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
233 | 236 | | |
234 | 237 | | |
235 | 238 | | |
| 239 | + | |
236 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
237 | 244 | | |
238 | 245 | | |
239 | 246 | | |
| |||
0 commit comments