29
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ITMS-90206エラーの回避策

Posted at

##発生したエラー
iTunes Connectからのサブミット時に下記のようなエラーが発生しました。

ERROR ITMS-90206: "Invalid Bundle. The bundle at 'hogehoge' contains disallowed file 'Frameworks'.

##原因
Cocoa Podsの問題で、Extensionのディレクトリに作成してはいけないFrameworkフォルダがある模様です。
https://github.com/CocoaPods/CocoaPods/issues/4203

##回避策
githubのチケット上で、下記のようなスクリプトが考案されてました。
該当するextensionのBuild Phase Scriptとして追加します。

cd "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/"
if [[ -d "Frameworks" ]]; then 
    rm -fr Frameworks
fi

僕の環境でも、上記修正後にclean/archiveして無事にサブミットできました。

29
25
2

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
29
25

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?