flutter_iap
flutter_iap copied to clipboard
flutter_iap-Swift.h not found
=== BUILD TARGET flutter_iap OF PROJECT Pods WITH CONFIGURATION Debug === /Users/asoseil/.pub-cache/hosted/pub.dartlang.org/flutter_iap-1.2.1/ios/Classes/FlutterIapPlugin.m:2:9: fatal error: 'flutter_iap/flutter_iap-Swift.h' file not found #import <flutter_iap/flutter_iap-Swift.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@JackAppDev any ideas? i'm on an empty project with only this lib.
Hey @Asoseil you have to change your ios/Podfile with:
target 'Runner' do
# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
# referring to absolute paths on developers' machines.
use_frameworks!
system('rm -rf .symlinks')
system('mkdir -p .symlinks/plugins')