iPhone doesn't stop popping up "Sign into iTunes Store" after Xcode Project includes IAP's
<p>My app includes some In-App Purchases and whenever the app is opened my phone continues to keep asking me to sign into the iTunes Store. How do I stop this from happening?</p>

<pre><code>    override func viewDidLoad() {
    super.viewDidLoad()

     SKPaymentQueue.defaultQueue().addTransactionObserver(self)

    // Do any additional setup after loading the view, typically from a nib.
    // Set IAPS

        if(SKPaymentQueue.canMakePayments()) {
            print("In-App Purchases Enabled, Loading")
            let productID:NSSet = NSSet(objects: "my bundle ;)")
            let request: SKProductsRequest = SKProductsRequest(productIdentifiers: productID as! Set&lt;String&gt;)
            request.delegate = self
            request.start()
        } else {
            print("Please enable In-App Purchases.")
    }

    showInStore()

}  

override func viewDidDisappear(animated: Bool) {

    SKPaymentQueue.defaultQueue().removeTransactionObserver(self)
}


    @IBAction func btnRemoveAds(sender: UIButton) {
    for product in list {
        let prodID = product.productIdentifier
        if(prodID == "my bundle") {
            p = product
            buyProduct()
</code></pre>

<p>//                removeAds()
                break
            } else if(prodID == "my bundle") {</p>

<pre><code>            w = product
            buyProduct()
            break
        }
    }

}


    func removeAds() {

    self.view.willRemoveSubview(self.adView)
    self.adView.hidden = true
}

    @IBAction func RestorePurchases(sender: UIButton) {
    SKPaymentQueue.defaultQueue().restoreCompletedTransactions()
}

var list = [SKProduct]()
var p = SKProduct()
var w = SKProduct()

func buyProduct() {
    print("Buy " + p.productIdentifier)
    let pay = SKPayment(product: p)
    SKPaymentQueue.defaultQueue().addPayment(pay as SKPayment)
}

func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse) {
    print("Requesting Product")
    let myProduct = response.products

    for product in myProduct {
        print("Product Added")
        print(product.productIdentifier)
        print(product.localizedTitle)
        print(product.localizedDescription)
        print(product.price)

        list.append(product)

    }


}

func paymentQueueRestoreCompletedTransactionsFinished(queue: SKPaymentQueue) {
    print("Purchases Restored")

    _ = [] // Swift 2 made me replace with a _ : orginal is let purchasedItemIDS[]
    for transaction in queue.transactions {
        let t: SKPaymentTransaction = transaction

        let prodID = t.payment.productIdentifier as String

        switch prodID {
        case "my bundle ;)":
            print("Removing Ads")
            removeAds()
            systemStatus.text = "Ads have been removed on this device! "
            systemStatus.textColor = UIColor.greenColor()


        default:
            print("In-App Purchases Not Setup")
        }

    }
}

func paymentQueue(queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) {
    print("Add Payment")

    for transaction:AnyObject in transactions {
        let trans = transaction as! SKPaymentTransaction
        print(trans.error)

        switch trans.transactionState {

        case .Purchased:
            print("Unlock In-App Purchases Here.")
            print(p.productIdentifier)
            let prodID = p.productIdentifier as String
            switch prodID {
            case "my bundle ;)":
                print("Remove Ads")
                removeAds()
                systemStatus.text = "Ads have been removed on this device! "
                systemStatus.textColor = UIColor.greenColor()


            default:
                print("In-App Purchases Not Setup")
            }

            queue.finishTransaction(trans)
            break
        case .Failed:
            print("Purchase Error")
            queue.finishTransaction(trans)
            break
        default:
            print("Nothing")
            break

        }
    }
}

func finishTransaction(trans:SKPaymentTransaction)
{
    print("Transactions Completed.")
    SKPaymentQueue.defaultQueue().finishTransaction(trans)
    removeAds()
    systemStatus.text = "Ads have been removed on this device! "
    systemStatus.textColor = UIColor.greenColor()


}

func paymentQueue(queue: SKPaymentQueue, removedTransactions transactions: [SKPaymentTransaction])
{
    print("Transactions Removed")
}
</code></pre>