My iPhone is recognized as macOS instead of iOS

For some reason even though I don’t own a Mac, my iPhone is recognized as running on macOS when it’s running on iOS. For example, when I try to download iOS 14 beta on my iPhone it doesn’t let me download iOS 14 and it will say “iOS device required” when I tried to install the configuration profile but it will let me install the new macOS beta profile on my iPhone for some reason because it thinks my iPhone is a Mac.
I’ve even tried resetting my iPhone and that didn’t work.
Please help me resolve this issue!

even though I don’t own a Mac

That should be the first sign that you need to stop what you're trying. You have no means to even debug what is wrong, let alone you probably are not a developer then.
My iPhone is recognized as macOS instead of iOS
 
 
Q