I\'m trying to test my app on my device and am hitting the error stating \"A valid provisioning profile matching the application\'s Identifier \'com.mycompany.MyApp\' could
i was dealing with this problem forever, and similarly, quitting and reopening xcode and then refreshing from developer portal did the trick. interestingly, i guess because i am using a wildcard app id, i don't have to manually change the bundle id in the xcode project's target.