質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.49%
Xcode

Xcodeはソフトウェア開発のための、Appleの統合開発環境です。Mac OSXに付随するかたちで配布されています。

Q&A

解決済

1回答

1897閲覧

XCode 8.1.3 を入れた後に Xcode 7 を入れたところ後者が起動せずクラッシュします

muso_tensei

総合スコア7

Xcode

Xcodeはソフトウェア開発のための、Appleの統合開発環境です。Mac OSXに付随するかたちで配布されています。

0グッド

0クリップ

投稿2017/04/16 00:03

###前提・実現したいこと
XCodeを起動できるようにしたい
XCode 8.1.3 を入れた後に Xcode 7 を入れたところ後者が起動せずクラッシュし以下のエラーメッセージが発生しました。

###発生している問題・エラーメッセージ

エラーメッセージ Process: Xcode [10544] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 6.3.1 (7703) Build Info: IDEFrameworks-7703000000000000~4 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [10544] User ID: 501 Date/Time: 2017-04-16 07:34:22.274 -0700 OS Version: Mac OS X 10.12 (16A2323a) Report Version: 12 Anonymous UUID: 07F6BE9B-B4FE-D5D0-E221-B73E6DE5632C Sleep/Wake UUID: 5274A07C-E468-4169-B41E-50C5AF6A8C93 Time Awake Since Boot: 54000 seconds Time Since Wake: 510 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: ProductBuildVersion: 6D1002 ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-7703/IDEKit/CommandsAndSelection/IDECommandManager.m:72 Details: Error looking up handler class for extension 'Xcode.IDEKit.CmdHandler.CaptureViewHierarchy' in plug-in 'com.apple.dt.dbg.DebuggerUI': Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.iCloudSupport, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., DVTPlugInDYLDErrorMessageErrorKey=dlopen(/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport, 0): Library not loaded: /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity Referenced from: /Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport Reason: image not found, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin, NSLocalizedFailureReason=The plug-in “com.apple.dt.IDE.iCloudSupport” at path “/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin” could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7fe8fe2558d0 {Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport): Library not loaded: /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity Referenced from: /Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport, NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport): Library not loaded: /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity Referenced from: /Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin/Contents/MacOS/iCloudSupport Reason: image not found, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/iCloudSupport.ideplugin, NSLocalizedDescription=The bundle “iCloudSupport” couldn’t be loaded because it is damaged or missing necessary resources.}}} Object: <IDECommandManager> Method: +cacheCommandDefinitionsAndHandlers Thread: <NSThread: 0x7fe8fb500dc0>{number = 1, name = main} Hints: None Backtrace: 0 0x0000000108858bfa -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit) 1 0x00000001075b3b9f _DVTAssertionHandler (in DVTFoundation) 2 0x00000001075b3e8e _DVTAssertionFailureHandler (in DVTFoundation) 3 0x0000000108853bf6 __55+[IDECommandManager cacheCommandDefinitionsAndHandlers]_block_invoke (in IDEKit) 4 0x00007fffa6f2e128 _dispatch_client_callout (in libdispatch.dylib) 5 0x00007fffa6f2e0e5 dispatch_once_f (in libdispatch.dylib) 6 0x0000000108611b00 +[IDECommandManager cacheCommandDefinitionsAndHandlers] (in IDEKit) 7 0x00000001086110f2 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit) 8 0x00007fff91f4463c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation) 9 0x00007fff91f4453b _CFXRegistrationPost (in CoreFoundation) 10 0x00007fff91f442a2 ___CFXNotificationPost_block_invoke (in CoreFoundation) 11 0x00007fff91f019a3 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation) 12 0x00007fff91f009dc _CFXNotificationPost (in CoreFoundation) 13 0x00007fff939100e3 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation) 14 0x0000000107593118 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation) 15 0x00007fff8fbbb278 -[NSApplication finishLaunching] (in AppKit) 16 0x0000000107b31c82 -[DVTApplication finishLaunching] (in DVTKit) 17 0x00007fff8fbbad2a -[NSApplication run] (in AppKit) 18 0x00007fff8fb85a8a NSApplicationMain (in AppKit) 19 0x00007fffa6f64255 start (in libdyld.dylib) 20 0x0000000000000002 abort() called Application Specific Signatures:

###試したこと
rm -rf Developper/Xcode/DerivedData/
defaults delete com.apple.Xcode
sudo xcode-select -r
###補足情報(言語/FW/ツール等のバージョンなど)
Xcode8.1.3にて OpenGL ES のサンプルプロジェクトを選択できなくなっていたため、後からXcode7を入れて使おうとしたのが発端です

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

Version: 6.3.1 (7703)
と書かれてありますけど、本当にXcode7を入れたんでしょうか?

http://indiestack.com/2016/08/xcode-6-on-sierra/
によると、Xcode6もXcode7もAppleはSierra上での動作をサポート
しておらず、生産作業に使うべきではないとのことです。

そして、Xcode7なら「ほとんど動く」が、
Xcode6は、Ubiquity.frameworkがSierraにないため、
それを古いバージョンのOSから持ってこないと動作しないそうです。
質問のクラッシュログにも

Library not loaded: /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity

というメッセージが見られます。

投稿2017/04/16 02:28

TakeOne

総合スコア6299

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

muso_tensei

2017/04/16 02:47

お答えいただいてありがとうございます。 7ではなく6.3を入れていました。すみません。 どちらにせよ、Xcode8が推奨されるということですね。 OpenGL ES サンプルプロジェクトがXcode8から選択しからなくなっていた[Metal/Scene Kit/Sprite Kitの3つだけになっていた]ため困っていたのですが、このあたりはどうにもならなさそうですね。 ため どうしようか
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.49%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問