You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run ionic capacitor update and all other commands that use update fail with the following error:
[capacitor] ✖ Updating iOS native dependencies with pod install - failed!
[capacitor] ✖ update ios - failed!
[capacitor] [error] Analyzing dependencies
[capacitor] [!] Unable to find a specification for `SalesforceHybridSDK` depended upon by `CordovaPluginsStatic`
[capacitor]
[capacitor] You have either:
[capacitor] * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
[capacitor] * mistyped the name or version.
[capacitor] * not added the source repo that hosts the Podspec to your Podfile.
I can manually add these specs to the Podfile located at /ios/App/ like so:
pod 'SalesforceHybridSDK', :git => 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Hybrid', :tag => 'v9.1.1'
pod 'MobileSync', :git => 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS', :tag => 'v9.1.1'
pod 'SmartStore', :git => 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS', :tag => 'v9.1.1'
pod 'FMDB/SQLCipher', :git => 'https://github.com/ccgus/fmdb', :tag => '2.7.5'
pod 'SQLCipher/fts', :git => 'https://github.com/sqlcipher/sqlcipher', :tag => 'v4.4.2'.
pod 'SalesforceSDKCore', :git => 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS', :tag => 'v9.1.1'
pod 'SalesforceAnalytics', :git => 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS', :tag => 'v9.1.1'
pod 'SalesforceSDKCommon', :git => 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS', :tag => 'v9.1.1'
And if I run pod install from within the /ios/App/ after making those changes,
it completes succesfully.
Expected Behavior
I expect that the source repos defined by this plugins plugin.xml file would be added where needed so that the dependency can be resolved.
Other Technical Details
npm --version output: 6.14.13
node --version output: v14.17.1
pod --version output (iOS issues only): 1.10.1
Additional Context
I have run pod repo update and that doesn't seen to help. Is this a limitation of the Cordova plugin support with Capacitor? If so, is there a workaround? If I need to manually add to the Podfile that's fine, but the Podfile is always overwritten with the update command.
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
ios
Current Behavior
Trying to run
ionic capacitor update
and all other commands that useupdate
fail with the following error:This SalesforceMobileSDK Cordova plugin defines its
podspec
inplugin.xml
like so:I can manually add these specs to the Podfile located at
/ios/App/
like so:And if I run
pod install
from within the/ios/App/
after making those changes,it completes succesfully.
Expected Behavior
I expect that the source repos defined by this plugins
plugin.xml
file would be added where needed so that the dependency can be resolved.Other Technical Details
npm --version
output: 6.14.13node --version
output: v14.17.1pod --version
output (iOS issues only): 1.10.1Additional Context
I have run
pod repo update
and that doesn't seen to help. Is this a limitation of the Cordova plugin support with Capacitor? If so, is there a workaround? If I need to manually add to the Podfile that's fine, but the Podfile is always overwritten with theupdate
command.The text was updated successfully, but these errors were encountered: