bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
https://bkaradzic.github.io/bgfx/overview.html
BSD 2-Clause "Simplified" License
14.59k stars 1.92k forks source link

feat: bring back ios-simulator support #3278

Open okwasniewski opened 2 months ago

okwasniewski commented 2 months ago

This PR reintroduces ios/tvos simulator support to bgfx. It will allow developers to develop and extend the framework easily.

Corresponding PR to bx: https://github.com/bkaradzic/bx/pull/322

It should fix this issue: #3239

Test plan

Generate test projects using GENie (I've used the latest version from main):

iOS:

 ~/GENie/bin/darwin/genie --with-combined-examples --xcode=ios --gcc=ios-simulator xcode15

tvOS:

 ~/GENie/bin/darwin/genie --with-combined-examples --xcode=tvos --gcc=tvos-simulator xcode15

Screenshots

CleanShot 2024-04-12 at 14 35 08@2x

CleanShot 2024-04-12 at 14 39 13@2x

Note: I've tested everything on M1 Macbook Pro (Apple Silicon)