
Hi There !
I am trying to install Salesforce iOS SDK using command line but getting the following error...
[!] Error installing SalesforceNetwork
[!] /usr/bin/git clone https://github.com/forcedotcom/SalesforceMobileSDK-iOS.git /var/folders/_s/4v8f_4wd4837d88jkqd9m9500000gq/T/d20160222-1233-j5e0r7 --single-branch --depth 1 --branch pod_v4.1.0 --recursiveSubmodule 'external/CocoaLumberjack' (https://github.com/forcedotcom/CocoaLumberjack.git) registered for path 'external/CocoaLumberjack'Submodule 'external/cordova-ios/cordova-ios' (https://github.com/apache/cordova-ios.git) registered for path 'external/cordova-ios/cordova-ios'Submodule 'external/fmdb' (https://github.com/forcedotcom/fmdb) registered for path 'external/fmdb'Submodule 'external/ocmock' (https://github.com/erikdoe/ocmock.git) registered for path 'external/ocmock'Submodule 'external/react-native' (https://github.com/forcedotcom/react-native.git) registered for path 'external/react-native'Submodule 'external/shared' (https://github.com/forcedotcom/SalesforceMobileSDK-Shared.git) registered for path 'external/shared'Submodule 'external/wypopovercontroller' (https://github.com/sammcewan/WYPopoverController) registered for path 'external/wypopovercontroller'Submodule path 'external/CocoaLumberjack': checked out 'dc71c916b2da4223d5b289bc64cc06b888190c7f'Submodule path 'external/cordova-ios/cordova-ios': checked out 'd712fb0827671c83952cd75d9c190f7b083167b0'Submodule path 'external/fmdb': checked out '4dfdb03a63d3d00885256bf5e528d091c8f8f9b0'Submodule path 'external/ocmock': checked out 'c4affdcdad1401ea4d331f457cd60523e0bb425a'Cloning into '/var/folders/_s/4v8f_4wd4837d88jkqd9m9500000gq/T/d20160222-1233-j5e0r7'...Note: checking out '3ca7b9f0e322838d276d4e228c8e1e86813874b1'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by performing another checkout.If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name>Cloning into 'external/CocoaLumberjack'...Cloning into 'external/cordova-ios/cordova-ios'...Cloning into 'external/fmdb'...Cloning into 'external/ocmock'...Cloning into 'external/react-native'...error: RPC failed; result=56, HTTP code = 200fatal: The remote end hung up unexpectedlyfatal: early EOFfatal: index-pack failedClone of 'https://github.com/forcedotcom/react-native.git' into submodule path 'external/react-native' failed
-------------
My pod file is having following lines..
⌗ Uncomment this line to define a global platform for your project
⌗ platform :ios, '8.0'⌗ Uncomment this line if you're using Swift⌗ use_frameworks!target 'KSFDemo' dosource 'https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs.git'source 'https://github.com/CocoaPods/Specs.git'pod 'SalesforceSDKCore'pod ‘SalesforceNetwork’pod ‘SalesforceRestAPI’endtarget 'KSFDemoTests' doendtarget 'KSFDemoUITests' doend
----
Is there something missing from my side ? Please suggest the solution. Thank You.1 réponse

I solved this on my own. But Now I am getting an unexpected error.
I am trying to use MFDatabase which is located in SmartStore in the pod
But it always saying that FMDatabase.h file not found. I tried different ways to import it into my class. While All SF classes are being imported successfully.
please answer on this issue so that I can go ahead with my work.
Thank you.