Does anybody have any tips for how I can get Xcode to recognise Cocoapods? I have a KMM project using Cocoapods and the build step is giving:
Copy code
Execution failed for task ':shared:podGenIOS'.
> 'pod install' command failed with an exception:
Cannot run program "pod" (in directory "/Users/.../shared/build/cocoapods/synthetic/IOS"): error=2, No such file or directory
Full command: pod install
Possible reason: CocoaPods is not installed
Please check that CocoaPods v1.10 or above is installed.
To check CocoaPods version type 'pod --version' in the terminal
To install CocoaPods execute 'sudo gem install cocoapods'
Needless to say Cocoapods working fine from the command line.