flutter_iap icon indicating copy to clipboard operation
flutter_iap copied to clipboard

flutter_iap-Swift.h not found

Open asoseil opened this issue 7 years ago • 2 comments

=== 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> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

asoseil avatar Jul 10 '18 06:07 asoseil

@JackAppDev any ideas? i'm on an empty project with only this lib.

asoseil avatar Jul 13 '18 16:07 asoseil

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')

alamboley avatar Jul 20 '18 11:07 alamboley