> For the complete documentation index, see [llms.txt](https://docs.nubrick.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nubrick.app/reference/reamde/cocoapods-error.md). Agents can also search and read this documentation through its [MCP server](https://docs.nubrick.app/~gitbook/mcp).

# Cocoapods error

* Error

```
[!] CocoaPods could not find compatible versions for pod "Nubrick":
  In Podfile:
    nubrick_flutter (from `.symlinks/plugins/nubrick_flutter/ios`) was resolved to 0.0.1, which depends on
      Nubrick (~> 0.10.1)

None of your spec sources contain a spec satisfying the dependency: `Nubrick (~> 0.10.1)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
```

* Solution

1. Update cocoapods spec repository cloned in your local disk.

```
$ pod repo update
```

2. Remove `Podfile.lock` if necessary

```
$ rm ./Podfile.lock
```

3. Install pod

```
$ pod install
```
