惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
J
Java Code Geeks
Jina AI
Jina AI
罗磊的独立博客
宝玉的分享
宝玉的分享
S
SegmentFault 最新的问题
D
DataBreaches.Net
博客园 - 叶小钗
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
B
Blog
V
Visual Studio Blog
雷峰网
雷峰网
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
Engineering at Meta
Engineering at Meta
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

Home on Alex Plescan

bigdraw: I made a collaborative drawing site Just for fun: animating a mosaic of 90s GIFs Two computers, one monitor, zero fiddling Placeholder names should be bad and unique Rebuilding this site Okay, I really like WezTerm GNU Parallel, where have you been all my life? Timeseries with PostgreSQL Easy SVG sparklines Using Declarative Shadow DOM to embed HTML emails on a web page Selling SaaS on Gumroad PDF: The Conjoined Triangles of Success Deploying Metabase to Fly.io The ".x" Files Emojify your Wi-Fi (Netgear R6300 edition) How to use the San Francisco Mono typeface before macOS Sierra is released Disabling App Transport Security in your development environment Swift: A nicer way to tell if your app is running in Debug mode Development environment config overrides in Jekyll Setting up SwiftLint on Travis CI
Xcode 8 managed signing: adding new device UUIDs to a pro...
2017-06-11 · via Home on Alex Plescan

Xcode 8 introduced managed code signing, which automatically generates the App IDs, signing certificates, and provisioning profiles you’d usually need to set up manually for your app. This covers most aspects of getting your app ready for distribution, but one thing that still isn’t automatic is Xcode’s handling of devices UUIDs manually added in the Developer Portal; when new device UUIDs are added you still need to generate a fresh provisioning profile which includes them.

Luckily if you’re using managed code signing, all you need to do is delete your managed provisioning profile and let Xcode repair it. It will automatically create a new profile which includes any new devices you have added in the portal.

More detailed instructions on how to do this are here:

  1. Browse to developer.apple.com, sign in, and add the UUIDs for your new devices
  2. In Xcode, open up Preferences > Accounts, and select your Apple ID and Team, then click “View Details”
  3. Right click and select “Move to Trash” on the provisioning profile matching the one automatically generated by Xcode (its name should look like “iOS Team Provisioning Profile: [your app identifier]”)
  4. Shut down and restart Xcode
  5. Browse to your project’s general settings - you should see your Provisioning Profile rebuilding
  6. Once the provisioning profile has been rebuilt, your new devices should be included in it!
  7. You can verify that your new UUIDs have definitely been included in the Provisioning Profile by clicking on the info icon next to the Provisioning Profile’s name, and dragging the icon of the Provisioning Profile onto your desktop. This will copy the .mobileprovision file to your desktop, which you can then open using a text editor. Look for the <ProvisionedDevices> key, and you should see the UUIDs you added earlier to the developer portal included in its <Values> array.
  8. Rebuild/redistribute your app, and you’re good to go!