IOS CocoaPods Version Installation issues

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.