jacobg opened a new issue #776: New podspec syntax not adding to Podfile
URL: https://github.com/apache/cordova-ios/issues/776
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   Plugins use new `podspec` syntax, and the dependencies get added to Podfile.
   
   
   ### What does actually happen?
   
   The dependencies are not added to the Podfile.
   Plugins using the old `<framework type="podspec"` syntax do get aded.
   
   All dependencies do get added to pods.json though.
   
   ## Information
   Here's an example where the new syntax doesn't work, and old one does.
   
   New syntax:
   ```xml
           <podspec>
               <config>
                   <source url="https://cdn.cocoapods.org/";>
               </config>
               <pods>
                   <pod name="Firebase/MLVision" spec="~> 6.3.0" />
                   <pod name="Firebase/MLVisionFaceModel" spec="~> 6.3.0" />
                   <pod name="OpenCV2" spec="~> 4.2.0" />
               </pods>
           </podspec>
   ```
   
   Old syntax:
   ```xml
           <framework src="Firebase/MLVision" type="podspec" spec="~> 6.3.0" />
           <framework src="Firebase/MLVisionFaceModel" type="podspec" spec="~> 
6.3.0" />
           <framework src="OpenCV2" type="podspec" spec="~> 4.2.0" />
   ```
   
   
   ### Command or Code
   ```
   cordova prepare
   cordova build ios --buildConfig=./build.json
   ```
   
   
   ### Environment, Platform, Device
   MacOS Catalina
   
   
   
   ### Version information
   I am running:
   ```
   jacob$ cordova -v
   9.0.0 ([email protected])
   ```
   ```
   jacob$ cordova platform
   Installed platforms:
     android 8.1.0
     browser 6.0.0
     ios 5.1.1
   Available platforms:
     electron ^1.0.0
     osx ^5.0.0
     windows ^7.0.0
   ```
   ```
   jacob$ pod --version
   1.8.4
   ```
   
   I also tried `cordova-ios` versions 5.0.0 and 5.1.0, and those don't work 
either.
   
   ## Checklist
   
   - [ x] I searched for existing GitHub issues
   - [ x] I updated all Cordova tooling to most recent version
   - [ x] I included all the necessary information above
   

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


With regards,
Apache Git Services

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

Reply via email to