タコさんブログ

プログラミングメモと小言

そうですか〜Carthageさん

Carthage BUILD FAILED

今流行り(?)のCarthageを使ってみようと思って、Cartfileを用意したあとにcarthage updateをしたら、下のエラーがでる。

** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)

xcodebuildのログを拝見すると、

Check dependencies
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.1'

こんな感じ。

Code signingエラーがでている。

ふむ。

とりあえず、ググる

Build with the null codesigning identity so a certificate is not required #235 に行き着き。

Can't I use carthage without joining iOS developer program for xcodebuild?

iOSデベロッパープログラムに登録しないで、carthageを使えるか?という質問。

そして、

No, you can't.

「無理です」

が答えか・・・;

Carthageはfat framework(シミュレーターと実機の両方で動作するフレームワーク)を生成するから、code signingは必須条件のようだ。つまりアップルの開発者登録をしないと使えないのね。

残念;