Adding Source Code Files, Libraries, and Resources to the Xcode Project
Once you set up the initial project in Xcode, add files from the
SAP Mobile Platform folders you copied from your Windows
machine.
In the Xcode Project Navigator, Ctrl-click the SMP101 project, then select Add Files to "SMP101".
Select the Generated Code
folder, unselect Copy items into destination group's
folder (if needed), and click Add.
The Generated Code
folder is added to the project in the Project Navigator.
Ctrl-click the Frameworks group, then select Add
Files to "SMP101".
In the iOS folder you copied from the SAP Mobile Platform installation, navigate to
the Libraries/Debug-iphonesimulator
directory.
Select the libAfariaSLL.a,
libclientrt.a,
libDatavault.a, libMO.a,
libPerformanceLib.a,
libsupClientUtil.a, libSUPObj.a,
libSUPSupportability.a, and libsupUltralite.a libraries.
Unselect Copy items into
destination group's folder (if needed).
Click Add.
The libraries are added to the project in the Project
Navigator.
Note: The library version corresponds to the
configuration you are building. In this tutorial, you work with the
libraries for the Debug version of the iPhone simulator.
Copy the SMP101 folder from the SMP101
iOS Object API tutorial zip file to the
SMP101 project folder on your Mac.
Add the source code files that you copied from the SMP101 iOS
Object API example project.
In Xcode, Ctrl-click the SMP101 project and select
Add Files to "SMP101".
Select the SMP101 folder, unselect
Copy items into destination group's folder (if
needed), and click Add.