+ Start a Discussion

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?


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.



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 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.









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 *