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
@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.
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!