2011-04-05 52 views
1

我新的應用程式內購買和我想在我的應用我創建了一個提供個人資料還我又增加了應用程序到iTunes,但知道應用程序內購買來實現當我想我的設備上部署它顯示了以下錯誤。錯誤:「kInAppPurchaseProUpgradeProductId」未申報(在一次使用此功能)

 
error: 'kInAppPurchaseManagerProductsFetchedNotification' undeclared (first use in this function) 

error: 'kInAppPurchaseManagerProductsFetchedNotification' undeclared (first use in this function) 
+0

我也遇到同樣的時間:)謝謝,你問我一天由 – anshuVersatile 2017-01-10 09:09:28

回答

0

當您複製和粘貼代碼而不理解它時,您必須複製所有內容。

你忘了這行:

#define kInAppPurchaseManagerProductsFetchedNotification @"kInAppPurchaseManagerProductsFetchedNotification" 
+0

感謝,之後添加內襯它的工作:) – 2017-01-10 07:51:23

相關問題