j0j00 / flutter_liquidcore

Node.js virtual machine for Android and iOS in Flutter.
https://pub.dev/packages/flutter_liquidcore
BSD 2-Clause "Simplified" License
67 stars 16 forks source link

Example project link error on iOS with Xcode11.3 #10

Open mix1009 opened 4 years ago

mix1009 commented 4 years ago

I'm on stable channel. (Flutter 1.12.13+hotfix.5).

$ git clone https://github.com/j0j00/flutter_liquidcore.git $ cd flutter_liquidcore/example $ flutter run

...

Running Xcode build...

Xcode build done. 1.3s Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ === BUILD AGGREGATE TARGET Flutter OF PROJECT Pods WITH CONFIGURATION Debug === Undefined symbols for architecture x86_64: "node::MainSource(node::Environment)", referenced from: node::LoadEnvironment(node::Environment) in node.o "node::DefineJavaScript(node::Environment*, v8::Local)", referenced from: node::Binding(v8::FunctionCallbackInfo const&) in node.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)`

$ cat ios/Podfile.lock

PODS:

  • Flutter (1.0.0)
  • flutter_liquidcore (1.1.0):
    • Flutter
    • LiquidCore (~> 0.6)
  • LiquidCore (0.6.2)

DEPENDENCIES:

  • Flutter (from .symlinks/flutter/ios)
  • flutter_liquidcore (from .symlinks/plugins/flutter_liquidcore/ios)

SPEC REPOS: trunk:

  • LiquidCore

EXTERNAL SOURCES: Flutter: :path: ".symlinks/flutter/ios" flutter_liquidcore: :path: ".symlinks/plugins/flutter_liquidcore/ios"

SPEC CHECKSUMS: Flutter: 0e3d915762c693b495b44d77113d4970485de6ec flutter_liquidcore: 532c2e9048572bcea66e080b100119cdfcf9dcb4 LiquidCore: a95bc50ffa8b249a5b5d7a1baa4d57fac4597d23

PODFILE CHECKSUM: 44343c621236bf906b4fec69a7db15cfcaa6d5c8

COCOAPODS: 1.8.4

j0j00 commented 4 years ago

I unfortunately don't have much free to time to work on the project at the moment.

If you're able to fix the issue, then feel free to put in a PR and I'll be sure to merge and publish it pending testing.