Xcode 10: Failed to create Provisioning Profile - There are no devices registered
Make sure you have connected your iOS device to your Mac and selected it as the run destination.

Yes, you do not need a paid membership to the Apple developer program. You can register for an Apple developer account for free and can build and run apps on a maximum of upto three devices.