Closed giorgio-borghetto closed 2 years ago
Can you please try the latest version of this package? (app_tracking_transparency: ^2.0.0
)
I've upgraded to the latest version, but the error is the same:
/Users/borghettogi/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/app_tracking_transparency-2.0.0+1/ios/Classes/SwiftAppTrackingTransparencyPlugin.swift:3:8: error: no such module 'AppTrackingTransparency' import AppTrackingTransparency
Is your Xcode version 12.0+? Because AppTrackingTransparency
is available on Xcode 12.
same error, xcode version 12.5
Fixed mine by making sure the platform line in my Podfile is '9.0'. Also added AppTransparency.framework to Frameworks, Libraries, and Embedded Content under Targets/Runner/General.
I had the same problem with iOS versions 12.5
Fixed with solution found on stackoverflow: https://stackoverflow.com/questions/64472144/ios-13-library-not-loaded-apptrackingtransparency-framework-apptrackingtransp
I didnt need to embed content, keeping it as "Do Not Embed"
Good morning,
Once I build into Flutter, I receive this error:
Command CompileSwift failed with a nonzero exit code /Users/borghettogi/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/app_tracking_transparency-1.1.0+1/ios/Classes/SwiftAppTrackingTransparencyPlugin.swift:3:8: error: no such module 'AppTrackingTransparencyPlugin' import AppTrackingTransparencyPlugin