Did you build with the associated provisioning profile?
almost 6 years ago
yep, thanks, maybe that was the problem, maybe I had associated a wrong profile, or maybe it was just a cluster of different problems... I'm not sure which one was actually.
While trying to solve I basically went again through the whole process of registering my device, creating certificates, and so on... and also changed some build settings on XCode, in Code Signing section, also about provisioning... and it ended up working :)