I'm trying to install my pubcoder ipa to my iPad. I created AdHoc Provisioning Profile (selected my iPad device). Created and downloaded Distribution certificate. I successfully built the spa file, then opened Xcode/Devices and finally selected ipa file to install to my iPad. But it gives me an error `A valid provisioning profile for this executable was not found.`. I also tried to create an empty Xcode project with same app id, then successfully built & installed to my iPad. I couldn't figure it out.
By the way, I can't use preview, because wifi&usb options are grey. How can I preview on my device?