Skip to content

[Bug]: ARC Semantic Issue (Xcode): No visible @interface for 'NSProcessInfo' declares the #3786

Description

@jayrao5566

Platform

ios

Plugin

device_info_plus

Version

12.4.0

Flutter SDK

3.41.6

Steps to reproduce

Failed to build iOS app
ARC Semantic Issue (Xcode): No visible @interface for 'NSProcessInfo' declares the
selector 'isiOSAppOnVision'
/Users/XXXX/.pub-cache/hosted/pub.flutter-io.cn/device_info_plus-12.4.0/ios/device_info_p
lus/Sources/device_info_plus/FPPDeviceInfoPlusPlugin.m:34:56

Code Sample

Logs

Failed to build iOS app
ARC Semantic Issue (Xcode): No visible @interface for 'NSProcessInfo' declares the
selector 'isiOSAppOnVision'
/Users/xxxx/.pub-cache/hosted/pub.flutter-io.cn/device_info_plus-12.4.0/ios/device_info_p
lus/Sources/device_info_plus/FPPDeviceInfoPlusPlugin.m:34:56


Encountered error while archiving for device.

Flutter Doctor

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.6, on macOS 14.7.2 23H311 darwin-arm64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

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

Activity

  1. vbuberen commented on Mar 31, 2026

    @vbuberen
    Collaborator

    [✓] Xcode - develop for iOS and macOS (Xcode 16.1)

    This is a compatibility issue. You need to use Xcode 26.x already, especially since it is what Apple will enforce in the end of April.

  2. iazel commented on Apr 1, 2026

    @iazel

    Hi @vbuberen , I'm having the same issue but using XCode 26.0.1

    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel stable, 3.41.6, on macOS 15.7.5 24G624 darwin-x64, locale en-IT)
    [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    [✓] Xcode - develop for iOS and macOS (Xcode 26.0.1)
    [✓] Chrome - develop for the web
    [✓] Connected device (3 available)            
    [✓] Network resources
    
    • No issues found!
    

    I'm using device_info_plus version 12.4.0

  3. vbuberen commented on Apr 1, 2026

    @vbuberen
    Collaborator

    The property appeared in 26.1+, so you need to update:
    #3716 (comment)

    And it is mentioned in requirements as well: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/device_info_plus/device_info_plus#requirements

  4. westy92 commented on May 23, 2026

    @westy92

    I had the same issue! Update to Xcode >= 26.1.1 and it should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions