skip to Main Content

Swift Compiler Error (Xcode): Expected ‘,’
/Users/apple/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+2/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:16:49

Swift Compiler Error (Xcode): Expected ‘,’
/Users/apple/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+2/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:20:51

Swift Compiler Error (Xcode): Expected ‘,’
/Users/apple/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+2/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:37:59

Swift Compiler Error (Xcode): Expected ‘,’
/Users/apple/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+2/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:42:63

Swift Compiler Error (Xcode): Expected ‘,’
/Users/apple/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+2/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:46:68

Swift Compiler Error (Xcode): Expected ‘,’
/Users/apple/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+2/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:53:66

Swift Compiler Error (Xcode): Could not build Objective-C module ‘in_app_purchase_storekit’

Encountered error while building for device.

I tried removing install pods nothing works out

2

Answers


  1. @Wali Khan Navigate to your flutter sdk location where you have installed flutter sdk. Using SHIFT + COMMAND + . you can see hidden folder. Try to locate pub_cache folder. Compress this pub_cache folder to create a backup. Then delete the pub_cache folder & perform pub clean then pub get command in your flutter project. Once pub get is successful then perform pod install in your flutter project.

    Login or Signup to reply.
  2. i have the same issue , i have try delete the pub_cache folder & perform pub clean then pub get command in your flutter project. Once pub get is successful then perform pod install in your flutter project. BUT NOTHING WORK!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search