What does Xcode 8.2 want to do with plugins? Teach you the scientific use of plugins

Source: Internet
Author: User

Landlord belongs to the heavy plug-in relying on the party
I had a XcodeGr8 before, but every time I open Xcode for the first time, I get stuck for a long time, which makes me uncomfortable.

While using
Https://github.com/fpg1503/MakeXcodeGr8Again
Would be a little more convenient.

But using this to Unsign will cause the first time to save the card 10 minutes of the bug (both My Computer) ...

This method is not going to work.
So the study finally settled the resign method.
I'm not sure what the principle is, anyway I'm currently through Alcatraz successfully installed Xcode7 on several mainstream plugins
Ksimagenamed Image Pre-Browse plugin
Xalign Typesetting Plugin
Esjsonformat Model Generation Plugin
Ktimageassets 3x to 2x and plugin for making icons

Other plugins should also be used in the same way

So let me just say my steps.

1. Download the original Xcode8 first
2. Copy the Xcode8 in the application (for later package upload)
3. Turn on "Keychain Access"
4. Top navigation bar-Keychain Access-Certificate processing-Create certificate

5. Fill in

If the picture hangs, I'll describe it.
First line name fill Xcodesigner
The second line does not change
Third line Select Code signature
Nothing else is changed click Create.

6. Terminal operation (wait more than 10 minutes, SSD will be faster)
$ sudo codesign-f-s Xcodesigner/applications/xcode.app

7. Then you can install Alcatraz.
Https://github.com/alcatraz/Alcatraz
Download, run, load bundle (classic plug-in installation process)
If Xcode8.1 is running the Alcatraz project, perform a nineth step (add 8.1 uuid to Alcatraz otherwise not run)

8. Then you can install the plugin using Alcatraz

9. What if some plugin authors do not update Xcode8 's ID?
If you install a plugin with Alcatraz, but restart Xcode does not show the load bundle
In terminal run the following code add XCODE8 ID to plug-in should be able to solve the problem of most plug-ins

Find ~/library/application\ support/developer/shared/xcode/plug-ins-name info.plist-maxdepth 3 | xargs-i{} defaults write {} dvtplugincompatibilityuuids-array-add ' defaults read/applications/xcode.app/contents/ Info.plist Dvtplugincompatibilityuuid '


Above ~
-------------------------------
About Xcode8.1
Tested 8.1 can be used no problem

If the problem occurs after resign, the old plugin may be causing
You can try to clear the contents of both folders
~/library/application Support/developer/shared/xcode/plug-ins
/users/your user name/application\ support/developer/shared/xcode/plug-ins

If a command line resign cannot be invoked
1. Check that the information in the keychain is consistent
2. Check if the terminal command is wrong (direct copy is not error)
3. Check if Xcode is pure and not modified

---about ksimagenamed picture name code hint plugin not available on Xcode8.1
Https://github.com/ksuther/KSImageNamed-Xcode

Because ksimagenamed this plug-in location is very special, you need to add the UUID manually

After downloading the project with Xcode and then adding the xcode8.1 uuid inside the plist, the Bulid project can be successfully installed.
da4fdfd8-c509-4d8b-8b55-84a7b66ae701

What does Xcode 8.2 want to do with plugins? Teach you the scientific use of plugins

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.