OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
623 stars 213 forks source link

[Bug]: No Module Found "OneSignalExtension" in NotificationService Flutter + XCode 16 #958

Open hchaviano opened 1 month ago

hchaviano commented 1 month ago

What happened?

After updating to XCode 16 that error appeared, I used Flutter 3.10.4 and onesignal_flutter 5.2.2. I tried updating Flutter and also onesignal_flutter but the error it's still there

Screenshot 2024-09-27 at 2 45 11 PM

Steps to reproduce?

1. Install Flutter 3.10.4 and onesignal_flutter 5.2.2
2. Follow this SDK setup guide: https://documentation.onesignal.com/docs/flutter-sdk-setup
3. Run your iOS app using XCode 16

What did you expect to happen?

The app should run without issues

OneSignal Flutter SDK version

5.2.2

Which platform(s) are affected?

Relevant log output

No response

Code of Conduct

shahidghafoor00 commented 1 month ago

I am getting same issue, its because the pod install command did not worked

hchaviano commented 1 month ago

I am getting same issue, its because the pod install command did not worked

pod install command works fine for me

shahidghafoor00 commented 1 month ago

in our main target > Build Phase: try this order:

Screenshot 2024-10-05 at 2 54 56 PM
BautizarCodigo commented 1 month ago

Same here I’m encountering a runtime issue after upgrading to Xcode 16. I’ve updated and reinstalled all necessary dependencies, including Cocoapods, but the issue persists. It seems that the current version of the OneSignal pod is not compatible with Xcode 16 or the iOS 17 SDK.

Cocoapods and other dependencies are up to date, but there appears to be no compatible pod available for OneSignal with Xcode 16.

I’ve notified OneSignal support, but there doesn’t seem to be an urgent fix planned at the moment.

Environment:

•   Xcode version: 16
•   iOS SDK: 17
•   Cocoapods version: 1.15
•   OneSignal pod version: ^5.1.2

Steps to Reproduce:

1.  Update to Xcode 16 and iOS 17 SDK.
2.  Integrate the OneSignal pod into the project.
3.  Run the app, and observe the runtime issues.

Notified OneSignal directly as I can’t release a new build with OneSignal installed.

hchaviano commented 1 month ago

I solved the error by doing this:

Remove this in the OneSignalNotificationService target: Screenshot 2024-10-07 at 9 20 03 AM

And add these: Screenshot 2024-10-07 at 9 21 55 AM

HeidenPrasanth commented 1 month ago

What happened?

After updating to XCode 16 that error appeared, I used Flutter 3.10.4 and onesignal_flutter 5.2.2. I tried updating Flutter and also onesignal_flutter but the error it's still there

Screenshot 2024-09-27 at 2 45 11 PM

Steps to reproduce?

1. Install Flutter 3.10.4 and onesignal_flutter 5.2.2
2. Follow this SDK setup guide: https://documentation.onesignal.com/docs/flutter-sdk-setup
3. Run your iOS app using XCode 16

What did you expect to happen?

The app should run without issues

OneSignal Flutter SDK version

5.2.2

Which platform(s) are affected?

  • [x] iOS
  • [ ] Android

Relevant log output

No response

Code of Conduct

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

same issue. Any solution ?

ravicoders21 commented 1 month ago

Same here I’m encountering a runtime issue after upgrading to Xcode 16. I’ve updated and reinstalled all necessary dependencies, including Cocoapods, but the issue persists. It seems that the current version of the OneSignal pod is not compatible with Xcode 16 or the iOS 17 SDK.

Cocoapods and other dependencies are up to date, but there appears to be no compatible pod available for OneSignal with Xcode 16.

I’ve notified OneSignal support, but there doesn’t seem to be an urgent fix planned at the moment.

Environment:

• Xcode version: 16
• iOS SDK: 17
• Cocoapods version: 1.15
• OneSignal pod version: ^5.1.2

Steps to Reproduce:

1.    Update to Xcode 16 and iOS 17 SDK.
2.    Integrate the OneSignal pod into the project.
3.    Run the app, and observe the runtime issues.

Notified OneSignal directly as I can’t release a new build with OneSignal installed.

Same issue

rvndsngwn commented 1 month ago

worked for me: https://stackoverflow.com/a/79081224

affan3699 commented 1 week ago

same issue