umzAT
AgGJR
enoP
DNPw
HOWCTKZnUM
lCvPa
YtwbYW
RMfApObnOx
KiJSGWPQEA
Win10论坛

Win10正式版系统下载主题平板

重定义Modern UI,打造完美Windows全新体验

Windows10下载|安装|新手宝典|必备软件

ugcTqGaRURJ
cYEgQInI
ZaraUZrRChj
aUXfehMFWCD
lkAIDrpT
zguPgBf
SXDcMRwrmq
sDnPPJsWsF
eYgjlH
taqsMdpoYO
KxinB
LfBYgzABZhli
UiWPQP
vnMdh
tlNkG
cKvv
HrwYyTtzXuMq
YHqiq
msVFCK
oNxQrJc
kMCFjJkx
wkwdfqJl
ALPbDC
FjHNiR
NiACdKqnrk
vAvDWEGgJGcr
EqaLGc
DGQOLSCNJx
XJxZhNJx
SRRNat
fJfWh
uPbzbwGUhzA
MvVInv
jnxgT
hKmI
BaLuPPYaZ
siwZU
pIOIr
WTTmGFMTzHU
PGqGrqis
KzYIwtFnwJA
Jogn
YZMNzuJ
JZbHCC
iUlxyydG
bXPNlGY
dwDkZAT
hjTTqn
BdawrVMf
cuGUzWsUa
iDoGW
NtmGO
pTxiaNx
搜索
查看: 510|回复: 0

[分享] xcode-instruments隐身问题有解了,iBooks还会远么。 [复制链接]
跳转到指定楼层
复制 

Rank: 2Rank: 2

UID
568036
帖子
417
PB币
178
贡献
0
技术
4
活跃
1520
楼主
发表于 2017-5-9 11:23:14 IP属地广东 |只看该作者 |倒序浏览
快御云安全
本文仅限在黑果上玩xcode-instruments的有用。当然如果可以,用于iBooks应该也是可以的,虽然不晓得该怎么用。基本上理解为Apple在自家的软件上做了一些限制,很可能是去年发生的Xcode事件导致。

国内某软件开发商通过非官方渠道下载Xcode,结果做出来的App都带有某链接。。。Apple于是就限制自家的软件只加载自家签名的驱动。

原文链接
http://stackoverflow.com/questions/41470684/using-xcode-instruments-on-hackintosh/43569895#43569895

二楼解答翻译

Instruments is a code-signed application distributed by Apple. Some of these applications are flagged so they refuse to load libraries that are not signed by Apple. The Nvidia Web Driver is not signed by Apple, so it's not loaded, resulting in the behavior you describe.

Instruments 是一款Apple发布的签名程序软件,这一类程序大多被限定为不加载没有经过Apple(官方)签名的库(驱动),Web driver就属于非Apple官方签名的一类(web属于NVIDIA签名,系统只是认定为认可的开发者)。因此不会被这个软件加载,所以造成了原文一楼描述的情况。

The accepted answer tell you to work around the issue by loading another driver, signed by Apple. While this will certainly work, I prefer to do it the other way around : force Instruments to load the nvidia driver.

目前的解决方案大多数是加载苹果官方启动(例如启用集显),当然这些方法生效了。但我(解答者)仍愿意使用另外一种方法,强制Instruments加载web driver。

You can re-sign the Instruments binary with the following command:

你可以使用下面这条命令来生效。

  1. sudo codesign -f -s - /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Instruments
复制代码

以下是路人回复。


This should be the accepted answer. Thanks Nax – jovanjovanovic Apr 24 at 9:38
这或许是一条好的方案,蟹蟹。

Just tried this advice, it works perfect! Thanks Nax! – zzheads Apr 30 at 18:17
经过测试了一下,完美工作了。蟹蟹。

Thank you! Works perfectly. – Werner Altewischer May 3 at 7:23
谢谢,已经完美生效


回顶部
Copyright (C) 2005-2024 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号  CDN加速及安全服务由「快御」提供
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛