开发者

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

开发者 https://www.devze.com 2023-02-22 08:03 出处:网络
I am new to inapppurchase and I am trying to implement in app purchase in my app I have created a provision profile also I had added the app to itunes but know when I 开发者_开发百科am trying to deplo

I am new to inapp purchase and I am trying to implement in app purchase in my app I have created a provision profile also I had added the app to itunes but know when I 开发者_开发百科am trying to deploy on my device it shows following error.

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

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


When you copy and paste code without understanding it you have to copy everything.

you forgot this line:

#define kInAppPurchaseManagerProductsFetchedNotification @"kInAppPurchaseManagerProductsFetchedNotification"
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号