You need the following:
Apple Licensing Notes
Apple provides two different types of development licenses for iOS apps:
There are some situations in which you might want to purchase both licenses. For example, you might purchase the Apple Developer license to widely distribute your app, and the Enterprise license to permit local distribution for your own testing. In this scenario, you will require both licenses because you will need to create two separate builds. Each will require its own set of metadata.