简体   繁体   中英

New Xcode8 extension development process

Recently I'm running the Xcode plugin migration to Xcode8 built in version. But I can't find enough documentation since it's new and the resource is very rare.

Does anybody know how to publish / install / update /remove process of the new extensions?

I've try many solution but many of the users say it doesn't work.

Here is my project call Swimat - to format your swift code.

https://github.com/Jintin/Swimat/tree/extension

Thanks for any kind of information.

Are you asking how your users can install/update/remove your extension?

If so, they just need to launch your container app. Once they do, they'll see the extension in System Preferences (where they can also disable it if necessary), and it'll show up when they launch Xcode.

系统偏好设置 - 扩展

Distribution of your source editor extension works just like other types of App Extensions. See: App Extension Programming Guide

If your users are having trouble running any source editor extensions, it's possible they'll need to follow a workaround from the Xcode 8 release notes:

To use the Editor's Comment/Uncomment Selection and Add Documentation commands—as well as other installed Xcode Extensions—on OS X version 10.11, launch Xcode and install additional system components, then restart your Mac. (26106213)"

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM