Native Force.com Rest App Template is not showing in New Project Wizard - iphone

I followed this link http://wiki.developerforce.com/page/Getting_Started_with_the_Mobile_SDK_for_iOS#Working_with_the_SDK
to as to integrate my iOS App with the SalesForce. Now while creating new project I can't se the Native Force.com Rest App Template in New Project Wizard, instead only Hybrid Force.com App template is been shown.
Help Appreciated.

I recently solved this problem by Updating to OS X 10.7.3 and doing a fresh install of XCode 4.3.1, then re-installing SalesForce. After the re-install, the REST template was right where it belonged!
Make sure you set the XCode directory so that SF knows where to put the files, otherwise the install will hang!
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
I hope you get it solved!

Salesforce Mobile SDK for iOS was updated to version 1.1 this past week. Among the fixes were updated instructions for installing the SDK on Xcode 4.3. The old install script doesn't work for the latest version of Xcode so getting the latest source code from Github might solve your problem.

Related

How to update a salesforce Mobile SDK app developed in swift

I have an old project integrated salesforce Mobile SDK (version 4.3.1), which is working fine on Xcode 8.1.
Now I want to update to make it working on Xcode 13 (or Xcode 10.1).
When I'm updating pods it is throwing more than 500 errors. Any help or link which can help me.
NOTE: Can not make this project from scratch, since it has a lot of functionalities.

Xcode SDK Version Issue

I'm having a bit of an issue with distributing an app via the latest version of Xcode (Version 10.1 (10B61)). Every time I try to upload it to the App Store via organizer, I get this error after uploading:
WARNING ITMS-90725: "SDK Version Issue. This app was built with the iOS 12.0 SDK. Starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
Previous answers to this question said that it was just a warning and that I should still be able to upload my app, but it is now March and I am still getting the error even on 10.1. iTunesConnect will not let me select these builds and I get emails about the validation failure.
Further details:
-The app is an iMessage extension, and uses exactly 1 framework from Carthage, which is up to date with the latest framework version and Carthage version.
-My project and Message extension targets Swift Language Version build setting is Swift 4.2.
-My deployment target is iOS 11.0, but the issue persists after selecting iOS 12.1.
-The app compiles and runs fine on my physical device running iOS 12.1.
-The issue persists after a build folder clean.
-The issue persists after reinstalling Xcode.
If anyone has any suggestions as to how I can verify my app is compiling with the latest SDK please let me know.
Whether the app runs on given iOS version, has no relevance to which SDK are you really using. The definitive SDK version used for building is found in the app's Info.plist.
after Archiving, Show the xcarchive in Finder.
right-click, Show Package Contents.
open Products/Applications/YourApp.app
right-click, Show Package Contents.
copy the Info.plist to some place where you can run terminal commands on it
/usr/libexec/PlistBuddy -c "print :DTSDKBuild" Info.plist
You would expect it to show "16B91" for SDK 12.1. If it's something else (SDK 12.0 would be "16A366"), here are some ideas:
inspect the Carthage dependency. Are you really building it locally or downloading a prebuilt binary? If in doubt, force local building with --no-use-binaries. Remove whole Carthage folder (Checkouts as well as Build) and start from scratch.
rm -rf ~/Library/Developer/Xcode/DerivedData instead of just "build folder clean"
Verify MacOS System Report section Software/Developer for the actual SDK versions that MacOS thinks that you have
xcode-select -p to verify that you are really using the Xcode instance that you would like to
If all looks correct on your side, fill Technical Support Incident. Report the exact rejected build which you uploaded already. That should speed up the support reaction.
I filled out a bug report with Apple because I was experiencing the exact same issue and none of the above solutions worked. They made a change on their backend and now everything is back to proper working order.
If you haven't tried in awhile, make another attempt and I'm betting that it'll work this time.
I was having the same problem. My app was compiled in Xcode 10.1 but I was still getting the SDK warning. I was able to resolve it by doing the following. I'm not sure if all these steps are necessary. I didn't try validating between steps.
I upgraded macOS to Mojave (10.14.3). I had been running High Sierra.
Delete Xcode from applications folder
Reinstall Xcode from the app store
Open my project and run Project->Clean Build folder
Archive and upload and no more warnings

Updating the iPhone iOS 4.0.1 to 4.0.2 SDK, Do I have to download the whole 2.5 Gigs?

As the the Question asks,
I currently sport xcode 3.2.3 with iOS 4.0.1 but I want to test on my iPhone which is stuck on 4.0.2
Thus I cannot do so until the SDK for 4.0.2 is accessible from xcode.
Where can I download a patch update from 4.0.1 to 4.0.2 because the iPhone members page seems to only link me to the package including xcode 3.2.3 with iOS4.0.2 SDK
I don't want to download the whole thing because it's > 2.5 gigs and my New Zealand internet Connection is shizenhouzen.
I can't restore to a previous version, because for some reason I only have a previous back up of the iPhone on my now defunct windows PC.
I'm afraid you have to download the entire SDK - Apple do not provide 'patches' (4.0.1 to 4.02, for example) AFAIK, and I'd be nervous about downloading anything that claims it is a patch.
It's a common grumble, twitter is a fun place when apple push these .1 SDK updates out :)
You do have to download the whole thing to upgrade. It really sucks. :-(
I wish I could remember to download the SDK before upgrading my devices.
You can still build adhoc releases of your app and install them using itunes if you're in a real bind - it's just the debugger, console viewing and automatic installation of builds that won't work at all.

How can I install an older version of the iPhone SDK (v3.1.2) to work with the latest GM?

I installed the latest GM of the iPhone SDK and now I can't build and compile many of the example projects on the Apple iPhone dev site. When I load them, the configuration bar says "Base SDK is missing." It appears the example project I'm trying to build (QuartzDemo) is trying to build against the v3.1.2 SDK. How can I install an older version of the iPhone SDK that works with the latest GM? Or how can I get this project to build with the current GM version of the SDK?
Thanks so much in advance for your help!
Change the base SDK of the project to 4.0; 3.1.3 and earlier aren't supported.

download previous iphone sdk

Hi does anyone know where I can download iPhone sdk 2.0 and 2.2.1 . I upgraded to the latest version of the sdk (3.1.2) and it broke my application.
In the 3.1.2 installer it gave option to install the 2.2 sdk but it doesn't show up as an option in xcode when I try to execute my app. The earliest version it will show me is 2.2.1
Thanks,
Joe
"Officially" you're not able to downgrade your iPhone once upgraded and archiving copies is possibly copyright infringement but there are sites out there that host copies if you want to try anyway.