Search Docs
Loading...
Skip to content

CocoaPods Spec Repository

On iOS, the imgly_editor and imgly_camera plugins install the native IMGLYUI and IMGLYCamera pods when your app uses CocoaPods. CocoaPods trunk stops accepting new pod versions on December 2, 2026, as announced in the CocoaPods Trunk Read-only Plan. IMG.LY publishes new CE.SDK pods to its own spec repository at github.com/imgly/cesdk-specs.

Do I Need to Migrate?#

From Flutter 3.44, the IMG.LY plugins resolve through Swift Package Manager. If your app uses Swift Package Manager, you do not need to change anything.

If your app uses CocoaPods, add the IMG.LY repository to your Podfile once. This applies to Flutter before 3.44, and to apps that turned Swift Package Manager off. Without the repository, pod install cannot find the CE.SDK pods of a release that ships after trunk becomes read-only.

What Changes#

  • New CE.SDK pod versions are published to the IMG.LY spec repository.
  • Versions that are already on trunk stay there, and trunk stays readable, so your current builds keep working.
  • Your other pods still come from trunk.

Update the Podfile#

Open ios/Podfile and add these two lines at the top of the file:

ios/Podfile
source 'https://github.com/imgly/cesdk-specs.git'
source 'https://cdn.cocoapods.org/'

Keep both lines. A Podfile without a source line uses trunk by default, but a Podfile with one source line uses only the sources that it lists. The trunk line keeps all of your other pods resolving.

Then update the CE.SDK pods:

Terminal window
cd ios && pod update IMGLYUI

pod install keeps each pod that Podfile.lock already lists on the source that the lock file records, so the CE.SDK pods of an existing app stay on trunk. pod update resolves the pods that you name again, from the first source in your Podfile. If your app uses only the camera, name IMGLYCamera instead. If it uses both the editor and the camera, name both:

Terminal window
cd ios && pod update IMGLYUI IMGLYCamera

Check the Result#

Open ios/Podfile.lock. The SPEC REPOS section lists the IMG.LY repository, and the CE.SDK pods appear below it:

ios/Podfile.lock
SPEC REPOS:
https://github.com/imgly/cesdk-specs.git:
- IMGLYCamera
- IMGLYCore
- IMGLYEditor
- IMGLYEngine
- IMGLYUI
# ...

Check that the PODS section shows the CE.SDK version of your pubspec.yaml, for example IMGLYUI (1.87.0).

If the CE.SDK pods still appear under trunk, Podfile.lock kept their old source. Run the pod update command above again, with every CE.SDK pod that your app uses.

A CE.SDK version that was released before the IMG.LY repository existed is only on trunk. Its pods appear under trunk in SPEC REPOS, and that is correct. When you update to a newer CE.SDK version, run pod update again, and the pods move to the IMG.LY repository.

Troubleshooting#

CocoaPods Could Not Find Compatible Versions#

[!] CocoaPods could not find compatible versions for pod "IMGLYUI":
In Podfile:
imgly_editor (from `.symlinks/plugins/imgly_editor/ios`) was resolved to 1.88.0, which depends on
IMGLYUI (= 1.88.0)

Check these causes in order:

  1. The Podfile has no IMG.LY source line. Add both source lines, as shown above.
  2. Podfile.lock pins an older version or its old source. In the ios/ directory, run pod update IMGLYUI for the editor, pod update IMGLYCamera for the camera, or name both. Each IMG.LY plugin pod, such as IMGLYPluginBackgroundRemoval, requires IMGLYUI at exactly its own version. If your Podfile lists plugin pods, set them to the new version and update them in the same command, for example pod update IMGLYUI IMGLYPluginBackgroundRemoval.
  3. Your local copy of the spec repositories is out of date. In the ios/ directory, run pod install --repo-update.

Found Multiple Specifications#

[!] Found multiple specifications for `IMGLYEngine (1.88.0)`:

This warning is expected while a version is on both trunk and the IMG.LY repository. CocoaPods uses the first source in your Podfile, so no action is needed.

Other Pods Are Not Found#

The Podfile lists the IMG.LY source but not trunk. Add source 'https://cdn.cocoapods.org/' below the IMG.LY source line.