You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 22: NSNumber *installTimeMillis = installDate ? @((long long)([installDate timeIntervalSince1970] * 1000)) : [NSNull null]; => This line make warning when build
Code Sample
Logs
This is warning in the code when building
Flutter Doctor
flutter doctor -v
[✓] Flutter (Channel stable, 3.27.3, on macOS 15.3 24D60 darwin-arm64, locale en-VN)
• Flutter version 3.27.3 on channel stable at /Users/dungnguyen/Desktop/Dev/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c519ee916e (2 weeks ago), 2025-01-21 10:32:23 -0800
• Engine revision e672b006cb
• Dart version 3.6.1
• DevTools version 2.40.2
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/dungnguyen/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1)
[✓] VS Code (version 1.96.4)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.104.0
[✓] Connected device (3 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.3 24D60 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.3 24D60 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.160
[✓] Network resources
• All expected network resources are available.
• 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
The text was updated successfully, but these errors were encountered:
The warning can be observed on CI, otherwise the compilation succeeds:
ERROR: --- xcodebuild: WARNING: Using the first of multiple matching destinations:
Building macOS application...
{ platform:macOS, arch:arm64, id:0000FE00-3F8F14C76D7F6DB3, name:My Mac }
{ platform:macOS, arch:x86_64, id:0000FE00-3F8F14C76D7F6DB3, name:My Mac }
ERROR: /Users/runner/work/plus_plugins/plus_plugins/packages/package_info_plus/package_info_plus/macos/package_info_plus/Sources/package_info_plus/FPPPackageInfoPlusPlugin.m:22:15: warning: incompatible pointer types initializing 'NSNumber *' with an expression of type 'NSObject<NSCoding,NSCopying,NSSecureCoding> *' [-Wincompatible-pointer-types]
NSNumber *installTimeMillis = installDate ? @((long long)([installDate timeIntervalSince1970] * 1000)) : [NSNull null];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
ERROR: warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
✓ Built build/macos/Build/Products/Debug/Package Info Plus Example.app
package_info_plus_example: SUCCESS
Platform
MacOS 15.3 Xcode 16.2
Plugin
Package_info_plus
Version
8.2.0
Flutter SDK
3.27.3
Steps to reproduce
Source file in MacOS 'FPPPackageInfoPlusPlugin.m'
Line 22: NSNumber *installTimeMillis = installDate ? @((long long)([installDate timeIntervalSince1970] * 1000)) : [NSNull null]; => This line make warning when build
Code Sample
Logs
This is warning in the code when building
Flutter Doctor
Checklist before submitting a bug
flutter pub upgrade
flutter clean
The text was updated successfully, but these errors were encountered: