wrteam-jay / Elite-Quiz-Issues-Tracker

1 stars 0 forks source link

Mac os Mojave with Xcode 14.2 not build , issues with the in_app_purchase_storekit #23

Open AlexRigat opened 1 month ago

AlexRigat commented 1 month ago

Running Xcode build...
Xcode build done. 77.1s Failed to build iOS app Swift Compiler Error (Xcode): Expected ',' /Users/home/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+3/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:16:49

Swift Compiler Error (Xcode): Expected ',' /Users/home/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+3/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:20:51

Swift Compiler Error (Xcode): Expected ',' /Users/home/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+3/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:37:59

Swift Compiler Error (Xcode): Expected ',' /Users/home/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+3/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:42:63

Swift Compiler Error (Xcode): Expected ',' /Users/home/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+3/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:46:68

Swift Compiler Error (Xcode): Expected ',' /Users/home/.pub-cache/hosted/pub.dev/in_app_purchase_storekit-0.3.17+3/darwin/Classes/Protocols/FLTPaymentQueueProtocol.h:53:66

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

Could not build the application for the simulator. Error launching application on iPhone 14.

wrteam-jay commented 1 month ago

Hi @AlexRigat, did you try cleaning the pub cache and also the derived data etc.

can you try below commands to clean the cache.

flutter clean
flutter pub cache clean
cd ios
rm -rf Pods .symlinks
rm -rf ~/Library/Developer/Xcode/DerivedData
cd ..
flutter pub get
cd ios
pod install

also from XCode try cleaning the build cache.

let me know if you are still having issue.