Yes, you can target specific iPhone models when distributing your app on the App Store by setting the required device capabilities in your app's Info.plist file. Here's how you can do it:
Add the required device capability for LiDAR:
- In your Xcode project, open your Info.plist file.
- Add a new key called `UIRequiredDeviceCapabilities`.
- Add `lidar` to the array of required capabilities.
This will ensure that your app is only available for devices that have LiDAR, which includes the iPhone 12 Pro, iPhone 12 Pro Max, iPhone 13 Pro, iPhone 13 Pro Max, iPhone 14 Pro, and iPhone 14 Pro Max.
Set the minimum iOS version:
- Make sure your app's deployment target is set to a version of iOS that supports the devices you want to target.
Here is an example of how your Info.plist might look:
```xml
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>lidar</string>
</array>
<key>MinimumOSVersion</key>
<string>14.0</string>
```
By adding the `lidar` key to `UIRequiredDeviceCapabilities`, the App Store will filter out devices that do not have LiDAR capabilities, effectively limiting your app to the Pro and Pro Max models since the iPhone 12.
Make sure to test your app thoroughly on the target devices to ensure compatibility and performance.