Swift-Device-Info-Unity-Plugin-

A simple Swift Unity plugin to get information about the device. This is a Framework type project.

How to Build

Build normally on Xcode. Navigate to DerivedData folder (see screenshots)

Screen Shot 2023-06-27 at 10 54 20

Screen Shot 2023-06-27 at 10 55 50

Screen Shot 2023-06-27 at 10 57 09

How to add to Unity3d

Place the DeviceProperties.framework built file or pick the one here to the Plgins/iOS folder. If you do not have them, Create them. Make sure the property Add to Embedded Binaries is checked

Screen Shot 2023-06-27 at 11 03 25

Screen Shot 2023-06-27 at 11 05 34

GitHub

View Github