dreamsoftin / facebook_audience_network

Flutter Facebook Audience Network
https://pub.dartlang.org/packages/facebook_audience_network/
MIT License
156 stars 89 forks source link

Undefined symbols for architecture arm64 #118

Closed MagnusJohansson closed 3 years ago

MagnusJohansson commented 3 years ago

Flutter v2.5, Xcode v12.4

Steps to reproduce:

Output:

Xcode's output:
↳
    Undefined symbols for architecture arm64:
      "_OBJC_CLASS_$_SKAdImpression", referenced from:
          objc-class-ref in FBAudienceNetwork(FBAdSKAdNetworkManager.m.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
MagnusJohansson commented 3 years ago

It seems that it might have been an issue with my setup. After trying on a new Mac with everything freshly installed, I haven't seen this problem.