本文仅限在黑果上玩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: 你可以使用下面这条命令来生效。 - 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
谢谢,已经完美生效
|
|