iOS解决插件失效问题

每当xcode升级时都会导致一些插件失效的问题,这真是一个令人头大的问题,如何解决插件不可用问题呢,插件之所以能在xcode中使用时因为当安装插件时将xocde的UUID注册到了插件的配置文件中,我们可以看一下插件的结构。
1、查找插件的位置可以使用Finder->前往->前往文件夹输入插件地址

~/Library/Application Support/Developer/Shared/Xcode/

或者使用命令:command+shift+g
这里写图片描述

点击前往,可以看到插件的位置如下。

这里写图片描述

2、随意选择一个插件右键选择显示包内容
这里写图片描述

包内容如下:

这里写图片描述

3、用xcode打开info.plist内容如下:
这里写图片描述

4、在info.plist中可以看到有一项DVTPlugInCompatibilityUUIDs,这就是我们需要操作的地方,需要把当前xcode的UUID,插入DVTPlugInCompatibilityUUIDs中。
5、获取UUID,在终端中输入以下命令:

defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID

这里写图片描述

6、将获取的UUID插入DVTPlugInCompatibilityUUID中,重启xCode,如果弹出一个弹框,选择loadBoundle就行。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
精简不需要的Iphone手机自带软件 1.删除OTA升级: System/Library/LaunchDaemons  把3个进程删除 com.apple***le.softwareupdated.plist com.apple.OTATaskingAgent.plist com.apple.softwareupdateservicesd.plist 修改Applications/Preferences.app/ General.plist 删除下面:                <dict> <key>cell</key> <string>PSLinkCell</string> <key>cellClass</key> <string>PSBadgedTableCell</string> <key>detail</key> <string>SoftwareUpdatePrefController</string> <key>id</key> <string>SOFTWARE_UPDATE_LINK</string> <key>label</key> <string>SOFTWARE_UPDATE</string> </dict> 2.删掉系统壁纸 /Library/Wallpaper/iPhone 3.**菜单修改 路径/Applications/Preferences.app/Privacy.plist 4.访问限制修改 路径/Applications/Preferences.app/Restrictions.plist 5.设置修改 路径/Applications/Preferences.app/Settings.plist 以下很多删除项目在删除原文件后都需要在这个文件中修改。具体是:找到程序名称,如下面的“天气”,就找Weather,将两个<dict>之间的十多行,也可能只有几行,记不清了。全部删除。下同。记得要做好备份。 备份方法:点Settings.plist,导出到电脑。然后复制一份,在复制出的上面修改。保存,然后将手机中的原文件删除,将修改后的粘贴进去。注销ok。 6.删除天气 /Applications/Weather.app /System/Library/WeeAppPlugins/AttributionWeeApp.bundle /System/Library/AccessibilityBundles/Weather.axbundle /System/Library/AccessibilityBundles/WeatherAssistantUI-Assistant.axbundle /System/Library/AccessibilityBundles/WeatherFramework.axbundle /System/Library/AccessibilityBundles/WeatherNotifications.axbundle /System/Library/Assistant/UIPlugins/WeatherAssistantUI.siriUIBundle /System/Library/BulletinBoardPlugins/WeatherNotifications.bundle /System/Library/PrivateFrameworks/Weather.framework /System/Library/LocationBundles/Weather.framework 7.删除股票 /Applications/Stocks.app /System/Library/WeeAppPlugins/StocksWeeApp.bundle /System/Library/AccessibilityBundles/Stocks-Assistant.axbundle /System/Library/AccessibilityBundles/Stocks.axbundle /System/Library/AccessibilityBundles/StocksFramework.axbundle /System/Library/AccessibilityBundles/StocksWeeApp.axbundle /System/Library/Assistant/Plugins/Stocks.assistantBundle /System/Library/Assistant/UIPlugins/Stocks.siriUIBundle /System/Library/PrivateFrameworks/Stocks.framework 8.删除语音备忘录 /Applications/VoiceMemos.app /System/Library/AccessibilityBundles/VoiceMemos.axbundle /System/Library/AccessibilityBundles/VoiceMemosFramework.axbundle /System/Library/PrivateFrameworks/VoiceMemos.framework /System/Library/SearchBundles/VoiceMemos.searchBundle /System/Library/SpringBoardPlugins/VoiceMemosLockScreen.lockbundle /System/Library/SyncBundles/VoiceMemos.syncBundle /System/Library/UsageBundles/VoiceMemosUsageBundle.bundle 9.删除指南针 /Applications/Compass.app /Applications/CompassCalibrationViewService.app /System/Library/AccessibilityBundles/Compass.axbundle /System/Library/AccessibilityBundles/CompassViewCalibrationService.axbundle /System/Library/PreferenceBundles/CompassSettings.bundle /System/Library/PrivateFrameworks/CompassUI.framework 10.删除通知中心 日历日视图 /System/Library/WeeAppPlugins/CalendarWidget.bundle 11.删除提醒事项 /Applications/Reminders.app /System/Library/WeeAppPlugins/RemindersWidget.bundle /System/Library/AccessibilityBundles/Reminders-Assistant.axbundle /System/Library/AccessibilityBundles/Reminders.axbundle /System/Library/Assistant/Plugins/Reminders.assistantBundle /System/Library/Assistant/UIPlugins/Reminders.siriUIBundle /System/Library/PreferenceBundles/RemindersSettings.bundle /System/Library/SearchBundles/Reminders.searchBundle 通知中心图标位置: /System/Library/BulletinBoardPlugins/CalendarProvider.bundle  打开Info.plist 删掉第8行: <string>EKBBReminderProvider</string> ,保存 12.删除passbook /Applications/Passbook.app /Applications/PassbookUIService.app /System/Library/AccessibilityBundles/PassKitFramework.axbundle /System/Library/AccessibilityBundles/PassesLockScreenPlugin.axbundle /System/Library/BulletinBoardPlugins/PassesBulletinBoardPlugin.bundle  ”通知中心“的图标 /System/Library/UsageBundles/PassbookUsageBundle.bundle   “用量”的图标 /System/Library/Frameworks/PassKit.framework /System/Library/LaunchDaemons/com.apple.passd.plist /System/Library/SpringBoardPlugins/PassesLockScreenPlugin.lockbundle 13.删除 Nike /Applications/Nike.app /System/Library/AccessibilityBundles/Nike.axbundle /System/Library/AccessibilityBundles/VictoriaSettings.axbundle /System/Library/PreferenceBundles/VictoriaSettings.bundle /System/Library/SpringBoardPlugins/NikeLockScreen.bundle 14.禁用spotlight搜索【鉴于大家反映删除后仍然可以拉出,但是功能失效的情况,这个就暂时删除了,大家可以用插件禁止】 15.删除Twitter: 删除 /System/Library/Frameworks//Twitter.framework /System/Library/AccessibilityBundles//TwitterFramework.axbundle /System/Library/AccessibilityBundles//TwitterSettings.axbundle 16.删除facebook 删除 /Applications//FacebookAccountMigrationDialog.app /System/Library/AccessibilityBundles//FacebookSettings.axbundle /System/Library/PreferenceBundles//FacebookSettings.bundle 打开/Applications/Preferences.app/Settings.plist 找到Facebook删除dict之间的代码 17.删除微博: 删除/System/Library/PreferenceBundles//WeiboSettings.bundle 打开/Applications/Preferences.app /Applications/Settings 找到WeiboSettings删除dict之间的删 腾讯微薄和这个一样。主要是名字有变化,前面加了Tencent就是腾讯的那几个字母。TencentWeibo 19.删除邮件 Applications/Mobilemail.app /Library/Application Support/Mail /private/var/root/Library/Mail /var/root/Library/Mail /System/Library/AccessibilityBundles/MobileMail.axbundle /System/Library/AccessibilityBundles/MobileMailSettings.axbundle /System/Library/BulletinBoardPlugins/MailDataProvider.bundle 20.删除地图 /Applications/Maps.app /System/Library/AccessibilityBundles//MapKitFramework.axbundle /System/Library/AccessibilityBundles//Maps-Assistant.axbundle /System/Library/AccessibilityBundles//Maps.axbundle /System/Library/PreferenceBundles//MapsSettings.bundle /System/Library/Frameworks//MapKit.framework 21.删除视频 /Applications/Videos.app /System/Library/AccessibilityBundles//Videos.axbundle /System/Library/PreferenceBundles//VideoSettings.bundle /System/Library/Frameworks//VideoToolbox.framework 这个全部删除后在用量中有个空白图标,找不到原因,尚未解决。 22.删除 Game Center /Applications/GameCenterUIService.app /Applications/Game Center~iphone.app /System/Library/BulletinBoardPlugins/GameKitDataProvider.bundle 23. 删除备忘录 /Applications/Notes.app /System/Library/AccessibilityBundles//Notes-Assistant.axbundle /System/Library/PreferenceBundles//NotesSettings.bundle

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值