function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VintaraVintara 

xcode 4.3 SalesforceMobileSDK-iOS compile errors from ./install.sh

It seems that the SalesforceMobileSDK-iOS requires the /Developer folder, which is no longer part of the XCode setup. So how do I update/resolve the compiler errors when trying to run ./install.sh for the sdk setup?

VintaraVintara

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

 

The above seems to be the important bit. The Developer folder is now part of the application package and the paths must be updated to reflect that.

mobillemobille

HI

Iam integrating salesforce sdk into my iphone app.After login Iam getting credential details such as instance url ,identity url,accesstoken etc..Now I want to retrive user profile info such as profile pic ,likes,comments,post and user personal info.How can i get this info.??How to send accesstoken to RESTAPI as a header field??Can anyone give me url structure

 

 

Thanks 

sandeep

tstellanova-sfdctstellanova-sfdc

Thanks for reporting this issue.

 

This is caused by a known bug in the Xcode 4.3 install.

 

The workaround, as you mentioned,  is to run the following from your command line (Terminal) before running install.sh:

 

sudo xcode-select -switch /Applications/Xcode.app/

 

I'll update the FAQ to mention this workaround.

 

 

 

 

 

 

 

 

lettuceheadlettucehead
I had to do the following to my root folder to allow permissions to rename the folder:
cd /Users/myUserName/Documents/XcodeProjectFolder
sudo chmod -R 777 *