Closed MingSern closed 1 year ago
Solved my problem by building on XCode first then only able to run flutter run
, i will close this for now.
Error still persist, seems like this issue is a bit random
Got the same error here, any updates ?
ok, I've created a brand new Flutter project and followed ios setup instructions on OneSignal website and it works. There must be something in people's projects that keeps making this same issue pop up at random.
Tested on M1 MacBook, MacOS Ventura 13.1 (22C65)
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git Framework • revision 135454af32 (4 days ago) • 2022-12-15 07:36:55 -0800 Engine • revision 3316dd8728 Tools • Dart 2.18.6 • DevTools 2.15.0
and
onesignal_flutter: ^3.5.0
Here is a working repo
Description: I already search for any related issues and solutions, but seems like the error still persists. I am still not sure what causes this issue, but the error message about
framework not found Pods_OneSignalNotificationServiceExtension
pops up. Everything was working fine on the previous version of Flutter, but after upgrading XCode to version 13 and Flutter to version 2.5, I was unable to build my app on iOS simulator anymore. However it is still working perfectly on physical device.Environment
What version of the OneSignal Flutter SDK are you using?
onesignal_flutter: ^3.2.3
How did you add the SDK to your project (eg. pub) copy and paste
onesignal_flutter: ^3.2.3
intopubspec.yaml
Steps to Reproduce Issue:
flutter run
Anything else:
Outputs after running `flutter run`
```bash Launching lib/main.dart on iPhone 13 Pro in debug mode... Running pod install... 10.1s Running Xcode build... Xcode build done. 32.2s Failed to build iOS app Error output from Xcode build: ↳ --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:iOS Simulator, id:7065E278-09E6-4F06-9889-09621FEB22C5, OS:15.0, name:iPhone 13 } { platform:iOS Simulator, id:ECDFE122-AED7-4AB7-BCB6-5F09C6E7D5BE, OS:15.0, name:iPhone 13 Pro } { platform:iOS Simulator, id:4A5F1542-52E7-4826-9D84-E018D911FA2C, OS:15.0, name:iPhone 13 Pro Max } { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } ** BUILD FAILED ** Xcode's output: ↳ 2 warnings generated. /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/PhonePermissionStrategy.m:50:35: warning: 'subscriberCellularProvider' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations] CTCarrier *carrier = [netInfo subscriberCellularProvider]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ serviceSubscriberCellularProviders In module 'CoreTelephony' imported from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/PhonePermissionStrategy.m:8: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreTelephony.framewo rk/Headers/CTTelephonyNetworkInfo.h:112:50: note: property 'subscriberCellularProvider' is declared deprecated here @property(readonly, retain, nullable) CTCarrier *subscriberCellularProvider API_DEPRECATED_WITH_REPLACEMENT("serviceSubscriberCellularProviders", ios(4.0, 12.0)) API_UNAVAILABLE(macos); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreTelephony.framewo rk/Headers/CTTelephonyNetworkInfo.h:112:50: note: 'subscriberCellularProvider' has been explicitly marked deprecated here 1 warning generated. /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:48:7: warning: 'UIUserNotificationType' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] UIUserNotificationType notificationTypes = 0; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:49:28: warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeSound; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:50:28: warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeAlert; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:51:28: warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] notificationTypes |= UIUserNotificationTypeBadge; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:52:7: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil]; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:52:74: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil]; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:53:42: warning: 'registerUserNotificationSettings:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:] [-Wdeprecated-declarations] [[UIApplication sharedApplication] registerUserNotificationSettings:settings]; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIApplication.h:251:1: note: 'registerUserNotificationSettings:' has been explicitly marked deprecated here - (void)registerUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:75:5: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations] UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings]; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:75:79: warning: 'currentUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:] [-Wdeprecated-declarations] UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings]; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIApplication.h:254:70: note: property 'currentUserNotificationSettings' is declared deprecated here @property(nonatomic, readonly, nullable) UIUserNotificationSettings *currentUserNotificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIApplication.h:254:70: note: 'currentUserNotificationSettings' has been explicitly marked deprecated here /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/permission_ handler-8.1.6/ios/Classes/strategies/NotificationPermissionStrategy.m:76:26: warning: 'UIUserNotificationTypeNone' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations] if (setting.types == UIUserNotificationTypeNone) permissionStatus = PermissionStatusDenied; ^ In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) { ^ 10 warnings generated. /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:85:56: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations] [[UIApplication sharedApplication] openURL:url]; ^~~~~~~ openURL:options:completionH andler: In module 'UIKit' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/Pods/Target Support Files/local_auth/local_auth-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/UIKit.framework/Heade rs/UIApplication.h:124:1: note: 'openURL:' has been explicitly marked deprecated here - (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS(""); ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:113:32: warning: 'LAErrorTouchIDNotEnrolled' is deprecated: first deprecated in iOS 11.0 - use LAErrorBiometryNotEnrolled [-Wdeprecated-declarations] } else if (authError.code == LAErrorTouchIDNotEnrolled) { ^ In module 'LocalAuthentication' imported from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:4: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/LocalAuthentication.f ramework/Headers/LAError.h:36:5: note: 'LAErrorTouchIDNotEnrolled' has been explicitly marked deprecated here LAErrorTouchIDNotEnrolled NS_ENUM_DEPRECATED(10_10, 10_13, 8_0, 11_0, "use LAErrorBiometryNotEnrolled") = kLAErrorTouchIDNotEnrolled, ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:177:12: warning: 'LAErrorTouchIDNotAvailable' is deprecated: first deprecated in iOS 11.0 - use LAErrorBiometryNotAvailable [-Wdeprecated-declarations] case LAErrorTouchIDNotAvailable: ^ In module 'LocalAuthentication' imported from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:4: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/LocalAuthentication.f ramework/Headers/LAError.h:33:5: note: 'LAErrorTouchIDNotAvailable' has been explicitly marked deprecated here LAErrorTouchIDNotAvailable NS_ENUM_DEPRECATED(10_10, 10_13, 8_0, 11_0, "use LAErrorBiometryNotAvailable") = kLAErrorTouchIDNotAvailable, ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:178:12: warning: 'LAErrorTouchIDNotEnrolled' is deprecated: first deprecated in iOS 11.0 - use LAErrorBiometryNotEnrolled [-Wdeprecated-declarations] case LAErrorTouchIDNotEnrolled: ^ In module 'LocalAuthentication' imported from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:4: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/LocalAuthentication.f ramework/Headers/LAError.h:36:5: note: 'LAErrorTouchIDNotEnrolled' has been explicitly marked deprecated here LAErrorTouchIDNotEnrolled NS_ENUM_DEPRECATED(10_10, 10_13, 8_0, 11_0, "use LAErrorBiometryNotEnrolled") = kLAErrorTouchIDNotEnrolled, ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:179:12: warning: 'LAErrorTouchIDLockout' is deprecated: first deprecated in iOS 11.0 - use LAErrorBiometryLockout [-Wdeprecated-declarations] case LAErrorTouchIDLockout: ^ In module 'LocalAuthentication' imported from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:4: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/LocalAuthentication.f ramework/Headers/LAError.h:41:5: note: 'LAErrorTouchIDLockout' has been explicitly marked deprecated here LAErrorTouchIDLockout NS_ENUM_DEPRECATED(10_11, 10_13, 9_0, 11_0, "use LAErrorBiometryLockout") ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:199:10: warning: 'LAErrorTouchIDNotEnrolled' is deprecated: first deprecated in iOS 11.0 - use LAErrorBiometryNotEnrolled [-Wdeprecated-declarations] case LAErrorTouchIDNotEnrolled: ^ In module 'LocalAuthentication' imported from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:4: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/LocalAuthentication.f ramework/Headers/LAError.h:36:5: note: 'LAErrorTouchIDNotEnrolled' has been explicitly marked deprecated here LAErrorTouchIDNotEnrolled NS_ENUM_DEPRECATED(10_10, 10_13, 8_0, 11_0, "use LAErrorBiometryNotEnrolled") = kLAErrorTouchIDNotEnrolled, ^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:209:10: warning: 'LAErrorTouchIDLockout' is deprecated: first deprecated in iOS 11.0 - use LAErrorBiometryLockout [-Wdeprecated-declarations] case LAErrorTouchIDLockout: ^ In module 'LocalAuthentication' imported from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth- 1.1.8/ios/Classes/FLTLocalAuthPlugin.m:4: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/LocalAuthentication.f ramework/Headers/LAError.h:41:5: note: 'LAErrorTouchIDLockout' has been explicitly marked deprecated here LAErrorTouchIDLockout NS_ENUM_DEPRECATED(10_11, 10_13, 9_0, 11_0, "use LAErrorBiometryLockout") ^ 7 warnings generated. 1 warning generated. In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXMediaMessage+messageConstruct.m:9: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXMediaMessage+messageConstruct.h:8: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:401:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:406:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:424:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:1119:9: warning: empty paragraph passed to '@note' command [-Wdocumentation] * @note ~~~~~^ 4 warnings generated. 8 warnings generated. In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/SendMessageToWXReq+requestWithTextOrMediaMessage.m:9: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/SendMessageToWXReq+requestWithTextOrMediaMessage.h:9: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:401:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:406:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:424:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:1119:9: warning: empty paragraph passed to '@note' command [-Wdocumentation] * @note ~~~~~^ 4 warnings generated. 7 warnings generated. In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxResponseHandler.m:7: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:401:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:406:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:424:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:1119:9: warning: empty paragraph passed to '@note' command [-Wdocumentation] * @note ~~~~~^ In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxResponseHandler.m:8: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxResponseHandler.h:10: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:56: warning: empty paragraph passed to '@param' command [-Wdocumentation] * @param resp具体的回应内容,是自动释放的 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:11: warning: parameter 'resp具体的回应内容,是自动释放的' not found in the function declaration [-Wdocumentation] * @param resp具体的回应内容,是自动释放的 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:11: note: did you mean 'resp'? * @param resp具体的回应内容,是自动释放的 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resp /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:199:11: warning: empty paragraph passed to '@param' command [-Wdocumentation] * @param ~~~~~~^ 7 warnings generated. In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxPlugin.m:2: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxResponseHandler.h:10: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:10: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:401:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:406:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:424:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:1119:9: warning: empty paragraph passed to '@note' command [-Wdocumentation] * @note ~~~~~^ In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxPlugin.m:2: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxResponseHandler.h:10: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:56: warning: empty paragraph passed to '@param' command [-Wdocumentation] * @param resp具体的回应内容,是自动释放的 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:11: warning: parameter 'resp具体的回应内容,是自动释放的' not found in the function declaration [-Wdocumentation] * @param resp具体的回应内容,是自动释放的 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:11: note: did you mean 'resp'? * @param resp具体的回应内容,是自动释放的 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resp /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:199:11: warning: empty paragraph passed to '@param' command [-Wdocumentation] * @param ~~~~~~^ 7 warnings generated. In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxAuthHandler.m:6: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxAuthHandler.h:8: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiRequestHandler.h:7: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:401:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:406:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:424:14: warning: empty paragraph passed to '@attention' command [-Wdocumentation] * @attention ~~~~~~~~~~^ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiObject.h:1119:9: warning: empty paragraph passed to '@note' command [-Wdocumentation] * @note ~~~~~^ In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxAuthHandler.m:6: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxAuthHandler.h:8: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApiRequestHandler.h:8: In file included from /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/FluwxResponseHandler.h:10: /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:56: warning: empty paragraph passed to '@param' command [-Wdocumentation] * @param resp具体的回应内容,是自动释放的 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:11: warning: parameter 'resp具体的回应内容,是自动释放的' not found in the function declaration [-Wdocumentation] * @param resp具体的回应内容,是自动释放的 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:37:11: note: did you mean 'resp'? * @param resp具体的回应内容,是自动释放的 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resp /Users/mingsern/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluwx_no_pa y-3.6.1+3/ios/Classes/WXApi.h:199:11: warning: empty paragraph passed to '@param' command [-Wdocumentation] * @param ~~~~~~^ 7 warnings generated. Command CompileSwiftSources failed with a nonzero exit code /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/OneSignalNotificationServiceEx tension/NotificationService.m:20:16: warning: 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' is deprecated: Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentH andler: instead. [-Wdeprecated-declarations] [OneSignal didReceiveNotificationExtensionRequest:self.receivedRequest withMutableNotificationContent:self.bestAttemptContent]; ^ In module 'OneSignal' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/OneSignalNotificationServiceEx tension/NotificationService.m:1: /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/build/ios/Debug-qa-iphonesimulator /XCFrameworkIntermediates/OneSignalXCFramework/OneSignal.framework/Headers/OneSign al.h:506:205: note: 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' has been explicitly marked deprecated here + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificat ionRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentH andler: instead."); ^ In module 'OneSignal' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/OneSignalNotificationServiceEx tension/NotificationService.m:1: In module 'Foundation' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/build/ios/Debug-qa-iphonesimulator /XCFrameworkIntermediates/OneSignalXCFramework/OneSignal.framework/Headers/OneSign al.h:44: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:6: In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreFoundation.framew ork/Headers/CoreFoundation.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 1 warning generated. /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/OneSignalNotificationServiceEx tension/NotificationService.m:20:16: warning: 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' is deprecated: Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentH andler: instead. [-Wdeprecated-declarations] [OneSignal didReceiveNotificationExtensionRequest:self.receivedRequest withMutableNotificationContent:self.bestAttemptContent]; ^ In module 'OneSignal' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/OneSignalNotificationServiceEx tension/NotificationService.m:1: /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/build/ios/Debug-qa-iphonesimulator /XCFrameworkIntermediates/OneSignalXCFramework/OneSignal.framework/Headers/OneSign al.h:506:205: note: 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' has been explicitly marked deprecated here + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificat ionRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentH andler: instead."); ^ In module 'OneSignal' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/ios/OneSignalNotificationServiceEx tension/NotificationService.m:1: In module 'Foundation' imported from /Users/mingsern/Desktop/ksk/8-conlay-mobile-app/build/ios/Debug-qa-iphonesimulator /XCFrameworkIntermediates/OneSignalXCFramework/OneSignal.framework/Headers/OneSign al.h:44: In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/Foundation.framework/ Headers/Foundation.h:6: In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/System/Library/Frameworks/CoreFoundation.framew ork/Headers/CoreFoundation.h:16: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Deve loper/SDKs/iPhoneSimulator15.0.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 1 warning generated. ld: framework not found Pods_OneSignalNotificationServiceExtension clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build system note: Planning note: Build preparation complete note: Building targets in parallel Could not build the application for the simulator. Error launching application on iPhone 13 Pro. ```My podfile
```ruby # Uncomment this line to define a global platform for your project platform :ios, '12.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' project 'Runner', { 'Debug' => :debug, 'Profile' => :release, 'Release' => :release, } def flutter_root generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) unless File.exist?(generated_xcode_build_settings_path) raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" end File.foreach(generated_xcode_build_settings_path) do |line| matches = line.match(/FLUTTER_ROOT\=(.*)/) return matches[1].strip if matches end raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" end require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) flutter_ios_podfile_setup target 'Runner' do pod 'Firebase/Analytics' use_frameworks! use_modular_headers! flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) end target 'OneSignalNotificationServiceExtension' do use_frameworks! pod 'OneSignalXCFramework', '>= 3.4.3', '< 4.0' end post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) target.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64 i386" config.build_settings["ONLY_ACTIVE_ARCH"] = "YES" config.build_settings['ENABLE_BITCODE'] = 'YES' config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET' # You can enable the permissions needed here. For example to enable camera # permission, just remove the `#` character in front so it looks like this: # # ## dart: PermissionGroup.camera # 'PERMISSION_CAMERA=1' # # Preprocessor definitions can be found in: https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler/ios/Classes/PermissionHandlerEnums.h config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ '$(inherited)', ## dart: PermissionGroup.calendar # 'PERMISSION_EVENTS=1', ## dart: PermissionGroup.reminders # 'PERMISSION_REMINDERS=1', ## dart: PermissionGroup.contacts # 'PERMISSION_CONTACTS=1', ## dart: PermissionGroup.camera 'PERMISSION_CAMERA=1', ## dart: PermissionGroup.microphone # 'PERMISSION_MICROPHONE=1', ## dart: PermissionGroup.speech # 'PERMISSION_SPEECH_RECOGNIZER=1', ## dart: PermissionGroup.photos 'PERMISSION_PHOTOS=1', ## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse] # 'PERMISSION_LOCATION=1', ## dart: PermissionGroup.notification 'PERMISSION_NOTIFICATIONS=1', ## dart: PermissionGroup.mediaLibrary # 'PERMISSION_MEDIA_LIBRARY=1', ## dart: PermissionGroup.sensors # 'PERMISSION_SENSORS=1', ## dart: PermissionGroup.bluetooth # 'PERMISSION_BLUETOOTH=1', ## dart: PermissionGroup.appTrackingTransparency 'PERMISSION_APP_TRACKING_TRANSPARENCY=1', ## dart: PermissionGroup.criticalAlerts # 'PERMISSION_CRITICAL_ALERTS=1' ] end end end ```And may I know when is the next version release for OneSignal SDK?