dpogue commented on PR #1515:
URL: https://github.com/apache/cordova-ios/pull/1515#issuecomment-2551960164

   > This in itself shouldn't be a blocker though, as long as `CordovaLib` 
framework is consumed as a dynamic library, instead of a static library. 
Plugins should be able to declare the dependency on CordovaLib and compile 
against it without providing the CordovaLib framework itself.
   
   This actually works if CordovaLib ***is*** a static library for the app 
target, but not when it's consumed as a Swift package itself (which is how 
we're using it in 8.0.0)
   
   > I assume SPM packages are importing these packages as their own build 
targets, which means they have their own build configurations (and thus needs a 
reference to the CordovaLib framework)
   
   This is correct, when a plugin is a Swift package, it becomes its own 
framework target that is linked to the app project, rather than copying plugin 
source files into the project directly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to