LoginSignup
0
1

More than 5 years have passed since last update.

fruitstrapで「Unable to locate DeviceSupport directory containing DeveloperDiskImage.dmg」エラーがでたときの対処法

Last updated at Posted at 2013-10-02

はじめに

  • fruitstrapでiOSアプリを実機上に起動しようとしたら上記のエラーがでたので対処法を書く
    • ちなみに半日ほどはまったm(_ _)m

対応

  • 現象としてはエラーのとおりDeveloperDiskImage.dmgが見つからないと言われている
  • シンボリックリンクを張ってあげる
## 使用するデバイスのiOSバージョンが6.1.3の場合

## 参照先が/Applications/Xcode.app/Contents/...以下にある場合
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
$ sudo ln -s 6.1\ \(10B141\)/DeveloperDiskImage.dmg 6.1.3\ \(10B329\)/DeveloperDiskImage.dmg
$ sudo ln -s 6.1\ \(10B141\)/DeveloperDiskImage.dmg.signature 6.1.3\ \(10B329\)/DeveloperDiskImage.dmg.signature

## 参照先が /Users/<USER>/Library/...以下にある場合
$ cd /Users/<USER>/Library/Developer/Xcode/iOS DeviceSupport/6.1.3\ \(10B329\)
$ ln -s  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.1\ \(10B141\)/DeveloperDiskImage.dmg DeveloperDiskImage.dmg
$ ln -s  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.1\ \(10B141\)/DeveloperDiskImage.dmg.signature DeveloperDiskImage.dmg.signature

対応後のログ

  • 無事に起動するようになった
〜〜〜
[100%] Installed package
------ Debug phase ------
Device support path: /Users/<USER>/Library/Developer/Xcode/iOS DeviceSupport/6.1.3 (10B329)
Developer disk image: /Users/<USER>/Library/Developer/Xcode/iOS DeviceSupport/6.1.3 (10B329)/DeveloperDiskImage.dmg
〜〜〜

~ただの宣伝~

  • 全国のSeleniumer必読
  • Seleniumerといっていますが、Selenium, SauceLabs, Travis, Jenkinsに関するノウハウ書いているのでよかったら参考にしてみてください
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1