Skip to content

module_test_ios fails, Undefined symbols for architecture armv7: "_OBJC_CLASS_$_UIPointerShape", referenced from: objc-class-ref in GoogleMaps #63447

Closed
@jmagman

Description

@jmagman
[module_test_ios] [STDOUT] ══════════════╡ ••• Build ephemeral host app with CocoaPods ••• ╞═══════════════
[module_test_ios] [STDOUT] 
[module_test_ios] [STDOUT] 
[module_test_ios] [STDOUT] Executing: /private/tmp/flutter sdk/bin/flutter build ios --no-codesign in /var/folders/3y/l0z1x3693dl_8n0qybp4dqwh0000gn/T/flutter_module_test.lFLCqR/hello
[module_test_ios] [STDOUT] stdout: The plugin `flutter_plugin_android_lifecycle` is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when Flutter is integrated into an existing app as a module.
[module_test_ios] [STDOUT] stdout: The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration.
[module_test_ios] [STDOUT] stdout: Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
[module_test_ios] [STDOUT] stdout: Building io.flutter.devicelab.hello for device (ios-release)...
[module_test_ios] [STDOUT] stdout: Running pod install...                                              5.6s
[module_test_ios] [STDOUT] stdout: Running Xcode build...                                          
[module_test_ios] [STDOUT] stdout: Xcode build done.                                           35.5s
[module_test_ios] [STDOUT] stdout: Failed to build iOS app
[module_test_ios] [STDOUT] stdout: Error output from Xcode build:
[module_test_ios] [STDOUT] stdout: ↳
[module_test_ios] [STDOUT] stdout:     ** BUILD FAILED **
[module_test_ios] [STDOUT] stdout: 
[module_test_ios] [STDOUT] stdout: 
[module_test_ios] [STDOUT] stdout: Xcode's output:
[module_test_ios] [STDOUT] stdout: ↳
[module_test_ios] [STDOUT] stdout:     Undefined symbols for architecture armv7:
[module_test_ios] [STDOUT] stdout:       "_OBJC_CLASS_$_UIPointerShape", referenced from:
[module_test_ios] [STDOUT] stdout:           objc-class-ref in GoogleMaps
[module_test_ios] [STDOUT] stdout:       "_OBJC_CLASS_$_UIPointerStyle", referenced from:
[module_test_ios] [STDOUT] stdout:           objc-class-ref in GoogleMaps
[module_test_ios] [STDOUT] stdout:     ld: symbol(s) not found for architecture armv7
[module_test_ios] [STDOUT] stdout:     clang: error: linker command failed with exit code 1 (use -v to see invocation)
[module_test_ios] [STDOUT] stdout:     note: Using new build system
[module_test_ios] [STDOUT] stdout:     note: Planning build
[module_test_ios] [STDOUT] stdout:     note: Constructing build description

Metadata

Metadata

Assignees

Labels

p: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions