GBDeviceInfo icon indicating copy to clipboard operation
GBDeviceInfo copied to clipboard

Support Swift Package Manager

Open DanielKrofchick opened this issue 4 years ago • 2 comments

The package can be added to a project but it fails when building, giving multiple Property has a previous declaration errors. The errors occur for properties such as displayInfo and deviceVersion where duplicates are showing in GBDeviceInfo_iOS.h and GBDeviceInfo_OSX.h.

DanielKrofchick avatar Feb 25 '21 19:02 DanielKrofchick

I'm able to install via SPM as well, but see the issue:

target 'GBDeviceInfo' has invalid header layout: umbrella header found at .../SourcePackages/checkouts/GBDeviceInfo/GBDeviceInfo/GBDeviceInfo.h', but directories exist next to it: .../SourcePackages/checkouts/GBDeviceInfo/GBDeviceInfo/Supporting Files; consider removing them

austinlouden avatar May 19 '21 23:05 austinlouden

(I think probably this repo is in more of a self-serve mode. Any chance one of you guys would be willing to toss up a PR? Would do, but I'm currently using via bazel instead of SPM.)

cpsauer avatar Feb 11 '23 08:02 cpsauer