I have an iPhone on which until last evening was able to run an app without issue , my iphone is added to the developer portal and signing is set to auto in Xcode 9, and it was running fine. Since last morning I have started receiving error
A valid provisioning profile for this executable was not found
I can see the device is on developer portal , also I am able to install the app on other phone from Xcode 9 just fine. So clearly this is not developer portal related issue.
I have restarted / fully restarted iPhone a few times and also quite Xcode 9 as well, but doesn't seems to work.
How can this be solved ?
Never mind this was solved as follows,
Removed the derived data folder and removed the device from Xcode , restarted Xcode, and connected iPhone again , this time it reindexed the device and all worked just fine.
Fixed this issue by going to developer.apple.com/account > Certificates, IDs & Profiles > Provisioning Profile > Development, create or download an existing valid provisioning profile and double-click it. It should add the provisioning profile to the device you're using.
也许试试这个:1。打开钥匙串应用程序2.在左侧面板中选择“会话”3.在右上方搜索输入中尝试相关关键字(您的苹果ID,您的团队名称等),您可以找到您的所有认证,其中一些可能已过期,只需删除它们,然后重新启动Xcode /重新连接您的设备。
尝试通过归档创建ipa,然后通过itunes安装它
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.