wsvn53 / adb-mobile

Android Debug Bridge (adb) ported version for mobile apps, the goal of this project is supporting both iOS App and Android App to connect to Android devices in developer mode (TCP/IP Mode) and execute supported ADB commands by integrating the libraries generated by this project.
60 stars 10 forks source link

Having conflicts between method name adb_trace_init #8

Open ABedrock opened 7 months ago

ABedrock commented 7 months ago

I've successfully integrated a framework into my project and the build was successful. I'm planning to use it with Swift, so I've included the necessary imports in the bridging header or created a wrapper class in Objective-C to facilitate usage in Swift.

However, when I import adb_public.h and adb_porting.h, I encounter an error stating conflicting types for 'adb_trace_enable_porting'. It appears that both files have the same method name, which is causing this error. Do you have any workaround for this issue?

Screenshot 2024-05-03 at 11 45 22 AM Screenshot 2024-05-03 at 11 45 39 AM