Skip to content

Instantly share code, notes, and snippets.

@matsuda
Last active November 10, 2016 05:12
Show Gist options
  • Save matsuda/4a90fac07221d96de5bdfec99ac4f6f0 to your computer and use it in GitHub Desktop.
Save matsuda/4a90fac07221d96de5bdfec99ac4f6f0 to your computer and use it in GitHub Desktop.
Xcode tips

Xcode7でiOS8端末にアクセスできるように

sudo ln -s /Applications/Xcode8_1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.1\ \(14B72\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.1

simulatorにappをインストール

まだうまくいったことなし

$ cd Library/Developer/CoreSimulator/Devices
$ ll -t
$ cd 12B2C1DA-ABEE-480A-8FDC-07BE9F6282A0/data/Containers/Bundle/Application/
$ cd 98C5209B-9734-4BC2-B322-6D74EB00C41A/
$ xcrun instruments -s
$ # 起動していなかったら
$ xcrun instruments -w "iPhone 6s (9.3) [78DF1FCD-4FFE-45F7-AD50-967B2B562183]"
$ xcrun simctl install booted /Users/matsuda/Library/Developer/Xcode/Archives/2016-10-06/MyNaviHaken\ 2016-10-06\ 15.18.xcarchive/Products/Applications/MyNaviHaken.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment