OneSignal-Flutter-SDK icon indicating copy to clipboard operation
OneSignal-Flutter-SDK copied to clipboard

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

Open hchaviano opened this issue 1 year ago • 9 comments
trafficstars

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

hchaviano avatar Sep 30 '24 13:09 hchaviano

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

shahidghafoor00 avatar Oct 03 '24 10:10 shahidghafoor00

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

pod install command works fine for me

hchaviano avatar Oct 04 '24 15:10 hchaviano

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

Screenshot 2024-10-05 at 2 54 56 PM

shahidghafoor00 avatar Oct 05 '24 09:10 shahidghafoor00

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.

BautizarCodigo avatar Oct 06 '24 20:10 BautizarCodigo

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

hchaviano avatar Oct 07 '24 12:10 hchaviano

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 ?

HeidenPrasanth avatar Oct 08 '24 07:10 HeidenPrasanth

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

ravicoders21 avatar Oct 09 '24 10:10 ravicoders21

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

itsarvinddev avatar Oct 14 '24 10:10 itsarvinddev

same issue

affan3699 avatar Nov 11 '24 07:11 affan3699