I just looked at some of the other hex codes using "L" and tried again with AF0A... no errors.
Does this help us?
sudo gdisk /dev/disk0
Password:
GPT fdisk (gdisk) version 1.0.4
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): t
Partition number (1-3): 2
Current type is 'Apple HFS/HFS+'
Hex code or GUID (L to show codes, Enter = af00): af0a
Changed type of partition to 'Apple APFS'
Command (? for help): p
Disk /dev/disk0: 236978176 sectors, 113.0 GiB
Sector size (logical): 512 bytes
Disk identifier (GUID): 5C089A2F-BA4F-4F7B-AE2A-5A03869F8148
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 236978142
Partitions will be aligned on 8-sector boundaries
Total free space is 4069 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00
2 409640 158748671 75.5 GiB AF0A
3 158748672 236974079 37.3 GiB 0700
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk0.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.
Mikes-MacBook-Pro:~ mike$ diskutil repairDisk disk0
Repairing the partition map might erase disk0s1, proceed? (y/N) y
Started partition map repair on disk0
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partition's file system
Checking the EFI system partition's folder content
Checking all HFS data partition loader spaces
Checking booter partitions
Reviewing boot support loaders
Checking Core Storage Physical Volume partitions
The partition map appears to be OK
Finished partition map repair on disk0