Skip to content

[Compile]: Can't compile on iOS #3822

@under3415

Description

@under3415

Operating System

MacOS Sequia 15.7.5

Plugin

device_info_plus

Version

13.1.0

Flutter SDK

3.41.9

Compilation command

flutter build ipa --release --obfuscate --split-debug-info=./build/symbols --export-options-plist=ios/ExportOptions.plist

This failes on device_info_plus > 12.3.0, something to do with FEAT(device_info_plus): Add support for isiOSAppOnVision property in iOS device info (#3716). (25bbcce)

Dart Dependencies

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  audio_service: ^0.18.18
  carousel_slider: ^5.1.2
  device_info_plus: 12.3.0
  encrypt: ^5.0.3
  firebase_core: ^4.7.0
  firebase_crashlytics: ^5.2.0
  flutter_local_notifications: ^21.0.0
  flutter_svg: ^2.2.4
  flutter_timezone: ^5.0.2
  in_app_purchase: ^3.2.3
  in_app_review: ^2.0.11
  intl: ^0.20.2
  json_annotation: ^4.11.0
  json_serializable: ^6.13.2
  just_audio: ^0.10.5
  lottie: ^3.3.3
  numberpicker: ^2.1.2
  path_provider: ^2.1.5
  provider: ^6.1.5+1
  shared_preferences: ^2.5.5
  wakelock_plus: 1.5.0
  url_launcher: ^6.3.2

Native dependencies


Compilation Error

Running Xcode build... Xcode archive done. 21.3s Failed to build iOS app ARC Semantic Issue (Xcode): No visible @interface for 'NSProcessInfo' declares the selector 'isiOSAppOnVision' /Users/dejannakarada-kordic/.pub-cache/hosted/pub.dev/device_info_plus-13.1.0/ios/device_info_plus/Sources/device_info_plus/FPPDeviceInfoPlusPlugin.m:34:56

Flutter Doctor

[✓] Flutter (Channel stable, 3.41.9, on macOS 15.7.5 24G624 darwin-x64, locale en-US) [389ms]
    • Flutter version 3.41.9 on channel stable at /Users/dejannakarada-kordic/Downloads/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 00b0c91f06 (6 days ago), 2026-04-29 10:03:19 -0700
    • Engine revision 42d3d75a56
    • Dart version 3.11.5
    • DevTools version 2.54.2
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file,
      enable-lldb-debugging, enable-uiscene-migration

[✗] Android toolchain - develop for Android devices [307ms]
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [1,349ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome) [15ms]
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Connected device (1 available) [7.0s]
    • macOS (desktop) • macos • darwin-x64 • macOS 15.7.5 24G624 darwin-x64

[✓] Network resources [1,050ms]
    • All expected network resources are available.

Checklist before submitting a bug

  • I searched issues in this repository and couldn't find such bug/problem
  • I Google'd a solution and I couldn't find it
  • I searched on StackOverflow for a solution and I couldn't find it
  • I read the README.md file of the plugin
  • I'm using the latest version of the plugin
  • All dependencies are up to date with flutter pub upgrade
  • I did a flutter clean
  • I tried running the example project

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions