# AWS Pinpoint Tutorial for iOS: Getting Started

**URL:** <https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818>\
**Category:** 🎓 Courses & Articles\
**Created:** [February 26, 2018, 2:06pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818 "2018-02-26T14:06:38Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![macandyp](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macandyp/32/108930_2.png) [@macandyp](https://forums.kodeco.com/u/macandyp)\
**Post date:** [February 26, 2018, 2:06pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/1 "2018-02-26T14:06:38Z")

</div>

In this AWS Pinpoint tutorial, you'll learn how to integrate Pinpoint SDK in iOS for app analytics. You'll also learn to add, upload, and analyze events.

* * *
 This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/148-aws-pinpoint-tutorial-for-ios-getting-started](https://www.raywenderlich.com/148-aws-pinpoint-tutorial-for-ios-getting-started)

---

<div class="post-metadata">

**Author:** ![steverobs](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@steverobs](https://forums.kodeco.com/u/steverobs)\
**Post date:** [February 27, 2018, 12:25pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/2 "2018-02-27T12:25:16Z")

</div>

Nice 🙂  
More tutorial with AWS Mobile Hub please 🙂 🙂

---

<div class="post-metadata">

**Author:** ![piyushchhabra](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/piyushchhabra/32/102075_2.png) [@piyushchhabra](https://forums.kodeco.com/u/piyushchhabra)\
**Post date:** [February 27, 2018, 12:44pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/3 "2018-02-27T12:44:20Z")

</div>

I was expecting some AWS Mobile Hub tutorials on this forum.  
Nice stuff on PinPoint !!

---

<div class="post-metadata">

**Author:** ![arminloges](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arminloges/32/79544_2.png) [@arminloges](https://forums.kodeco.com/u/arminloges)\
**Post date:** [March 15, 2018, 3:41am UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/4 "2018-03-15T03:41:47Z")

</div>

Anyone having issues importing AWS module onto AppDelegate? I tried everything under the sun to no avail.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [March 15, 2018, 7:23am UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/5 "2018-03-15T07:23:59Z")

</div>

@macandyp Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![macandyp](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macandyp/32/108930_2.png) [@macandyp](https://forums.kodeco.com/u/macandyp)\
**Post date:** [March 15, 2018, 3:40pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/6 "2018-03-15T15:40:04Z")

</div>

Hey,

Sorry for the delay. I think you may just need to run `pod install` in Terminal, from your project’s root directory. Will you try that and let me know if that solved the problem?

---

<div class="post-metadata">

**Author:** ![arminloges](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arminloges/32/79544_2.png) [@arminloges](https://forums.kodeco.com/u/arminloges)\
**Post date:** [March 17, 2018, 5:26pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/7 "2018-03-17T17:26:12Z")

</div>

Thank you for the response and I am sorry for my own delay (flu season got me out of commission for a few days). Unfortunately, I have tried `pod install` multiple times to no avail. To honor your request I did it again. Same: None of the AWS modules are recognized by my Xcode 9.2 running Swift 4 (in my case AWSMobileClient, AWSCore and AWSDynamoDB). Any other suggestions are appreciated.  
Thanks!

---

<div class="post-metadata">

**Author:** ![arminloges](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arminloges/32/79544_2.png) [@arminloges](https://forums.kodeco.com/u/arminloges)\
**Post date:** [March 18, 2018, 4:19am UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/8 "2018-03-18T04:19:11Z")

</div>

Andy: It seems this is a targeting issue. When choosing to build the appName scheme Xcode does not identify any of the AWS modules and produces the errors. If I select the scheme Pods-appName, errors are gone. I am new to programming but I don’t believe I am supposed to build it for the pod-appName scheme but rather for the appName scheme, correct? Any suggestions?

---

<div class="post-metadata">

**Author:** ![macandyp](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macandyp/32/108930_2.png) [@macandyp](https://forums.kodeco.com/u/macandyp)\
**Post date:** [March 18, 2018, 11:51am UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/9 "2018-03-18T11:51:20Z")

</div>

That does sound odd. Have you tried quitting Xcode, clearing your Derived Data, run `pod install` and open the workspace again? If I download the sample finished project linked in the tutorial, and run pod install, everything builds as expected for me.

---

<div class="post-metadata">

**Author:** ![arminloges](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arminloges/32/79544_2.png) [@arminloges](https://forums.kodeco.com/u/arminloges)\
**Post date:** [March 18, 2018, 11:42pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/10 "2018-03-18T23:42:59Z")

</div>

Andy, I followed your suggestion - thank you - and it moved me along a bit: I deleted the Derived Data, deleted the appName.xcworkspace and the Podfile.loc along with all the pods and ran `pod install` again.  
This time, when importing AWS modules on the AppDelegate, it does list all the AWS modules, BUT now the for the imported AWS module reads “Could not build Objective-C module 'AWSMobileClient”. This has been a very long search…and it still puzzles me.  
Suggestions?

---

<div class="post-metadata">

**Author:** ![arminloges](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arminloges/32/79544_2.png) [@arminloges](https://forums.kodeco.com/u/arminloges)\
**Post date:** [March 18, 2018, 11:47pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/11 "2018-03-18T23:47:27Z")

</div>

more interestingly yet, I ran a clean command and it all went back to not finding the AWS modules anymore: I am now back to "No such module ‘AWSMobileClient’ ". 🤨😫

---

<div class="post-metadata">

**Author:** ![arminloges](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arminloges/32/79544_2.png) [@arminloges](https://forums.kodeco.com/u/arminloges)\
**Post date:** [March 19, 2018, 1:48am UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/12 "2018-03-19T01:48:06Z")

</div>

so far, as long as I don’t clean the product, the Modules remain available to the AppDelegate. If I clean it, they are gone until I build it again. Strange.

---

<div class="post-metadata">

**Author:** ![macandyp](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macandyp/32/108930_2.png) [@macandyp](https://forums.kodeco.com/u/macandyp)\
**Post date:** [March 19, 2018, 2:17am UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/13 "2018-03-19T02:17:11Z")

</div>

Is everything building for you now? I’m having a hard time replicating the issues.

---

<div class="post-metadata">

**Author:** ![arminloges](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arminloges/32/79544_2.png) [@arminloges](https://forums.kodeco.com/u/arminloges)\
**Post date:** [March 19, 2018, 3:34am UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/14 "2018-03-19T03:34:15Z")

</div>

Andy:  
Yes, as long as I do not clean it.  
If I do, Modules are no longer accessible, requiring me to do a build first before they become available again, making all errors go away.  
I should be able to manage the app to completion from here (or until the next obstacle)  
Thanks for the help!

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [September 25, 2018, 7:02pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/16 "2018-09-25T19:02:59Z")

</div>

Opened on September 25, 2018, 7:02pm UTC



---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [September 25, 2018, 7:03pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/17 "2018-09-25T19:03:26Z")

</div>

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you! :]

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [September 25, 2018, 7:03pm UTC](https://forums.kodeco.com/t/aws-pinpoint-tutorial-for-ios-getting-started/39818/18 "2018-09-25T19:03:33Z")

</div>

Closed on September 25, 2018, 7:03pm UTC


