M1 macbookでemacsのbuild
- Mon
- 14:34
- iOS/MacOS
M1 macbookが来たので早速emacsのbuild。
普通にやると下記のようなエラーがでるので、arch -x86_64 をつけてrosetta上でやるとうまくいく。
configure: error: Emacs does not support 'arm-apple-darwin20.1.0' systems.
普通にやると下記のようなエラーがでるので、arch -x86_64 をつけてrosetta上でやるとうまくいく。
configure: error: Emacs does not support 'arm-apple-darwin20.1.0' systems.
$ arch -x86_64 bash The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. bash-3.2$ ./configure --prefix=${HOME}/local --without-x --with-gnutls=no --with-mailutils checking for xcrun... xcrun checking for make... yes checking for GNU Make... make checking build system type... x86_64-apple-darwin20.1.0 checking host system type... x86_64-apple-darwin20.1.0 checking for gcc... gcc ... $ make /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all GEN alloca.h GEN byteswap.h ... bash-3.2$ ./src/emacs --version GNU Emacs 27.1 Copyright (C) 2020 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.
Macbook Proのアプリケーションの終了(command+Q)を一括で変更
- Mon
- 23:14
- iOS/MacOS
emacs26.1のbuildメモ
- Sat
- 22:15
- iOS/MacOS
iOSのTab barアイコンについて
- Mon
- 15:47
- iOS/MacOS
久々にiOSのドキュメント読んだり。
Custom Icons - Graphics - iOS Human Interface Guidelines

ということで、タブバーのカスタムアイコンの注意点とて、
・色情報は無視される(単色で作成)
・選択・非選択の2種類を用意
・サイズは下記の通り
Custom Icons - Graphics - iOS Human Interface Guidelines

ということで、タブバーのカスタムアイコンの注意点とて、
・色情報は無視される(単色で作成)
・選択・非選択の2種類を用意
・サイズは下記の通り
Device | Tab bar icon size |
iPhone 6s Plus, iPhone 6 Plus | About 75px by 75px Maximum 144px by 96px |
iPhone 6s, iPhone 6, iPhone SE | About 50px by 50px Maximum 96px by 64px |