iOS Packaging for distribution problems IPP ERROR: Failed to find a valid matching mobile provision

WOOHOO, I think I found the solution, yes all the problems above are true, but instead of compiling with the distribution certificate and provision, there is an easier way, just compile it with Development provision and cert, and then use the “Re-sign an IPA” tool in the IPP-Advanced tool tab, you also have to check the “compress modified files” in the settings, manually set the provision and certificate and it worked the first time I tried, I uploaded using “Application Loader” on mac, and it got accepted, now the app is on AppStore ready to be tested. Considering all the things I tried in last 3 days and time and nerves wasted, I really want to make a video tutorial about all this so others can avoid these problems, but first things first, I need to finish this up and make sure everything really does work and get the game published. If this wouldn’t have worked I would probably sell this Macbook and buy a newer one that supports Metal shader.