[Objective-C] no architectures to compile for … のコンパイルエラーについて
公開日:
:
iPhone App 開発, Objective-C
Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/users/1/juny/web/hidef/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
起動したプロジェクトでコンパイルエラーが出ました。
no architectures to compile for (only_active_arch=yes active arch=x86_64 valid_archs=i386)
64bit対応になってないよ、ってことらしいです。
対処法は
プロジェクトのBuild Setting > Architectures > Valid Architectures で64bitを対応させること。
以下のように、arm64を追加してください。
アーキテクチャーの記述
| 記述 | アーキテクチャー |
|---|---|
| arm7 | iPhone 3GS/4/4S、32bit ARM |
| arm7s | iPhone 5/iPhone 5c、32bit ARM |
| arm64 | iPhone 5s〜、64bit ARM |
| i386 | 32bit Intel |
| x86_64 | 64bit Intel |
ad
関連記事
-
-
[Objective-C] 文字列操作の便利Tips
Tipsいろいろ 先日の投稿 共通関数をまとめたクラスを作ろう!の流れで、文字列を操作するときに便
-
-
[Swift] UINavigationControllerで戻るイベントを取得する
UINavigationController UINavigationControllerを使用し
-
-
[iPhone App] WorkManager 1.2.0版がリリースされました。
新機能 以前から要望などが多かったものを元に、機能を追加いたしました。 新バージョンで追加された
-
-
[Objective-C] バージョン更新時に変更内容をアラートで出力する
アプリの更新内容を表示したい! バージョン更新時に変更内容を表示させたいのは、ユーザーがいちいちA
-
-
TabBarControllerとNavigationControllerのボタン追加
TabBarとNavigationを同時に使っているViewControllerの場合、naviga
-
-
[Swift] UITableViewのセルにアクションを設定する
セル選択→アクション UITableViewControllerを使用したテーブルビューの画面があ
-
-
[Swift] optional値の設定(??)
optional値がnilの時 プロジェクトでのテンプレートを選択した時にソースコードが自動生成さ
-
-
[Objective-C] デリゲート (Delegate)を理解する!
デリゲートとは? デリゲートに関しての意味合いとして、”委譲”とか”代理”と説明されることが多いで
ad
- PREV
- [Swift] スクリーンサイズを取得する
- NEXT
- [Swift] 関数型プログラミング


