LoginSignup
2
3

More than 3 years have passed since last update.

expoでbuildしたiOSアプリ、ITMS-90163エラーでTransporterからアップロードできない

Last updated at Posted at 2021-02-21

Expoで作っていたiOSアプリのちょい直しをして、Transporterアプリでアップロードしようしとしたら、下のITMS-90163エラーが出てアップロードできなくなりました。

ERROR ITMS-90163: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.developer.associated-domains' in 'Payload/ExpoKitApp.app/YourAppDomain'."

developer.apple.comでCertificateを見てみると、Associated Domainsのチェックが外れている(下の画像はつけ直したあとのもの)。

Notification_Center.png

app.jsonで以下のようにAssociated Domainの指定があるのにも関わらず、このチェックが外れているせいでエラーになっているようでした。

"associatedDomains": [
                "applinks:xxxx.com"
]

ということで、ここのチェックを付けて、その上で expo build:ios --clear-provisioning-profile を実行する(Capabilityの設定を変えるとprovisioning profileが無効になる)とようやくTransporterアプリでアップロードできました。

しかし、このチェックを外した気が全くしないんですけど、なぜ外れたかは不明なまま。もしくは、このチェックはずっと外れていて、app.jsonでのAssociated Domainsの指定は意味がなかったのに急に有効になったのかも。解決するのに2日間ぐらい溶かしました。エラーメッセージちゃんと読めという話ですが、ズバッと解決する方法がぐぐってもすぐに出てこなかったので、メモとして残しておきます。

2
3
0

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
2
3