draemonash2のメモ書き
XCodeについてはこちらを参照。
macOS Monterey 12.6.7 上での設定手順を以下に示す。
vncagent
にチェックを入れる(※1)vncagent
にチェックを入れる(※1)
vncagent
が表示されない場合は、macを再起動してみるchsh -s /bin/bash
を実行する
注意:自動的に.bashrcが読み込まれない場合は、以下の内容の.bash_profileを作成する。
if [ -f ~/.bashrc ] ; then
. ~/.bashrc
fi
ESPをマウントする。
diskutil list # 対象ディスクのIDENTIFIER(e.g. disk1s1)を確認する
sudo mkdir ~/Volumes
sudo diskutil mount -mountPoint ~/Volumes <disk_id>
Finder上で「EFI」->「OC」->「Kexts」配下に複数のファイルがあることを確認する。
cscreenをインストールする。
brew install homebrew/cask/cscreen
デスクトップディレクトリ直下に change_display_size.command
を作成する。
#!/bin/bash
cscreen -s 1 -x 1680 -y 1050
change_display_size.command
のアクセス権限を変更する。
chmod 755 change_display_size.command
デスクトップ上で、change_display_size.command
をダブルクリックする。
MacにWindowsキーボードを接続した場合の割り当てキー
Windows | Mac |
---|---|
Win | command |
Alt | option |
BackSpace | delete |
バックスラッシュ | option + ¥ |
その他キー対応
操作 | キー(Mac) |
---|---|
IME切替え | Command + Space (デフォルト:Ctrl + Space) |
タブ切替え | Command + Tab |
行頭移動 | Ctrl + a |
行末移動 | Ctrl + e |
文字削除(カーソル~行末) | Ctrl + k |
スクショ | Command + Shift + 3 |
スクショ(矩形選択) | Command + Shift + 4 |
Finder
操作 | キー(Mac) |
---|---|
Finderを起動する | Option + Command + Space |
Finderを閉じる | Command + w |
ファイル移動 | Command + c → Command + Option + v |
新しいウィンドウを開く | Command + n |
新しいタブを開く | Command + t |
ファイル削除 | Command + Delete |
Safari
操作 | キー(Mac) |
---|---|
検索バーにフォーカス | Command + l |
次のタブ | Ctrl + Tab |
前のタブ | Ctrl + Shift + Tab |
タブを閉じる | Command + w |
最後に閉じたタブを開く | Command + Shift + t |
進む | Command + ] |
戻る | Command + [ |
ssh tatsuyaendo@192.168.0.25
iOS 17上でiPhoneアプリをデバッグするために、mac/macOS/Xcodeのバージョンを以下にまとめる。
モデル名 | 対応macOS | 発売年 |
---|---|---|
Mac mini (2018) | 10.14 ~ 14.1 | 2018 |
Mac mini (Late 2014) | 10.1 ~ 12.7.1 | 2014 |
… | … | … |
macOS 名称 | macOS バージョン | リリース年 |
---|---|---|
macOS 14 Sonoma | 14.0 ~ 14.1 | 2023 |
macOS 13 Ventura | 13.0 ~ 13.6.1 | 2022 |
macOS 12 Monterey | 12.0 ~ 12.7.1 | 2021 |
macOS 11 Big Sur | 11.0 ~ 11.7.10 | 2020 |
macOS 10.15 Catalina | 10.15 ~ 10.15.7 | 2019 |
macOS 10.14 Mojave | 10.14 ~ 10.14.6 | 2018 |
macOS 10.13 High Sierra | 10.13 ~ 10.13.6 | 2017 |
macOS 10.12 Sierra | 10.12 ~ 10.12.6 | 2016 |
OS X 10.11 El capitan | 10.11 ~ 10.11.6 | 2015 |
OS X 10.10 Yosemite | 10.10 ~ 10.10.5 | 2014 |
OS X 10.9 Mavericks | 10.9 ~ 10.9.5 | 2013 |
… | … | … |
バージョン | 最小macOS | SDK | アーキテクチャ | Deployment Target | シミュレータ | Swift | 備考 |
---|---|---|---|---|---|---|---|
15.1 beta | macOS Ventura 13.5 | iOS 17 macOS 14 tvOS 17 watchOS 10 DriverKit 23 visionOS 1 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 12-17.0.1 iPadOS 13-17.0.1 macOS 10.13-14 tvOS 12-17 watchOS 4-10 DriverKit 19-23 visionOS 1 |
iOS 14.0.1-17.0.1 tvOS 15-17 watchOS 7-10 visionOS 1 |
Swift 4 Swift 4.2 Swift 5.9 |
|
15 beta 8 | macOS Ventura 13.4 | iOS 17 macOS 14 tvOS 17 watchOS 10 DriverKit 23 visionOS 1 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 12-17 iPadOS 13-17 macOS 10.13-14 tvOS 12-17 watchOS 4-10 DriverKit 19-23 visionOS 1 |
iOS 14.0.1-17 tvOS 14-17 watchOS 7-10 visionOS 1 |
Swift 4 Swift 4.2 Swift 5.9 |
|
15.0.x | macOS Ventura 13.5 | iOS 17 macOS 14 tvOS 17 watchOS 10 DriverKit 23 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 12-17 iPadOS 13-17 macOS 10.13-14 tvOS 12-17 watchOS 4-10 DriverKit 19-23 |
iOS 14.0.1-17 tvOS 14-17 watchOS 7-10 |
Swift 4 Swift 4.2 Swift 5.9 |
|
14.3.1 | macOS Ventura 13 | iOS 16.4 macOS 13.3 tvOS 16.4 watchOS 9.4 DriverKit 22.4 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 11-16.4 iPadOS 13-16.4 macOS 10.13-13.3 tvOS 11-16.4 watchOS 4-9.4 DriverKit 19-22.4 |
iOS 13.7-16.4 tvOS 13.4-16.4 watchOS 7-9.4 |
Swift 4 Swift 4.2 Swift 5.8.1 |
|
14.3 | macOS Ventura 13 | iOS 16.4 macOS 13.3 tvOS 16.4 watchOS 9.4 DriverKit 22.4 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 11-16.4 iPadOS 13-16.4 macOS 10.13-13.3 tvOS 11-16.4 watchOS 4-9.4 DriverKit 19-22.4 |
iOS 13.7-16.4 tvOS 13.4-16.4 watchOS 7-9.4 |
Swift 4 Swift 4.2 Swift 5.8 |
本バージョン以上であれば、iOS17上でデバッグが可能 |
14.2 | macOS Monterey 12.5 | iOS 16.2 macOS 13.1 tvOS 16.1 watchOS 9.1 DriverKit 22.2 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 11-16.2 iPadOS 13-16.2 macOS 10.13-13.1 tvOS 11-16.1 watchOS 4-9.1 DriverKit 19-22.2 |
iOS 12.4-16.2 tvOS 12.4-16.1 watchOS 7-9.1 |
Swift 4 Swift 4.2 Swift 5.7 |
|
14.1 | macOS Monterey 12.5 | iOS 16.1 macOS 13 tvOS 16.1 watchOS 9.1 DriverKit 22.1 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 11-16.1 iPadOS 13-16.1 macOS 10.13-13 tvOS 11-16.1 watchOS 4-9.1 DriverKit 19-22.1 |
iOS 12.4-16.1 tvOS 12.4-16.1 watchOS 7-9.1 |
Swift 4 Swift 4.2 Swift 5.7 |
|
14.0.x | macOS Monterey 12.5 | iOS 16 macOS 12.3 tvOS 16 watchOS 9 DriverKit 22 |
i386 x86_64 armv7k arm64 arm64e arm64_32 |
iOS 11-16 iPadOS 13-16 macOS 10.13-12.5 tvOS 11-16 watchOS 4-9 DriverKit 19-22 |
iOS 12.4-16 tvOS 12.4-16 watchOS 7-9 |
Swift 4 Swift 4.2 Swift 5.7 |
|
13.4 | macOS Monterey 12 | iOS 15.5 macOS 12.3 tvOS 15.4 watchOS 8.5 DriverKit 21.4 |
i386 x86_64 armv7 armv7s armv7k arm64 arm64e arm64_32 |
iOS 9-15.5 iPadOS 13-15.5 macOS 10.9-12.3 tvOS 9-15.4 watchOS 2-8.5 DriverKit 19-21.4 |
iOS 12.4-15.5 tvOS 12.4-15.4 watchOS 7-8.5 |
Swift 4 Swift 4.2 Swift 5.6 |
|
13.3 | macOS Monterey 12 | iOS 15.4 macOS 12.3 tvOS 15.4 watchOS 8.5 DriverKit 21.4 |
i386 x86_64 armv7 armv7s armv7k arm64 arm64e arm64_32 |
iOS 9-15.4 iPadOS 13-15.4 macOS 10.9-12.3 tvOS 9-15.4 watchOS 2-8.5 DriverKit 19-21.4 |
iOS 12.4-15.4 tvOS 12.4-15.4 watchOS 7-8.5 |
Swift 4 Swift 4.2 Swift 5.6 |
|
13.2 | macOS Big Sur 11.3 | iOS 15.2 macOS 12.1 tvOS 15.2 watchOS 8.3 DriverKit 21.2 |
i386 x86_64 armv7 armv7s armv7k arm64 arm64e arm64_32 |
iOS 9-15.2 iPadOS 13-15.2 macOS 10.9-12.2 tvOS 9-15.2 watchOS 2-8.3 DriverKit 19-21.2 |
iOS 10.3.1-15.2 tvOS 10.2-15.2 watchOS 3.2-8.3 |
Swift 4 Swift 4.2 Swift 5.5 |
|
13.1 | macOS Big Sur 11.3 | iOS 15 macOS 12 tvOS 15 watchOS 8 DriverKit 21.0.1 |
i386 x86_64 armv7 armv7s armv7k arm64 arm64e arm64_32 |
iOS 9-15 iPadOS 13-15 macOS 10.9-12 tvOS 9-15 watchOS 2-8 DriverKit 19-21.0.1 |
iOS 10.3.1-15 tvOS 10.2-15 watchOS 3.2-8 |
Swift 4 Swift 4.2 Swift 5.5 |
|
13 | macOS Big Sur 11.3 | iOS 15 macOS 11.3 tvOS 15 watchOS 8 DriverKit 20.4 |
i386 x86_64 armv7 armv7s armv7k arm64 arm64e arm64_32 |
iOS 9-15 iPadOS 13-15 macOS 10.9-11.3 tvOS 9-15 watchOS 2-8 DriverKit 19-20.4 |
iOS 10.3.1-15 tvOS 10.2-15 watchOS 3.2-8 |
Swift 4 Swift 4.2 Swift 5.5 |
chsh -s /bin/bash
を実行する.bashrc
が読み込まれない
以下の内容の .bash_profile
を作成する。
if [ -f ~/.bashrc ] ; then
. ~/.bashrc
fi
PATH=${PATH}:/usr/local/bin
を実行する~/.tmux.conf
に以下を設定する set -g default-terminal "screen-256color"
.vimrc
の g:sGrepFileExt
に *.swift
を追加する.bash_profile
作成により解決.bash_profile
作成により解決set -g default-terminal "screen-256color"