Copyright (C) iPhoneアプリ開発備忘録 All rights reserved.
ブログ内で記したコード、内容の正確性は保証いたしません。
記載内容を実装したことにより発生した不具合・損害等の責任は一切負いません。



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) | トラブルシューティング はてなブックマーク - バイナリのバリデーション時に「Incomplete Document Type Configuration. The CFBundleDocumentTypes dictionary array in the 'Bundle-ID' Info.plist should contain an LSHandlerRank value for the CFBundleTypeName 'MKDirectionsRequest' entry. 」と表示された場合の対処法 | このブログの読者になる | 更新情報をチェックする
この記事へのコメント
コメントを書く
お名前:

メールアドレス:

ホームページアドレス:

コメント:

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


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

この記事へのトラックバック
Apple、Appleのロゴ、App Store、iPodのロゴ、iTunesは、米国および他国のApple Inc.の登録商標です。
iPhone、iPod touch、iPadはApple Inc.の商標です。
iPhone商標は、アイホン株式会社のライセンスに基づき使用されています。
その他、本ブログに記載されている製品名、会社名は、それぞれ各社の商標または登録商標です。