2022年10月14日

バイナリのバリデーション時に「Incomplete Document Type Configuration. The CFBundleDocumentTypes dictionary array in the 'Bundle-ID' Info.plist should contain an LSHandlerRank value for the CFBundleTypeName 'MKDirectionsRequest' entry. 」と表示された場合の対処法

Xcodeにおいて、オーガナイザでアプリのバイナリのバリデーションをする時に「Incomplete Document Type Configuration. The CFBundleDocumentTypes dictionary array in the 'Bundle-ID' Info.plist should contain an LSHandlerRank value for the CFBundleTypeName 'MKDirectionsRequest' entry. 」と表示された場合の対処法。

info.plistを下記の通り修正する。

この場合、TARGETS -> infoを修正せずに、BundleName-info.plistを直接修正すること。
TARGETS -> info を修正すると、Document Typeの修正箇所が分かりづらいため、BundleName-info.plistを直接開いてplist形式を視認しながら修正すルト分かりやすい。

修正例
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
<string>Text</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.plain-text</string>
</array>
</dict>
</array>



関連記事:
https://stackoverflow.com/questions/57183421/warning-itms-90788-incomplete-document-type-configuration
https://developer.apple.com/forums/thread/119803

posted by mobileDeveloper at 13:58 | Comment(0) | TrackBack(0) | トラブルシューティング | このブログの読者になる | 更新情報をチェックする
この記事へのコメント
コメントを書く
お名前:

メールアドレス:

ホームページアドレス:

コメント:

認証コード: [必須入力]


※画像の中の文字を半角で入力してください。
※ブログオーナーが承認したコメントのみ表示されます。

この記事へのトラックバック