
XcodeからAppのインストール(デバッグ実行)に失敗する。
原因
実機(iPhone/iPad)にAppストアまたはTestFlightからインストールした同一アプリがインストール済みである。
解決策
実機(iPhone/iPad)にインストール済みにアプリを一旦削除する。
確認環境 : Xcode 8.2.1

XcodeからAppのインストール(デバッグ実行)に失敗する。
実機(iPhone/iPad)にAppストアまたはTestFlightからインストールした同一アプリがインストール済みである。
実機(iPhone/iPad)にインストール済みにアプリを一旦削除する。
確認環境 : Xcode 8.2.1
Ubuntu 16.04LTS 以降、パッケージ管理システムは
– apt-get / apt-cache コマンド
から
– apt コマンド
に変更(集約)
AndroidのWebブラウザからアクセスするとTLS(SSL)中間証明書エラーが発生する
![]() |
![]() |
Apache2の設定ミス(設定漏れ)
/etc/httpd/conf.d/ssl.confを編集する
|
1 2 3 4 5 6 7 |
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:+3DES:!RC4 SSLCertificateFile /etc/letsencrypt/live/chihayafuru.jp/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/chihayafuru.jp/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/chihayafuru.jp/chain.pem |
scriptコマンド
$ script <logfile_name>
$ script -a <logfile_name>
Xcode 7以降ではiOSシミュレータで取得したスクリーンショットが画面サイズに連動してしまう。
画面サイズ50%で表示すると、スクリーンショットも実寸大の50%の解像度になってしまう。
スクリーンショットファイル(PNG)保存のショートカットキー : ⌘ + s
Debug => Optimize Rendering for Window Scale のチェックを外す。


東京ビッグサイトで開催されたMaker Faire Tokyo 2017の会場にて先行発売されていたタミヤのロボット工作セットを購入し、マイコンボード(Arduino Uno)を載せる改造を試みてみました。
XcodeのAnalyze(静的コード解析)において以下の警告がでる。
Null passed to a callee that requires a non-null 1st parameter
nil(null)を渡してはならない引数にnilを渡すケースがある。
全ての動作パスでnilを渡さないように修正する。
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <!-- 中略 --> <key>UISupportedInterfaceOrientations~iphone</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> </dict> </plist> |
注:Xcodeからの変更はうまく反映されないため Info.plist をエディタで直接変更する。