Skip to content

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

@jayrao5566

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    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