Build a Shopping App with Moltin – Ep 3 – Xcode project, Cocoapods and Moltin SDK

Build a Shopping App with Moltin
Lesson 3
In this series, I’ll show you guys how to build an ecommerce shopping app leveraging Moltin!

In this lesson, we learn about the different options to integrate the Moltin SDK into our Xcode project. We learn how to set up Cocoapods and to install the Moltin pod for our master detail Xcode project. Finally we initialize and authenticate our app through the Moltin SDK.

The demo we’re building will illustrate a simple shopping flow. Product browsing, product selection, adding to cart and checking out.

Related links:

Xcode project, source code and video download:

Next Lesson:

Moltin Swift Getting Started Guide

Cocoapods set up guides

Previous Lesson:

It’s going to be a little challenging for those who are completely new to iPhone app development so I recommend that you watch my “How To Make An iPhone App With No Programming Experience” series of videos first. That playlist is 17 lessons long but it’ll give you the foundation and explain the terminology and object oriented programming concepts that I’m going to be using in the building of this Shopping App.

That playlist can be found on my site here:

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!


CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Objective-C, Xcode and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (






11 responses to “Build a Shopping App with Moltin – Ep 3 – Xcode project, Cocoapods and Moltin SDK”

  1. dont mug yourself Avatar

    Great tutorial but the interface in moltin has face and its getting confusing dont know where to start

  2. Net Avatar

    When I insert the line of code for my public key it says " Use of unresolved identifier, ( My public key…)

  3. Kewal Kanojia Avatar

    Hi Chris,

    I am getting this error.
    'Moltin/Moltin.h' file not found

  4. Ed K Avatar

    at 12:49, my Authenticate field doesn't have what is in the video, instead it has this: Moltin.sharedInstance().setPublicId("XXXX"). I'm assuming I missed a step. Please help

  5. Cam Johansson Avatar

    xcode wont let me import moltin

  6. Peter Møller Avatar

    Hi Chris, when I hit 'Enter' after this –

    Last login: Mon Mar 14 21:08:53 on ttys000
    Peters-MBP:~ Petermoeller$ sudo gem install cocoapods

    – nothing is just happening.. 🙁 Do you know why?

  7. Nicolas Sanchez Avatar

    Any chance to do this tutorial with js sdk?

  8. Luke Walters Avatar

    Love your work Chris, deserve thousands of more views!!!

  9. lillogadget Avatar

    have you tried using the atom text editor? i've found that the color coded text really helped out a lot as a new coder 🙂 your videos easily have some of the highest quality content i've seen on youtube

  10. Sanan Suleymanli Avatar

    awesome! easy to follow and understand. Thank you!

  11. Yash Bharti Avatar

    Hi Chris when will this project finish ?

Leave a Reply

Your email address will not be published. Required fields are marked *