Xcode - The maximum number of apps for free development has been reached !

I have an iOS device which I had been using for testing the apps for a while as a Personal Team using an Apple ID . According to Unity documentation here ,

You don’t need an Apple Developer account to build to devices; any Apple ID is sufficient for building only to your own device for testing.

Now for some reason I keep getting this error on Xcode (after all the compilation) when the app is about to install on the device for testing . Below is the screenshot attached .

In between I am using Xcode 8.0 , iOS 10.0.2

P.S - I have tried with different Apple ID’s but of no use .

I found this thead:

https://forums.developer.apple.com/thread/49304

It seems that the problem is the number apps on the phone that were created using that profile. Try to delete some.