Installs the pods in Salesforce today, this is inside of the Podfile
# Uncomment ThisLine to define aGlobalPlatform foryour project# Platform:ios,'8.0'Target'Hellow2' DoSource'Https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs.git'# need to be first source'Https://github.com/CocoaPods/Specs.git'pod'React',:p ath ='./node_modules/react-native',: Subspecs = [ 'ART', 'Rctactionsheet', 'Rctadsupport', 'Rctcameraroll', 'rctgeolocation', 'Rctimage', 'rctnetwork', 'rctpushnotification', 'rctsettings', 'Rcttext', 'rctvibration', 'Rctwebsocket', 'Rctlinkingios']pod'Salesforcesdkcore'pod'salesforcenetwork'pod'Salesforcerestapi'pod'Smartstore'pod'Smartsync'pod'salesforcereact'End
The pod ' Salesforcesdkcore ' should be written using the latest version, but when I use pod install, the console has the following input:
It shows 4.2.0 version, then I went to Https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs.git to check it out, the latest version is 4.3.1
Originally, although the profile has the source ' https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs.git ', however, this does not guarantee the local pods spec Repo (description warehouse) is new, we need to manually run POD repo update update pods spec repo so that the system can find a new version of spec from spec repo, in order to download to the new library.
After upgrading, run pod install with:
The new spec file can already be read correctly!
Before running pod install, it is a good idea to run pod repo update in the project directory to update the pod's spec information.
IOS CocoaPods Version Installation issues