Unable to upload photo, uploadPrefix, unrecognized selector
@adimiz1 已经在做这个了。
开始于 2023年5月28日。
评估
这个 Issue 还没有评估数据。
描述
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.
Trying to upload file. Upgraded to react native 0.64.x and not working now. Do you know what this error means?
Issue Type (Can be multiple)
[ ] Build - Can’t install or import the SDK
[ ] Performance - Performance issues
[ x] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Other (Specify)
Steps to reproduce
idik
Error screenshots or Stack Trace (if applicable)
Exception '-[Cloudinary.CLDConfiguration initWithCloudName:apiKey:apiSecret:privateCdn:secure:cdnSubdomain:secureCdnSubdomain:secureDistribution:cname:uploadPrefix:]: unrecognized selector sent to instance 0x282d25400' was thrown while invoking uploadFile on target CloudinaryModule with params (
"file:///var/mobile/Containers/Data/Application/6A8045F7-2399-4A2E-AED7-AE1D45131797/tmp/E10380FD-B9C5-4682-B7A0-319DF783D857.jpg",
{ ...}
30130,
30131
)
callstack: (
0 CoreFoundation 0x000000018189d110 16FAA70C-278C-3561-859E-CEC407C2DC7C + 626960
1 libobjc.A.dylib 0x000000019a0d7d64 objc_exception_throw + 60
2 CoreFoundation 0x000000018197a0c4 16FAA70C-278C-3561-859E-CEC407C2DC7C + 1532100
3 CoreFoundation 0x0000000181832524 16FAA70C-278C-3561-859E-CEC407C2DC7C + 189732
4 CoreFoundation 0x0000000181831660 _CF_forwarding_prep_0 + 96
5 myapp 0x000000010293bf9c -[RNTCloudinaryManager uploadFile:fileData:uploadFileWithResolver:rejecter:] + 180
6 CoreFoundation 0x00000001818263a4 16FAA70C-278C-3561-859E-CEC407C2DC7C + 140196
7 CoreFoundation 0x0000000181843b74 16FAA70C-278C-3561-859E-CEC407C2DC7C + 260980
8 CoreFoundation 0x000000018187a9d4 16FAA70C-278C-3561-859E-CEC407C2DC7C + 485844
9 myapp 0x0000000102ca5228 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1696
10 myapp 0x0000000102d113a4 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 1088
11 myapp 0x0000000102d10da4 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 128
12 myapp 0x0000000102d10d18 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28
13 libdispatch.dylib 0x00000001069706d4 _dispatch_call_block_and_release + 32
14 libdispatch.dylib 0x00000001069723b4 _dispatch_client_callout + 20
15 libdispatch.dylib 0x000000010697a540 _dispatch_lane_serial_drain + 988
16 libdispatch.dylib 0x000000010697b290 _dispatch_lane_invoke + 428
17 libdispatch.dylib 0x0000000106987e20 _dispatch_workloop_worker_thread + 916
18 libsystem_pthread.dylib 0x00000001f22730f4 _pthread_wqthread + 288
19 libsystem_pthread.dylib 0x00000001f2272e94 start_wqthread + 8
)
RCTFatal
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread
Build/Dependency management
[x ] Cocoa-Pods
[ ] Carthage
[ ] Manual import
[ ] Other (Specify)
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 - 3.1.0
OSX (on the dev environment) - 11.6
XCode - 13.2.1
Swift - 5
Target iOS - 12.1
Repository
If possible, please provide a link to a reproducible repository that showcases the problem
- 主要语言
- Swift
- 星标
- 169
- 派生
- 107
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudinary/cloudinary_ios 的其他 Issue
-
Memory Leaks and Retain Cycles while using Upload with Cloudinary SDK可能重新可做 @adimiz1 于 713 天前认领,目前没有进行中的 PR。 未关闭
cloudinary/cloudinary_ios#441 · 1 条评论 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 20/100
cloudinary/cloudinary_ios#439 ·
-
Add MD5-Header option to CLDUploadRequestParams可能重新可做 @adimiz1 于 1458 天前认领,目前没有进行中的 PR。 未关闭
cloudinary/cloudinary_ios#390 · 1 条评论 · 已指派 1 人 ·
-
Does not compile for tvOS可能重新可做 @GiniAppsPartners 于 2026 天前认领,目前没有进行中的 PR。 未关闭
cloudinary/cloudinary_ios#337 · 1 条评论 · 已指派 2 人 ·
-
Hook for receiving background URLSession events queued for app relaunch or by app extensions可能重新可做 @michalkcloudinay 于 2091 天前认领,目前没有进行中的 PR。 未关闭enhancement
cloudinary/cloudinary_ios#327 · 1 条评论 · 已指派 1 人 ·
查看 cloudinary/cloudinary_ios 的全部 Issue
相似的 Issue
-
cua-driver diagnose: one-line help says "install and permission report", which is macOS-specific未关闭
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
easy
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 5 天内回复
-
15-minutes 5-minutes algorithm any-language beginner-friendly c cpp csharp easy go good first issue hacktoberfest help wanted java javascript kotlin python rust swift typescript
难度 1/5 1 小时以内 新手友好度 68/100
Huerte/algo-solutions-python#260 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100