---
description: Troubleshoot common issues when building your iOS app with Capacitor, including errors related to modules, plugins, and blank screens.
title: The iOS Troubleshooting Guide for Capacitor - Capawesome
image: https://capawesome.io/docs/assets/images/social/blog/troubleshooting-capacitor-ios-issues.png
---

[ Skip to content](#the-ios-troubleshooting-guide-for-capacitor) 

[ 🎉 Introducing **Capawesome Platform** — one platform for Live Updates, Native Builds, App Store Publishing, and Insider SDKs.](https://capawesome.io) 

* [  Formbricks ](/docs/plugins/formbricks/)
* [  Geocoder ](/docs/plugins/geocoder/)
* [  Google Sign-In ](/docs/plugins/google-sign-in/)
* [  libSQL ](/docs/plugins/libsql/)
* [  Live Update ](/docs/plugins/live-update/)
* [  Managed Configurations ](/docs/plugins/managed-configurations/)
* [  Media Session ](/docs/plugins/media-session/)
* [  ML Kit ](/docs/plugins/mlkit/)
* [  NFC ](/docs/plugins/nfc/)
* [  OAuth ](/docs/plugins/oauth/)
* [  Pedometer ](/docs/plugins/pedometer/)
* [  Photo Editor ](/docs/plugins/photo-editor/)
* [  PostHog ](/docs/plugins/posthog/)
* [  Printer ](/docs/plugins/printer/)
* [  Purchases ](/docs/plugins/purchases/)
* [  RealtimeKit ](/docs/plugins/realtimekit/)
* [  Screen Orientation ](/docs/plugins/screen-orientation/)
* [  Screenshot ](/docs/plugins/screenshot/)
* [  Secure Preferences ](/docs/plugins/secure-preferences/)
* [  Speech Recognition ](/docs/plugins/speech-recognition/)
* [  Speech Synthesis ](/docs/plugins/speech-synthesis/)
* [  Share Target ](/docs/plugins/share-target/)
* [  Square Mobile Payments ](/docs/plugins/square-mobile-payments/)
* [  SQLite ](/docs/plugins/sqlite/)
* [  Superwall ](/docs/plugins/superwall/)
* [  Torch ](/docs/plugins/torch/)
* [  Wifi ](/docs/plugins/wifi/)
* [  Zip ](/docs/plugins/zip/)
* [  Cloud ](/docs/cloud/)
* [  Live Updates ](/docs/cloud/live-updates/)
* Advanced
* Integrations
* [  Native Builds ](/docs/cloud/native-builds/)
* [  Configuration ](/docs/cloud/native-builds/configuration/)
* [  Environments ](/docs/cloud/native-builds/environments/)
* Guides
* [  Sample Projects ](/docs/cloud/native-builds/sample-projects/)
* [  Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [  Automations ](/docs/cloud/automations/)
* [  Assist ](/docs/cloud/assist/)
* Account
* Organizations
* [  Organization and User Management ](/docs/cloud/organizations/memberships/)
* [  Single Sign-On (SSO) ](/docs/cloud/organizations/sso/)
* [  Teams ](/docs/cloud/organizations/teams/)
* [  Two-Factor Authentication ](/docs/cloud/organizations/two-factor-authentication/)
* [  Integrations ](/docs/cloud/integrations/)
* [  License Keys ](/docs/cloud/license-keys/)
* [  Webhooks ](/docs/cloud/webhooks/)
* [  Pricing ](https://capawesome.io/pricing/)
* [  FAQ ](/docs/cloud/faq/)
* [  Support ](/docs/cloud/support/)
* [  Contributing ](/docs/contributing/)
* [  LLMs ](/docs/llms/)
* [  Insiders ](/docs/insiders/)
* [  License ](https://capawesome.io/legal/eula/)
* [  Support ](/docs/insiders/support/)
* [  FAQ ](/docs/insiders/faq/)
* [  Blog ](/blog/)
* Categories

* [  Version 70 error ](#version-70-error)

# The iOS Troubleshooting Guide for Capacitor[¶](#the-ios-troubleshooting-guide-for-capacitor "Permanent link")

Capacitor is a great tool to build cross-platform apps with web technologies. However, sometimes you might run into issues when building your iOS app. This post will help you to troubleshoot common issues.

Help us to improve this guide 

If you are aware of any other common issues, please send us an email to [support@capawesome.io](mailto:support@capawesome.io) so that we can update the guide.

## Errors[¶](#errors "Permanent link")

### `could not find module 'Capacitor' for target 'x86_64-apple-ios-simulator'`[¶](#could-not-find-module-capacitor-for-target-x86%5F64-apple-ios-simulator "Permanent link")

This error indicates that the `Capacitor` module is not available for the `x86_64` architecture which is used by the iOS simulator.

Add the following `post_install` hook to your `Podfile` (usually `ios/App/Podfile`):

`[](#%5F%5Fcodelineno-0-1)post_install do |installer|
[](#%5F%5Fcodelineno-0-2)    installer.pods_project.targets.each do |target|
[](#%5F%5Fcodelineno-0-3)        target.build_configurations.each do |config|
[](#%5F%5Fcodelineno-0-4)            # Build for all architectures
[](#%5F%5Fcodelineno-0-5)            config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
[](#%5F%5Fcodelineno-0-6)            # Exclude arm64 architecture for the iOS simulator
[](#%5F%5Fcodelineno-0-7)            config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
[](#%5F%5Fcodelineno-0-8)        end
[](#%5F%5Fcodelineno-0-9)    end
[](#%5F%5Fcodelineno-0-10)end
`

The `ONLY_ACTIVE_ARCH` build setting is set to `YES` by default, which means that the build system will only build for the active architecture. By setting it to `NO`, the build system will build for both `arm64` and `x86_64` architectures, making the `Capacitor` module available for the iOS simulator.

The `EXCLUDED_ARCHS[sdk=iphonesimulator*]` build setting is used to exclude the `arm64` architecture for the iOS simulator.

### `value of type 'WKWebView' has no member 'isInspectable'`[¶](#value-of-type-wkwebview-has-no-member-isinspectable "Permanent link")

This error occurs if you are using an outdated version of Xcode. For Capacitor 6 you need at least Xcode 15.0, so make sure you are using the latest version of Xcode.

If this error occurs in GitHub Actions, you should update the macOS version to `macos-14` in your workflow file. Please note that `macos-latest` is not always the latest version (see [here](https://twitter.com/jcesarmobile/status/1780142061129204204)).

`[](#%5F%5Fcodelineno-1-1)- runs-on: macos-latest
[](#%5F%5Fcodelineno-1-2)+ runs-on: macos-14
`

### `CocoaPods could not find compatible versions for pod "..."`[¶](#cocoapods-could-not-find-compatible-versions-for-pod "Permanent link")

This error occurs when CocoaPods cannot find compatible versions for a pod. This can either be due to outdated sources or other dependencies that require different versions of the same pod.

Follow the steps below to find out if outdated sources are causing the problem:

1. Delete the `Podfile.lock` (usually `ios/App/Podfile.lock`) file and the `Pods` directory (usually `ios/App/Pods`).
2. Run `pod install --repo-update` where the `Podfile` is located (usually `ios/App`).

If the problem persists, you need to check the dependencies in your `Podfile` and make sure that all dependencies use the same version of the pod. For example, this was one of the reasons why we created the [Capacitor Firebase](/docs/plugins/firebase/) Plugin Collection to ensure that all Firebase plugins use the same version of the Firebase SDK.

### Plugin is not implemented[¶](#plugin-is-not-implemented "Permanent link")

If Capacitor cannot find a plugin or cannot inject its code into the WebView, the following error is thrown, for example:

`[](#%5F%5Fcodelineno-2-1)"Badge" plugin is not implemented
`

Follow the steps below to solve this issue:

1. Make sure that the plugin is installed and appears in the `package.json`.
2. Sync the native project by running `npx cap sync ios`.
3. Make sure that no other plugin is installed that might conflict with the plugin. For example, do not install two different Push Notification plugins.
4. Make sure that you do not have `WKAppBoundDomains` key in your `Info.plist` file. This key is used to restrict the domains that your app can access and can cause issues with plugins that need to inject code into the WebView.
5. If you are using CocoaPods instead of Swift Package Manager, make sure that the plugin is listed in `ios/App/Podfile`.
6. If you are using CocoaPods instead of Swift Package Manager, make sure that CocoaPods was installed correctly and no warning is shown when running `npx cap sync ios`.
7. Make sure to use the latest Node.js and npm version. Run `node -v` and `npm -v` to check your versions.
8. Make sure to use the latest Capacitor CLI version. Run `npx cap doctor` to check your versions.
9. Make sure you only have one version of Xcode installed. You can check this by running `xcode-select -p` in the terminal.

If the problem persists, check the following GitHub issues and discussions for more information:

* https://github.com/capacitor-community/sqlite/issues/662#issuecomment-3364677943
* https://github.com/capawesome-team/capacitor-plugins/discussions/617#discussioncomment-14527491

### Blank screen[¶](#blank-screen "Permanent link")

A blank screen can have many causes. Here are some common reasons and solutions.

#### With live reload[¶](#with-live-reload "Permanent link")

If you see a blank screen when using live reload, check the following:

1. Make sure that your development server uses all network interfaces and not only `localhost`. For example, if you are using the Ionic CLI, you can use the `--external` option to bind to all network interfaces:  
`[](#%5F%5Fcodelineno-3-1)ionic cap run ios -l --external  
`
2. Make sure that your development server is accessible from the device. You can check this by opening the URL in the device's browser. If the URL is not accessible, the app will not be able to load the content. This may be due to the following reasons:  
   * The device is not connected to the same network as the development server.  
   * The development server is not accessible from the device due to firewall settings.
3. Make sure that the content is not blocked by a Content Security Policy (CSP) or other security mechanisms. You can check this by opening the browser's developer tools and looking for errors in the console.

#### Without live reload[¶](#without-live-reload "Permanent link")

If you see a blank screen without live reload, check the following:

1. If you are using **Angular**, make sure that your `.browserslistrc` or `browserslist` file includes the browser versions you need to support. The Angular CLI uses this file to determine which code it can optimize. Check out [this topic](https://forum.ionicframework.com/t/ionic-6-default-project-white-screen-on-android-30-or-below-when-using-prod/228087) for more information.

### Version 70 error[¶](#version-70-error "Permanent link")

You may encounter the following error when building your iOS app:

`` [](#%5F%5Fcodelineno-4-1)Unable to find compatibility version string for object version `70`.
 ``

This is caused by Xcode when you add an extension file to your project. The problem is in your Xcode project `pbxproj` file. Open this file and change objectVersion from 70 to 60.

March 18, 2026 

 Back to top 