CodaDataで"NSMergeConflict for NSManagedObject"エラーが発生する

CoreDataのNSManagedObjectContextインスタンスのsave:を実行した時にNSErrorが以下のエラーを返す。 NSError: code=133020, domain=NSCocoaErrorDomain, userInfo= { conflictList= ( NSMergeConflict (0x28164b080) for NSManagedObject (0x282e0ba70) wit…

XCodeでサポートされていないバージョンのiOSを使用しているデバイスにアプリをインストール&デバッグする

XCode 10ではiOS 13がインストールされているiOSデバイスに対してアプリをインストールしたりデバッグをすることはできない。XCode 11にバージョンをあげられない場合は、以下でXCode 10でもiOS 13のデバイスを扱うことができるようになる。 DeviceSupportフ…

The error "you must first sign the relevant contracts online (1048)" occurred when you upload archive file on XCode Organizer

The error below occurred when you upload archive file on XCode Organizer. you must first sign the relevant contracts online (1048) It say we have to agree with something contract but XCode nothing to show it even we restart XCode. How to r…

The error "error: unable to read property list from file:..." occurred for "Preprocessed-Info.plist" file while XCode building

XCode 10.3 The error below occurred while XCode building when you set YES to Preprocess Info.plist File of "Build Settings". "error: unable to read property list from file:<Preprocessed-Info.plist file path>" error: The operation couldn't be completed. (XCBUtil.PropertyList</preprocessed-info.plist>…

AWSのRoute53でZone Apexへのアクセスをリダイレクトする

AWS

やりたい事 AWS(Amazon Web Service)のRoute53で管理しているドメイン(example.com)について、Zone Apex(example.com)へのHTTP/HTTPSアクセスをサブドメイン(www.example.com)にリダイレクトする。 Route 53ではZone Apexに対して通常のCNAMEやAレコードを設…

頻繁にmdwrite wants to use the "metadata" keychainが表示されてパスワードの入力を求められる

XCode 10.3で発生。 症状 XCodeでビルドすると何度もmdwrite wants to use the "metadata" keychainが表示されてパスワードの入力を求められる。 ログインパスワードを入力してもパスワードが違うと言われる。仕方なくキャンセルすると、何事もなくビルドが…

iOS, macOS用アプリでバージョン番号をヘッダファイルで管理する

iOS, macOSではアプリのバージョン番号をInfo.plistのBundle VersionおよびBundle versions string, shortで指定する必要がある。 このバージョン番号をヘッダファイルに記載して、その値がInfo.plist内で使用されるようにしたい。 手順 バージョン番号を記…