akifarhan
akifarhan

Reputation: 1200

framework not found Pods_OneSignalNotificationServiceExtension

I use OneSignal for push notification in Flutter. I can build it on devices and simulator but has the errors when archiving.

ld: framework not found Pods_OneSignalNotificationServiceExtension

Upvotes: 9

Views: 3799

Answers (2)

akifarhan
akifarhan

Reputation: 1200

I already found the solution for this problem. I've set my iOS target for my project to iOS 12 and use platform :ios, '12.0' in my Podfile. So I changed my OneSignalNotifcationServiceExtension iOS target to iOS12 too instead of iOS 10 as suggested and it works like charm.

Upvotes: 2

A_Rush
A_Rush

Reputation: 378

I solved the same issue in another way.

  1. close xcode project
  2. go to Android Studio
  3. flutter clean
  4. flutter pub get
  5. flutter build ios
  6. open Runner.xcoworkspace

done.

Upvotes: 1

Related Questions