1. Why duplicates happen
TargetDetect keeps your scorebook in your own iCloud account, so every iPhone, iPad and Mac signed in to it shows the same sessions. When the same record reaches iCloud from two devices, iCloud keeps both, and you see it twice. For example:
- You used TargetDetect on two devices before they synced, and entered the same firearm, ammo or range on each.
- A device that already held your scorebook signed in to iCloud, where a copy of the same scorebook was waiting.
- The same backup was loaded on two devices.
Nothing is lost: duplicates are extra copies, not missing data. But a doubled session counts twice in your reports, so it's worth merging them.
2. What TargetDetect merges by itself
The built-in lists — manufacturers, calibers, target types and drills — are merged automatically after iCloud syncs. You never need to do anything about those.
Your own records are never merged without asking, because two entries that look the same may not be: two “Glock 19” entries may really be two guns.
3. Merge your own records
- Close TargetDetect on your other devices. Swipe it up and away in the app switcher, so they can't add copies back while the merge runs.
- On one device, open Settings → Options. Under Data, tap Show beside Maintenance.
- Beside Duplicates, tap Merge.
- Tap Test Run (no changes). It lists what it would merge, and changes nothing.
- If the list looks right, tap Merge again and choose Merge For Real.
- Choose Back Up, Then Merge. TargetDetect makes a fresh backup and checks it before merging. If you'd rather keep the backup you already have, Merge, Keep Backup from… merges without replacing it.
Before it starts, TargetDetect waits for iCloud to finish any changes still on their way, so every copy is on the device. Keep it open; this usually doesn't take long. When it's done, it reports what it merged. Each set becomes one record, and everything that pointed at a copy now points at the one that's kept: a merged session keeps all its targets, and a merged firearm keeps every target shot with it.
Your other devices pick up the result through iCloud. You can open TargetDetect on them again once the merge is done.
4. What counts as a duplicate
Records are merged only when they match on every one of these:
- Firearms — same name, model and serial number
- Ranges — same name and map location
- Ammunition — same name, caliber and bullet weight
- Sessions — same date and time
- Targets — same session and time taken; their shots are combined too
5. What's left alone
- Entries that differ in any of those details, say two firearms with different serial numbers. If one is a mistake, delete the one you don't want, or rename it.
- Two targets taken at the same time with different photos. They're kept, because they may really be two targets.
- Unreachable records: shots whose target is gone, and empty targets with no session. They aren't duplicates, and no screen shows them. If the merge finds any, it says so and offers Remove Unreachable, which never touches a target that still holds a photo, shots or a score.
