# Error submitting to iOS App Store (ITMS-90165)

## Incident

IOS upload does not complete successfully with the following error.

```
ERROR ITMS-90165: "Invalid Provisioning Profile Signature. The provisioning profile included in the bundle 'xxxxx' cannot be used to submit apps to the iOS App Store until it has a valid signature from Apple. (Expired profile signing certificate.) For more information, visit the iOS Developer Portal."
```

## Cause

The Apple iPhone Certification Authority certificate and the Apple iPhone OS Provisioning Profile Signing certificate expired. As a result, the provisioning profile has been disabled.

## Solution

You can successfully submit to the iOS App Store by updating a new provisioning profile and building a new one.

Please follow the steps below.

1. Go to the Apple Developer Center, select the target profile, and click the Edit button.
2. Click the Save button without changing any information.
3. Check that the expiration date of the profile has been updated.
4. Download the updated profile
5. Register the downloaded profile in the Monaca IDE and use it for release builds


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://en.docs.monaca.io/release_notes/error-submitting-to-ios-app-store-itms-90165.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
