うちのいぬ Tech Blog

Tech Blog of Uchinoinu/My dog

Xcode

Apple Watchアプリ(WatchKit App, WatchOS)の実機検証時のトラブルを諸々解消

WatchOS用のアプリケーションを実装している最中のことですが、 当然のように実機検証したくなりました。 実機検証自体は、簡単で 検証したいAppleWatchとPairingしてあるiPhoneをMacにつなぐとXcodeが **「いい感じに認識」** してくれて、Watch Kit Appか…

Schemeを共有する

環境 Xcode 7.3.1 Git 2.7.4 MacOS 10.11.5 Github 共有の仕方 ここをタップ 次にここをタップ こんな画面が出るので、sharedのとろこに、共有したいschemeはチェックを入れる そしたらGitで差分がでるので、それをcommitしてpush

Share Schemes

Env Xcode 7.3.1 Git 2.7.4 MacOS 10.11.5 Github How Tap here Next Tap Here You can see screen below, then check-in the checkbox of scheme you want to share Then you can find diff in Git, commit and push it

How to fix error "Could not insert new outlet connection and deleting DerivedData doesnt work"

Environment Xcode 7.3 Situation Using Storyboard, when I tried to connect IBOutlet, error "Could not insert new outlet connection and deleting DerivedData doesnt work" was shown And set automatic in Assistant Editor, No Result was shown, a…

エラー "Could not insert new outlet connection and deleting DerivedData doesnt work" への対処

環境 Xcode 7.3 状況 Storyboardで、該当のコードに対してIBOutletを結ぼうとしたら、"Could not insert new outlet connection and deleting DerivedData doesnt work" というエラーがでた そもそもAssistant Editorでautomaticにしたとき、No Resultとなり…

How to handle warning of Deleted File “file xxx is missing from working copy” at project building

Related to uchinoinu.hatenablog.jp Warning “file xxx is missing from working copy” at project building How This time, warning against to deleted file. Maybe cache of git is problem. $ git rm -r --cached .

存在しないファイル “file xxx is missing from working copy” at project building というWarningへの対応

↓と関連してます uchinoinu.hatenablog.jp Warning(警告) “file xxx is missing from working copy” at project building 対応 実際に存在しないファイルについてこういう警告がでたときは、Gitのcacheを消したらうまくいきました。 $ git rm -r --cached .

The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'. のWarningのエラーが出た時の対処法

こんなWarning(警告)がでました The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.plist'. 対応はこんな感じ build phase の Copy Bundle Resources から Info.plistを削除 参考 Technical Q&A QA1649: WARNING: The Co…

how to input using hardware keyboard

iOS Uses Same Layout as OS X Connect Hardware Keyboard ⇧⌘K Toggle Software Keyboard ⌘K

Archive が選択できないとき

Xcode 6.4 でプログラムをArchiveしたいけど、選択できない様になっていたとき。 対応 Simulatorの選択のところで、実機を選ぶといいです。 それだけでした。

XCode 6.4 の Build (Swift source file の Compile) や Indexing あたりがすごく遅くなる原因と対応 - Dictionary編

この状況に対して、この方法をとったらなんとかなりましたという備忘録です。 別の方法や見解もあるようなのでそちらも参考にしてください。 環境 XCode 6.4 Swift 1.2 状況 TableViewを実装していて、Realmと絡めたり、SectionやらIndexやらSearchやら色々…