dependencies: [
.package(url: "https://github.com/katsuyax/CBDevice, from: "1.0.4"),
]
pod 'CBDevice', '>= 1.0.4'
import CBDevice
print(CBDevice.modelName()) // ex) iPhone 15
print(CBDevice.modelCode()) // ex) iPhone16,1
iPhone/iPad/iPod touch released by September 2024
CBDevice is available under the MIT license. See the LICENSE file for more info.