2016-03-25 75 views
7

所以我的問題是,在純Swift項目(幾乎:-))與測試也寫在Swift我得到了這個每一個構建。 Build通過Fastlane 1.63開始。 :儀器想要分析其他進程的權限Jenkins

▸ DTServiceHub: Instruments wants permission to analyze other processes. Please enter an administrator username and password to allow this. 
▸ Username (jenkins): Password: 
▸ Failed to authorize rights (0x1) with status: -60007. 

當Mac OS X Server上安裝了新的命令行工具和Xcode 7.3時,會出現問題。 Objective-C項目每次都有效。我已經完成了在這些主題中提出的建議,但沒有工作: Remove the authorization prompt from command line instruments (Under mavericks) Is there a way to remove the authorization prompt from command-line instances of Instruments (XCode)?以及我可以找到的所有其他地方。我不知道如何解決它。

+0

我已經開始有問題後Xcode 7.3升級...有什麼機會解決這個問題? –

回答

9

我剛剛經歷過類似的問題,由Fastlane scan命令觸發執行測試。

正在關注the discussion on this issuethis Apple Support discussion我設法通過解決它,使我的CI機器上的「開發者模式」

$ DevToolsSecurity -status 
Developer mode is currently disabled. 

$ DevToolsSecurity -enable 
Developer mode is now enabled. 
+1

已經嘗試過,狀態已啓用:-( –

+1

Xcode 7.3升級後我已經開始有問題了...有任何機會解決了這個問題嗎? –

+0

是的,對於我來說手動操作的幫助,但我已經完成了很多事情之前,所以我不知道這是否是這樣,也重新啓動Xcode,通過終端接受許可證xCode,重新啓動詹金斯和Mac作爲主機運行 –

-1

我對Xcode 7.3有同樣的問題。我不是我的Mac上的管理員(我在公司網絡上工作),所以網絡管理員給了我管理員權限,它的工作原理...我不知道爲什麼:)