ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
12.11k stars 1k forks source link

[Bug]: CapacitorCordova pod contains AppDelegate #7734

Closed jeroentrappers closed 2 hours ago

jeroentrappers commented 2 hours ago

Capacitor Version

CapacitorCordova version 4.7.0

https://github.com/CocoaPods/Specs/blob/master/Specs/e/8/3/CapacitorCordova/4.7.0/CapacitorCordova.podspec.json

Other API Details

No response

Platforms Affected

Current Behavior

During build, there can be conflicts, because this file is not prefixed as it normally should be for a library.

Expected Behavior

AppDelegate should not be part of the library.

Project Reproduction

any ios project that includes that pod

Additional Information

pod 'CapacitorCordova'

jcesarmobile commented 2 hours ago

The file exists for Cordova Plugin compatibility and needs to be called like that for plugins that have Categories on AppDelegate to compile.