Skip to content

[Bug]: Problem to build App in iOS #1053

@70r63x

Description

@70r63x

What happened?

In iOS i have some errors when I build my app in Xcode. I use Flutter 3.29.0, onesignal_flutter 5.3.4 and Xcode 16.4. the error is:

  • /Users/userlaptop/.pub-cache/hosted/pub.dev/onesignal_flutter-5.3.4/ios/Classes/OSFlutterInAppMessages.m:104:47: Incompatible pointer types sending 'OSFlutterInAppMessages *' to parameter of type 'NSObject * _Nullable'
  • /Users/userlaptop/.pub-cache/hosted/pub.dev/onesignal_flutter-5.3.4/ios/Classes/OSFlutterLiveActivities.m:120:17: Comparison of distinct pointer types ('NSDictionary *' and 'NSNull * _Nonnull')

Steps to reproduce?

1. in pubspect.yaml be sure to have onesignal_flutter in 5.3.4
2. run flutter clean and then flutter pub get
3. run pod install
4. in Xcode run build

What did you expect to happen?

El Pod install work fine and de init configuration are well, but i expecta that when I do de build the app dont show this errors

OneSignal Flutter SDK version

5.3.4

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions