Generate Object API code for the iOS platform, develop a universal iOS
device application with code, and test its functionality. The device application communicates with the database MBOs that are deployed to SAP Mobile Server.
Prerequisites
Note:
This tutorial has been developed using SAP Mobile Platform 2.2 SP02, Mac OS X 10.7.5, iOS SDK 6.0, and Xcode
4.5.1 Development Environment, and executed on an iOS Simulator v 6.0 (358.4).
If you use a different version, some steps may vary. For more information on
Xcode, refer to the Apple Developer Connection: http://developer.apple.com/technologies/tools/whats-new.html.
Complete the tasks in Getting Started with Mobile Platform.
Either:
create the MBO project by completing Tutorial: Mobile Business Object Development, or
download and deploy the MBO SMP101 example project (complete
project files) from the SAPĀ® Community Network: http://scn.sap.com/docs/DOC-8803.
Note: If you upgrade SAP Mobile SDK after completing the
tutorial, you can convert the project to the current SDK by importing the
earlier project into the SAP Mobile WorkSpace and then accepting
the confirmation prompt.
(Optional) To use as a reference and copy source code when
completing this tutorial, download the iOS SMP 101 example project (source code
only) and extract to your Mac from the SAPĀ® Community Network: http://scn.sap.com/docs/DOC-8803.
Task
Installing Xcode IDE
Download and install the Apple Xcode IDE to build, deploy, and run a mobile application on an iPhone simulator.
Generating Object API Code
Launch the code generation wizard and generate the object API code for a replication-based iOS application.