brodybits opened a new issue #916: URL: https://github.com/apache/cordova-ios/issues/916
# Bug Report ## Problem ### What is expected to happen? This documentation led me to believe that it should be possible to use `http` option in a `<pod>` element: <https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#pod> I tried this `<podspec>` configuration for the iOS platform in a new plugin: ```xml <podspec> <!-- empty config element to avoid an installation bug on iOS --> <config> </config> <pods> <!-- TODO: MISSING EXTRA-SAFE -DSQLITE_DEFAULT_SYNCHRONOUS=3 FLAG AND MISSING SOME OTHER FLAGS FROM ABOVE FUTURE TBD CONSIDER SOME OTHER SQLITE FEATURE FLAGS WANTED --> <pod name="sqlite3" http="https://github.com/clemensg/sqlite3pod" /> </pods> </podspec> ``` here: <https://github.com/brodybits/cordova-plugin-sqlite-batch-connection-manager-core-unstable-0x/tree/unstable-ios-pod-http-option> While I think the value of this `http` option is not correct, I would expect Cordova to honor the `http` option when generating `platforms/ios/Podfile`. ### What does actually happen? After the following steps to try my `podspec` configuration in a test app: ```sh cordova plugin add github:brodybits/cordova-plugin-sqlite-batch-connection-manager-core-unstable-0x#unstable-ios-pod-http-option-test cordova platform add github:apache/cordova-ios#master ``` I get the following contents of `platforms/ios/Podfile`: ```rb # DO NOT MODIFY -- auto-generated by Apache Cordova platform :ios, '11.0' target 'demo' do project 'demo.xcodeproj' pod 'sqlite3' end ``` with my `http` tag evidently ignored ### general comments Unfortunately I have not figured out the right way to use the `http` option for a pod in general. I do not even know if this is an option that is worth supporting, and would be happy to see it just removed from the documentation. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> see above ### Command or Code <!-- What command or code is needed to reproduce the problem? --> see above ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> see above & below ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> - `cordova --version`: `9.0.0 ([email protected])` - Cordova platform: cordova-ios from master commit id: e6e90e0 - Operating system: macOS Catalina 10.15.5 (19F101) - `pod --version`: `1.9.3` ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
