GameNetworkingSockets icon indicating copy to clipboard operation
GameNetworkingSockets copied to clipboard

Get CMake to support Android and iOS platforms

Open LeventSevgili opened this issue 2 years ago • 2 comments

I always wanted to get CMake to support Android and iOS platforms. I had a little time window and managed to work it and I am happy to share. I will be super glad if it helps to someone!

It may have points to discuss. I'm glad to iterate. I had comments on files. Thanks!

LeventSevgili avatar Mar 07 '24 23:03 LeventSevgili

When this will be merged?

ANURAGX avatar Jan 03 '25 04:01 ANURAGX

Just a note for the iOS package distribution, I see in the README, a dynamic library (.dylib) this has not been allowed for a long time on Apple stores, it is mandatory to have a static library: .a or .xcframework! I will soon post a github URL of one of my repositories, for :

  • iOS/iPadOS (arm64)
  • Android (arm64-v8a / armeabi-v7a)
  • Linux (x64/arm64)
  • Windows (x64/arm64)
  • macOS (x64 /arm64)
  • Steam Linux (x64 /arm64) via the Steam Linux Runtime 3.0 Sniper SDK
  • Steam Deck (x64) via the Steam Runtime 3.0 Sniper SDK

Which will contain all the pre-compiled libraries in static form that you can retrieve via the artifacts of the Github Actions CI: protobuf + OpenSSL + GameNetworkingSockets, with obviously the latest version latest release of the libraries! I automated it from a CI so I would just have to change the tag / commitsha of protobuf (+absail) / openssl / GameNetworkingSockets, when I have the devkit for consoles I will also make the request to extend on consoles!

corentin35000 avatar Jul 23 '25 00:07 corentin35000