dart-native / dart_native

Write iOS&macOS&Android Code using Dart. This package liberates you from redundant glue code and low performance of Flutter Channel.
BSD 3-Clause "New" or "Revised" License
951 stars 77 forks source link

iOS Failed to lookup symbol (dlsym(RTLD_DEFAULT, InitDartApiDL): symbol not found) #24

Closed yulingtianxia closed 3 years ago

yulingtianxia commented 4 years ago

ref: https://github.com/dart-lang/native/issues/897

There are two Workarounds:

  1. Use dynamic library: Add use_frameworks! in Podfile.
  2. Select Target Runner -> Build Settings -> Strip Style -> change from "All Symbols" to "Non-Global Symbols"
yulingtianxia commented 3 years ago

Fixed in 0.3.6. Waiting for verification on QQ(iPhone).

yulingtianxia commented 3 years ago

Fixed in 0.3.11