RのWeb制作

Webサービス制作のための技術情報を。データ分析(Python、機械学習コンペ他)や自作野球ゲームMeisyoのこと中心。

モバイル制作 Unity(C#)

Xcode13以降で起こる「info.plistが見えない」「作成できない」不具合に対応する

投稿日:2023年10月18日 更新日:

なぜかinfo.plistが見えない問題があるので、備忘として書き残しておく。

(1)プロジェクトのxcodeprojectファイルをXcodeで開く
(2)該当Project選択
(3)TARGET選択
(4)Infoタブ選択
この手順でInfo.plistが自動的に生成される。

続いて、
(5)xcodeをいったん閉じる
(6)プロジェクトのworkspaceファイルをXcodeで開く
(7)Project > Target > Infoタブで開くと見えるようになる。

原因としては、
「プロジェクトのworkspaceファイルをXcodeで開く」で始めることだった。
なぜか「info.plistが生成されてないよ!(意訳)」となる。再現しねえ・・・と思ったら、上記のxcodeprojectファイルから開くようにするとうまく行った。

Androidばっかりやっていると、iOSの仕様わからんよなあ・・・
特に、UnityやFlutterみたいなクロスプラットフォームができるモノを使っていて、かつ初めてiOSのリリースとなると( ^ω^)・・・ツライ
Androidが簡単すぎんのよな

それではまた。。

English Ver.
The problem that info.plist is not visible or cannot be created, which occurs in Xcode 13 or later…
I have a problem that I can’t see the info.plist for some reason, so I’m leaving this as a reminder.

(1) Open the xcodeproject file of the project with Xcode.
(2) Select the appropriate Project
(3)Select TARGET
(4)Select the Info tab
Info.plist is automatically generated by this procedure.

Continue,
(5)Close xcode once
(6) Open the project workspace file in Xcode.
(7) Open the file in Project > Target > Info tab. (Is This File Generated? Yes…Complete!)

The cause,
It was to start with “Open the project’s workspace file in Xcode”.
For some reason, “info.plist is not generated! (translation)”. I thought “I can’t reproduce this…”, but when I tried to open it from the above xcodeproject file, it worked.

I am glad if I could help!

Xcode icon by Icons8

-モバイル制作, Unity(C#)

執筆者:


comment

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

関連記事

【生成AIテスト記事】Unity運営に関する各種プラットフォーム(Google, Apple, Unity)の情報公開可否

Deep Researchすげえ、ってことで ”「禁止」とされている所はやらず、「許可」とされているところは自分で調べて実行する”でいいんじゃないかな。 調べる手間の削減っていいよね、という生成AIの …

UnityでiOS版をリリースする際に、FirebaseとXCode16を組み合わせると起こるビルドエラー「unsupported option ‘-G’ for target ‘arm64-apple-iosXX.X’」への対応

はじめに こちらのポストがワイにも役に立ったので、「実際どうするの?」ということも含めて書いておこうと思う。 Unity + firebase x Xcode16で、こんなエラーunsupported …

UnityでiOS版をリリースする際に、Firebaseを使っていると起こるビルドエラー「Undefined symbols for architecture arm64」への対応

起こること 「Undefined symbols for architecture arm64」がでて、XCodeのビルドができない。 原因と対策 Firebase等がインストールできていない。 Fi …

【Flutter】Googleアカウント認証SHA-1キーのためにkeytoolを使えるようにする

FlutterのGoogleアカウントでの認証(Authentication)のためにSHA-1キーが必要です。ただし、簡単に取得ができません。そのため、下記を参考にして進めます。 Google Au …

Unityで”Class” is missing the class attribute ‘ExtensionOfNativeClass’が発生する原因がわからない ⇒ Easy Save3でした

はじめに 通常、”Class” is missing the class attribute ‘ExtensionOfNativeClass’というエラ …