・2018/05/21 おすすめ書籍 情熱プログラマー

おすすめ書籍 情熱プログラマー

(以前はAmazonで在庫切れだったみたいなのですが、再入荷してます。)

ただのプログラムを作る人で終わりたくない人必読の名著です。
スキルアップ、自己啓発、自分に厳しくなれる本です。
プログラマーとしての生き方を再確認させてくれた大好きな書籍です。

将来はプログラマーになりたいけど、どんな仕事なんだろう?一生をかける価値があるのか?
ただ毎日のように言われた仕事やっているだけでいいのか?
そんな疑問を感じた方に読んでほしいです。

会社に一冊…と言いたいところではありますが、こんな本を会社においておくとみんな辞めていくかもしれませんね。

 

[Android]エラー対策 Warning:Android Studio 2.3.2.0 requires Gradle 2.14.1 (or newer) but project is using version 2.2.1.

Warning:Android Studio 2.3.2.0 requires Gradle 2.14.1 (or newer) but project is using version 2.2.1.
It is strongly recommended that you update Gradle to version 2.14.1 or newer.

AndroidStudio2.3.2は Gradle2.14.1以降を要求します。
あなたはgradle2.2.1を使っています。2.14.1より新しいものを使うことをおすすめします。

“[Android]エラー対策 Warning:Android Studio 2.3.2.0 requires Gradle 2.14.1 (or newer) but project is using version 2.2.1.” の続きを読む

[iOS]エラー対策 App Installation Failed The application could not be verified

・App Installation Failed
The application could not be verified

冷静になりましょう。これは焦ることはありません。
アプリの入れなおしで動きます。

“[iOS]エラー対策 App Installation Failed The application could not be verified” の続きを読む

[iOS]エラー対策 Library not loaded Reason: image not found

・Library not loaded Reason: image not found

実行時エラーです。

Library not loaded: @rpath/ライブラリ名
Referenced from: /var/containers/Bundle/Application/…
Reason: image not found

“[iOS]エラー対策 Library not loaded Reason: image not found” の続きを読む

[iOS]エラー対策 process launch failed failed to get the task for process 0000

原文
process launch failed failed to get the task for process ProcessID

Google翻訳
プロセスの起動に失敗しました。プロセスProcessIDのタスクを取得できませんでした

現象
ビルドは通るのに実機実行時にエラー

“[iOS]エラー対策 process launch failed failed to get the task for process 0000” の続きを読む

[iOS]エラー対策 Unknown class Cell in Interface Builder file.

Unknown class Cell in Interface Builder file.

実行時エラーです

再現方法
一つのTableViewに複数カスタムセルを登録しようとしたら、
セルを作るところで異常終了した。

“[iOS]エラー対策 Unknown class Cell in Interface Builder file.” の続きを読む

[iOS]エラー対策 This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.

原文
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release

“[iOS]エラー対策 This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.” の続きを読む

[iOS]エラー対策 dyld: Library not loaded: @rpath/libswiftCore.dylib

実行時エラーです。

dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /var/mobile/Containers/Bundle/Application/00000000-0000-0000-0000-00000000000/AppName.app/AppName
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/00000000-0000-0000-0000-00000000000/AppName.app/Frameworks/libswiftCore.dylib: mmap() errno=1 validating first page of ‘/private/var/mobile/Containers/Bundle/Application/00000000-0000-0000-0000-00000000000/AppName.app/Frameworks/libswiftCore.dylib’

Swiftの標準ライブラリがロードできない場合に発生するようです。

一般的な解決方法に、ちょっとだけ私の工夫を入れました。
以下の手順をお試しください。

1.Build Settings ー Build Options ー Embeedded Content Contains Swift Code をYESにする。
2.プロジェクトをクリーン
3.端末から既存のアプリを削除
4.ビルド&インストール

[iOS]TestFlightの悪用

外部テストフライトに提出するビルドに関して、正しい記述はどれか?

1.外部テストフライトを使うことで、ストアを通さずに特定顧客にアプリを販売することができる。
2.外部テストフライトで配布するアプリにも審査がある。
3.外部テストフライドで配布する端末は事前に登録しておく必要がある。
4.外部テストフライトで配布できる数に制限はない。

“[iOS]TestFlightの悪用” の続きを読む