deniza / app_tracking_transparency

A Flutter plugin to show ios 14+ tracking authorization dialog.
https://pub.dev/packages/app_tracking_transparency/
MIT License
83 stars 28 forks source link

Module not found on iOS #20

Closed gzimbron closed 2 years ago

gzimbron commented 2 years ago

Hello, I'm getting the next error when i tried to build my app

Anyone had the same error?

` Running pod install... 488.1s Running Xcode build...
└─Compiling, linking and signing... 5.6s Xcode build done. 58.7s Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ /Users/usrs/development/Flutter/esssss/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'app_tracking_transparency' not found @import app_tracking_transparency;


    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete`
luis-cruzt commented 2 years ago

same here

gzimbron commented 2 years ago

same here

I solved!

flutter pub repair cache

Then I opened workspace in XCode and go to ⚠️ icon and change all dependencies targets to 12 (one click and made changes)

EliseiNicolae commented 2 months ago

Looks like flutter pub repiar cache is not workign anymore...

image