LoginSignup
12
12

More than 5 years have passed since last update.

Xcode6でarmv7sがArchitecturesから外されているので、手動で追加する

Posted at

なぜかXcode6からArchitecturesの$(ARCHS_STANDARD)からarmv7sが外されている。基本は、外されていようと大丈夫なんだけどframeworkとかライブラリを作る際には含めておいたほうが良い…というわけで、手動で追加する。

単純に、Architecturesにarmv7sを手動で追加するだけ。

スクリーンショット 2014-11-07 20.29.13.png

これでビルドすればOK。

含まれているかどうかを確認するにはfileコマンドで。

command
$ file hogehoge.a
hogehoge.a: Mach-O universal binary with 5 architectures
hogehoge.a (for architecture armv7): current ar archive random library
hogehoge.a (for architecture armv7s): current ar archive random library
hogehoge.a (for architecture arm64): current ar archive random library
hogehoge.a (for architecture i386): current ar archive random library
hogehoge.a (for architecture x86_64): current ar archive random library
12
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12