R
R
redcircle2019-08-13 19:30:53
iOS
redcircle, 2019-08-13 19:30:53

How to allow duplicate classes?

My project uses Cocoapods, with the help of which the Alamofire framework is connected. Also connected (not via Cocoapods) is the VMware Workspace ONE SDK
(AWSDK) framework.
When the application starts, a large number of messages like this fall into the log:


Class _TtC9Alamofire17MultipartFormData is implemented in both /Users/igor/Library/Developer/CoreSimulator/Devices/92DBF15B-1CD8-4FD5-8944-5FD87A53903F/data/Containers/Bundle/Application/8DAE0707-0EBB-4523-9ED2-8A0C67F1060 /Frameworks/AWSDK.framework/AWSDK (0x10b9aed38) and /Users/igor/Library/Developer/CoreSimulator/Devices/92DBF15B-1CD8-4FD5-8944-5FD87A53903F/data/Containers/Bundle/Application/8DAE0707-0EBB-4523-9ED2 -8A0C67F1060F/zzz.app/Frameworks/Alamofire.framework/Alamofire (0x1080ebfb8). One of the two will be used. Which one is undefined.

Apparently Alamofire is already built into the AWSDK.
How to avoid such class conflict?
Alternatively, I would be fine if the classes in the AWSDK used their built-in Alamofire, and my application would use from Cocoapods. But the system says "One of the two will be used. Which one is undefined."

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question