msmtamburro opened a new issue #280:
URL: https://github.com/apache/cordova/issues/280


   # Feature Request
   
   With recent versions of Xcode, including frameworks became problematic due 
to the introduction of the M1 Mac and the inclusion of certain simulator 
architectures within frameworks.  To address this, framework consumers use Lipo 
to strip architectures, or (better) framework providers moved to XCFramework.  
Other framework providers jumped directly to offering their projects as Swift 
Packages to overcome this challenge.  It would be nice to add a way for plugins 
to specify Swift Package Manager dependencies, just like they currently can 
specify frameworks.
   
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   
   There are complicated or manually intensive ways to add Swift Packages to a 
Cordova project, so it would make sense to add real support, as this does 
appear the direction things are going.
   
   https://swift.org/package-manager/
   
https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app
   
   ## Feature Description
   <!-- 
   Describe your feature request in detail
   Please provide any code examples or screenshots of what this feature would 
look like
   Are there any drawbacks? Will this break anything for existing users? 
   -->
   
   Plugins would be able to add a line something like this:
   
   `<package src="https://github.com/ReactiveX/RxSwift.git"; branch="optional" 
version="6.0.0" revision="3920840923809482309482039"/>`
   
   ## Alternatives or Workarounds
   <!-- 
   Describe alternatives or workarounds you are currently using 
   Are there ways to do this with existing functionality?
   -->
   
   You could write a hook that calls something on the command line to add this, 
or (worse) manually add the package each time through Xcode.
    
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to