Memory Leaks and Retain Cycles while using Upload with Cloudinary SDK

Open
#441 1 comment 0 reactions 1 assignee View on GitHub

@adimiz1 is already working on this.

Since Dec 1, 2024.

Assessment

This issue has not been assessed yet.

Description

Bug report for Cloudinary iOS SDK

Before proceeding, please update to latest version and test if the issue persists

Describe the bug in a sentence or two.

Memory Leaks and Retain Cycles

Issue Type (Can be multiple)

[ ] Build - Can’t install or import the SDK
[x] Performance - Performance issues
[ ] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Other (Specify)

Steps to reproduce

We see this after using .createUploader().signedUploadLarge

Error screenshots or Stack Trace (if applicable)

Screenshot 2024-11-22 at 16 47 15 Screenshot 2024-11-22 at 16 47 24 Screenshot 2024-11-22 at 16 47 20

Build/Dependency management

[ ] Cocoa-Pods
[ ] Carthage
[ ] Manual import
[x] Other (SPM)

Is the issue reproducible only on a specific device?

[x] No
[ ] Yes (specify model + iOS version)

Versions and Libraries (fill in the version numbers)

iOS Cloudinary SDK version - 5.1.0
OSX (on the dev environment) - MacOS 15.0.1
XCode - 16.0
Swift - 5
Target iOS - iOS 18.1

Repository
If possible, please provide a link to a reproducible repository that showcases the problem

Dominant language
Swift
Stars
169
Forks
107
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/cloudinary_ios

All issues in cloudinary/cloudinary_ios

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.