Skip to content

htsuruo/flutter-arcore-playground

Repository files navigation

Flutter ARCore Playground

Checklist

Screenshots

arcore_flutter_plugin flutter_unity_widget

ARCore関連のFlutterパッケージ

FlutterでAR開発する様々な選択肢

Unityとの組み合わせ

Geospatial API関連

ARCore Platform Setup

Android

Kotlin Gradle plugin version 1.5.20 and higher

  • What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':arcore_flutter_plugin' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

iOS

pod 'ARCore/Geospatial'を指定してpod installした時に発生したエラー

[!] The following Swift pods cannot yet be integrated as static libraries:

The Swift pod FirebaseCoreInternal-library depends upon GoogleUtilities-library, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

The Swift pod FirebaseRemoteConfig-library depends upon FirebaseABTesting-library, FirebaseCore-library, FirebaseInstallations-library, and GoogleUtilities-library, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

targetに記載されていたuse_modular_headers!をグローバルに配置して解消

target 'Runner' do
  use_frameworks!
  # use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
pod 'ARCore/Geospatial'

use_modular_headers!

About

This is a playground for implementing ARCore with Flutter.

Topics

Resources

Stars

Watchers

Forks