# lmirosevic/GBDeviceInfo

Detects the hardware, software and display of the current iOS or Mac OS X device at runtime.

Repository: https://github.com/lmirosevic/GBDeviceInfo
Canonical: https://ross.abutalabs.com/products/gbdeviceinfo
Language: Objective-C
License: Apache-2.0
License Family: permissive
Topics: hacktoberfest
Last push: 2026-01-02T18:03:43+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 60, release rhythm 35, longevity 100
- inputs: {"age_days": 5258, "days_push": 243, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1143, forks 197 (observed 2026-08-28T04:03:44.997886+00:00)

## What it is
GBDeviceInfo is an Objective-C library that detects the hardware, software, and display characteristics of the current iOS or macOS device at runtime. It exposes device model, family, OS version, screen details, and optional jailbreak status through a simple API.

## Use cases
- detect which iPhone or iPad model the app is running on
- check the iOS or macOS version at runtime
- get screen size and pixels per inch of the device
- determine if an iOS device is jailbroken
- get the raw system info string like iPhone7,2
- branch app behavior based on device family or display type

## When to choose
- you need detailed device model and display identification in an iOS or macOS app
- you want a lightweight Objective-C library available via CocoaPods
- you need jailbreak detection as an optional subspec

## When to avoid
- you are building for platforms other than iOS or macOS
- you prefer a Swift-native device information API
- you need actively developed features beyond device detection

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, sdk
- domain: apple-ecosystem, mobile-development, developer-tools, hardware
- platform: cpp
- tags: device-detection, objective-c, cocoapods, hardware-info, jailbreak-detection, display-info, ios, macos, swift

## Member repositories
- lmirosevic/GBDeviceInfo (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.997886+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:34:56.125753+00:00, confidence not recorded.
  - readme: https://github.com/lmirosevic/GBDeviceInfo (fetched 2026-08-28T04:03:44.997886+00:00, sha dbacd606c0fa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
