Open littleGnAl opened 1 year ago
I have added this to my Podfile but nothing happened.
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
targets_to_weaklink = ['Pods-Runner', 'agora_rtc_engine']
frameworks_to_weaklink = ['AgoraAiEchoCancellationExtension', 'AgoraAiNoiseSuppressionExtension', 'AgoraAudioBeautyExtension', 'AgoraClearVisionExtension', 'AgoraContentInspectExtension', 'AgoraDrmLoaderExtension', 'AgoraReplayKitExtension', 'AgoraSpatialAudioExtension', 'AgoraSuperResolutionExtension', 'AgoraVideoQualityAnalyzerExtension', 'AgoraVideoSegmentationExtension']
next unless targets_to_weaklink.include?(target.name)
target.build_configurations.each do |config|
base_config_reference = config.base_configuration_reference
next if base_config_reference.nil?
xcconfig_path = base_config_reference.real_path
xcconfig = File.read(xcconfig_path)
frameworks_to_weaklink.each do |framework|
xcconfig = xcconfig.gsub(/-framework "#{framework}"/, "-weak_framework \"#{framework}\"")
end
File.open(xcconfig_path, 'w') { |file| file << xcconfig }
end
end
end
After adding the above code to the Podfile build size analysis flutter build ios --analyze-size
Runner.app 189 MB
Runner.app/
_CodeSignature/
CodeResources 81 KB
AppIcon60x60@2x.png 43 KB
Runner 2 MB
Base.lproj/
Main.storyboardc 3 KB
LaunchScreen.storyboardc 3 KB
Assets.car 2 MB
AppIcon76x76@2x~ipad.png 66 KB
Frameworks/
iris_method_channel.framework 100 KB
Toast.framework 119 KB
image_gallery_saver.framework 185 KB
libswiftPhotos.dylib 329 KB
Reachability.framework 169 KB
libswiftCoreImage.dylib 327 KB
AgoraContentInspectExtension.framework 1 MB
video_enc.framework 5 MB
GoogleDataTransport.framework 408 KB
libswiftObjectiveC.dylib 391 KB
AgoraAudioBeautyExtension.framework 1 MB
AgoraSpatialAudioExtension.framework 4 MB
agora_rtm.framework 358 KB
image_picker_ios.framework 215 KB
AgoraAiNoiseSuppressionExtension.framework 3 MB
libswiftCore.dylib 22 MB
libswiftCoreGraphics.dylib 838 KB
FBLPromises.framework 189 KB
AgoraReplayKitExtension.framework 252 KB
AgoraDrmLoaderExtension.framework 3 MB
AgoraClearVisionExtension.framework 1 MB
libswiftUIKit.dylib 640 KB
libswiftMetal.dylib 386 KB
libswiftCoreData.dylib 458 KB
AgoraSoundTouch.framework 86 KB
FirebaseCoreInternal.framework 412 KB
libswiftDispatch.dylib 1 MB
FirebaseCore.framework 195 KB
libswiftos.dylib 388 KB
GoogleUtilities.framework 313 KB
libswiftCoreFoundation.dylib 327 KB
Flutter.framework 10 MB
video_dec.framework 3 MB
FirebaseMessaging.framework 553 KB
AgoraRtcWrapper.framework 3 MB
App.framework 21 MB
Dart AOT symbols accounted decompressed size 8 MB
package:flutter 3 MB
package:gameshow 406 KB
dart:core 322 KB
dart:ui 311 KB
dart:typed_data 215 KB
package:vector_graphics_compiler 183 KB
dart:io 170 KB
dart:collection 161 KB
package:persistent_bottom_nav_bar/
persistent_tab_view.dart 138 KB
dart:async 131 KB
package:flutter_spinkit 101 KB
package:intl 92 KB
dart:ffi 85 KB
package:agora_rtc_engine 83 KB
package:petitparser 82 KB
dart:convert 67 KB
package:vector_math 61 KB
package:xml 53 KB
package:source_span 48 KB
package:collection/
src 46 KB
libswiftDarwin.dylib 488 KB
in_app_purchase_storekit.framework 161 KB
AgoraRtmKit.framework 45 MB
AgoraVideoSegmentationExtension.framework 4 MB
nanopb.framework 81 KB
url_launcher_ios.framework 94 KB
agora_rtc_engine.framework 120 KB
libswiftQuartzCore.dylib 330 KB
Agorafdkaac.framework 510 KB
path_provider_foundation.framework 121 KB
libswiftCoreAudio.dylib 399 KB
AgoraCore.framework 2 MB
FirebaseInstallations.framework 289 KB
libswiftAVFoundation.dylib 650 KB
AgoraVideoQualityAnalyzerExtension.framework 902 KB
AgoraVideoEncoderExtension.framework 1 MB
Agoraffmpeg.framework 6 MB
libswiftNetwork.dylib 2 MB
shared_preferences_foundation.framework 135 KB
AgoraRtcKit.framework 16 MB
fluttertoast.framework 83 KB
libswiftFoundation.dylib 11 MB
libswiftCoreMedia.dylib 391 KB
libswiftCoreLocation.dylib 392 KB
connectivity_plus.framework 160 KB
AgoraFaceDetectionExtension.framework 895 KB
AgoraAiEchoCancellationExtension.framework 4 MB
flutter_local_notifications.framework 147 KB
AgoraVideoDecoderExtension.framework 688 KB
libswiftsimd.dylib 1 MB
embedded.mobileprovision 15 KB
Info.plist 2 KB
When i perform step 2 (Remove unnecessary frameworks through xcode build phase) I get this error
@MuhammadIbrahim001 Can you share the error log?
Launching lib/main.dart on iPhone 14 Pro Max in debug mode... Xcode build done. 40.4s Failed to build iOS app Error output from Xcode build: ↳ 2023-08-17 13:17:04.663 xcodebuild[33457:165998] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled) --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS Simulator, id:33D9B74F-0F80-4BBC-BB59-3B6AFCDBDD0C, OS:16.4, name:iPhone 14 Pro Max } { platform:iOS Simulator, id:33D9B74F-0F80-4BBC-BB59-3B6AFCDBDD0C, OS:16.4, name:iPhone 14 Pro Max } BUILD FAILED
Xcode's output: ↳ Writing result bundle at path: /var/folders/s5/n1rp2mks1sl92btvj7kj7j9h0000gn/T/flutter_tools.9gH7b3/flutter_ios_build_temp_dirKdWqLu/temporary_xcresult_bundle
/* com.apple.ibtool.document.warnings */
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/NativeTemplates/GoogleAdsMobileIosNativeTemplates/GADTFullScreenTemplateView.xib:3p6-ul-eji: warning: Automatically Adjusts Font requires using a Dynamic Type text style [9]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/NativeTemplates/GoogleAdsMobileIosNativeTemplates/GADTFullScreenTemplateView.xib:Zvt-Hz-Es8: warning: Automatically Adjusts Font requires using a Dynamic Type text style [9]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/ios/Classes/FlutterLocalNotificationsPlugin.m:6:17: warning: method definition for 'setRegisterPlugins:' not found [-Wincomplete-implementation]
@implementation FlutterLocalNotificationsPlugin {
^
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/ios/Classes/FlutterLocalNotificationsPlugin.m:1:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/ios/Classes/FlutterLocalNotificationsPlugin.h:5:1: note: method 'setRegisterPlugins:' declared here
+ (void)setRegisterPlugins:(FlutterPluginRegistrantCallback *)callback;
^
1 warning generated.
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/ios/Classes/FlutterLocalNotificationsPlugin.m:6:17: warning: method definition for 'setRegisterPlugins:' not found [-Wincomplete-implementation]
@implementation FlutterLocalNotificationsPlugin {
^
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/ios/Classes/FlutterLocalNotificationsPlugin.m:1:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/ios/Classes/FlutterLocalNotificationsPlugin.h:5:1: note: method 'setRegisterPlugins:' declared here
+ (void)setRegisterPlugins:(FlutterPluginRegistrantCallback *)callback;
^
1 warning generated.
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:60:24: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": 0, "result": localInvitation.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:20: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:47: warning: expression implicitly coerced from 'String?' to 'Any'
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:59: note: provide a default value to avoid this warning
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
~~~~~~~~~~~~^~~~~~~~~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:59: note: force-unwrap the value to avoid this warning
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
~~~~~~~~~~~~^~~~~~~~~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:59: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
~~~~~~~~~~~~^~~~~~~~~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:65: warning: expression implicitly coerced from '[String : Int]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:165:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:170:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:69: note: provide a default value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:69: note: provide a default value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: warning: expression implicitly coerced from '[AgoraRtmChannelMemberCount]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0])
^~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0])
^~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0])
^~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0])
^~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:60:24: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": 0, "result": localInvitation.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:20: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:47: warning: expression implicitly coerced from 'String?' to 'Any'
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:59: note: provide a default value to avoid this warning
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
~~~~~~~~~~~~^~~~~~~~~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:59: note: force-unwrap the value to avoid this warning
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
~~~~~~~~~~~~^~~~~~~~~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:106:59: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": 0, "result": AgoraRtmKit.getSDKVersion()])
~~~~~~~~~~~~^~~~~~~~~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:65: warning: expression implicitly coerced from '[String : Int]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:148:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.reduce(into: [String: Int]()) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:165:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:170:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:69: note: provide a default value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:194:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:69: note: provide a default value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:200:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $2.rawValue, "result": $0?.toJson(), "userId": $1])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:232:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:238:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: warning: expression implicitly coerced from '[AgoraRtmChannelMemberCount]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0])
^~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0])
^~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0])
^~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:243:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0])
^~
as Any
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:28: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:65: warning: expression implicitly coerced from '[[String : Any?]]?' to 'Any'
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
^~~~~~~~~~~~
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:69: note: provide a default value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
?? <#default value#>
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:69: note: force-unwrap the value to avoid this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
!
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/agora_rtm-1.5.6/ios/Classes/SwiftAgoraRtmPlugin.swift:287:69: note: explicitly cast to 'Any' with 'as Any' to silence this warning
result(["errorCode": $1.rawValue, "result": $0?.toJson()])
~~~~^~~~~~~~
as Any
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/FLTUserMessagingPlatformReaderWriter.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/FLTUserMessagingPlatformManager.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/NativeTemplates/FLTNativeTemplateTextStyle.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/NativeTemplates/FLTNativeTemplateStyle.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTGoogleMobileAdsReaderWriter_Internal.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAd_Internal.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAd_Internal.m:237:40: warning: 'adNetworkClassName' is deprecated: Deprecated. Use loadedAdNetworkResponseInfo.adNetworkClassName instead. [-Wdeprecated-declarations]
_adNetworkClassName = responseInfo.adNetworkClassName;
^
In module 'GoogleMobileAds' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTGoogleMobileAdsPlugin.h:17:
/Users/muhammadibrahim/Desktop/development/game_show_ios/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/Google-Mobile-Ads-SDK/GoogleMobileAds.framework/Headers/GADResponseInfo.h:80:71: note: 'adNetworkClassName' has been explicitly marked deprecated here
@property(nonatomic, readonly, nullable) NSString *adNetworkClassName GAD_DEPRECATED_MSG_ATTRIBUTE(
^
In module 'GoogleMobileAds' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTGoogleMobileAdsPlugin.h:17:
/Users/muhammadibrahim/Desktop/development/game_show_ios/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/Google-Mobile-Ads-SDK/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:10:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
3 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.m:15:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/FLTUserMessagingPlatformReaderWriter.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/FLTUserMessagingPlatformManager.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/UserMessagingPlatform/../FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/NativeTemplates/FLTNativeTemplateTextStyle.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/NativeTemplates/FLTNativeTemplateStyle.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTGoogleMobileAdsReaderWriter_Internal.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
2 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAd_Internal.m:16:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAd_Internal.m:237:40: warning: 'adNetworkClassName' is deprecated: Deprecated. Use loadedAdNetworkResponseInfo.adNetworkClassName instead. [-Wdeprecated-declarations]
_adNetworkClassName = responseInfo.adNetworkClassName;
^
In module 'GoogleMobileAds' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTGoogleMobileAdsPlugin.h:17:
/Users/muhammadibrahim/Desktop/development/game_show_ios/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/Google-Mobile-Ads-SDK/GoogleMobileAds.framework/Headers/GADResponseInfo.h:80:71: note: 'adNetworkClassName' has been explicitly marked deprecated here
@property(nonatomic, readonly, nullable) NSString *adNetworkClassName GAD_DEPRECATED_MSG_ATTRIBUTE(
^
In module 'GoogleMobileAds' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTGoogleMobileAdsPlugin.h:17:
/Users/muhammadibrahim/Desktop/development/game_show_ios/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/Google-Mobile-Ads-SDK/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:10:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
3 warnings generated.
In file included from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.m:15:
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
+ (BOOL)isNull:(id)object;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nullable' if the pointer may be null
+ (BOOL)isNull:(id)object;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:21:17: note: insert '_Nonnull' if the pointer should never be null
+ (BOOL)isNull:(id)object;
^
_Nonnull
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
@property(readonly, class) NSString *requestAgent;
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nullable' if the pointer may be null
@property(readonly, class) NSString *requestAgent;
^
_Nullable
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/google_mobile_ads-3.0.0/ios/Classes/FLTAdUtil.h:29:37: note: insert '_Nonnull' if the pointer should never be null
@property(readonly, class) NSString *requestAgent;
^
_Nonnull
2 warnings generated.
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/messages.g.m:199:59: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
NSObject<FlutterMessageCodec> *FirebaseCoreHostApiGetCodec() {
^
void
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/messages.g.m:279:58: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
NSObject<FlutterMessageCodec> *FirebaseAppHostApiGetCodec() {
^
void
2 warnings generated.
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:64:42: warning: 'trackingID' is deprecated [-Wdeprecated-declarations]
pigeonOptions.trackingId = (id)options.trackingID ?: [NSNull null];
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:55:59: note: 'trackingID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:66:47: warning: 'androidClientID' is deprecated [-Wdeprecated-declarations]
pigeonOptions.androidClientId = (id)options.androidClientID ?: [NSNull null];
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:71:64: note: 'androidClientID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:142:13: warning: 'trackingID' is deprecated [-Wdeprecated-declarations]
options.trackingID = initializeAppRequest.trackingId;
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:55:59: note: 'trackingID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:152:13: warning: 'androidClientID' is deprecated [-Wdeprecated-declarations]
options.androidClientID = initializeAppRequest.androidClientId;
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:71:64: note: 'androidClientID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
4 warnings generated.
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/messages.g.m:199:59: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
NSObject<FlutterMessageCodec> *FirebaseCoreHostApiGetCodec() {
^
void
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/messages.g.m:279:58: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
NSObject<FlutterMessageCodec> *FirebaseAppHostApiGetCodec() {
^
void
2 warnings generated.
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:64:42: warning: 'trackingID' is deprecated [-Wdeprecated-declarations]
pigeonOptions.trackingId = (id)options.trackingID ?: [NSNull null];
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:55:59: note: 'trackingID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:66:47: warning: 'androidClientID' is deprecated [-Wdeprecated-declarations]
pigeonOptions.androidClientId = (id)options.androidClientID ?: [NSNull null];
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:71:64: note: 'androidClientID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:142:13: warning: 'trackingID' is deprecated [-Wdeprecated-declarations]
options.trackingID = initializeAppRequest.trackingId;
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:55:59: note: 'trackingID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *trackingID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.m:152:13: warning: 'androidClientID' is deprecated [-Wdeprecated-declarations]
options.androidClientID = initializeAppRequest.androidClientId;
^
In module 'FirebaseCore' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebasePlugin.h:10:
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/FirebaseCore/FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h:71:64: note: 'androidClientID' has been explicitly marked deprecated here
@property(nonatomic, copy, nullable) NSString *androidClientID DEPRECATED_ATTRIBUTE;
^
In module 'Darwin' imported from /Users/muhammadibrahim/.pub-cache/hosted/pub.dev/firebase_core-2.15.1/ios/Classes/FLTFirebaseCorePlugin.h:4:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/usr/include/AvailabilityMacros.h:186:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
#define DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
4 warnings generated.
/* com.apple.actool.document.warnings */
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][Icon-App-50x50@1x.png]: warning: The app icon set "AppIcon" has 6 unassigned children.
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][Icon-App-50x50@1x.png]: warning: The app icon set "AppIcon" has 6 unassigned children.
/* com.apple.actool.document.notices */
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
/* com.apple.actool.compilation-results */
/Users/muhammadibrahim/Desktop/development/game_show_ios/build/ios/Debug-iphonesimulator/Runner.app/AppIcon60x60@2x.png
/Users/muhammadibrahim/Desktop/development/game_show_ios/build/ios/Debug-iphonesimulator/Runner.app/AppIcon76x76@2x~ipad.png
/Users/muhammadibrahim/Desktop/development/game_show_ios/build/ios/Debug-iphonesimulator/Runner.app/Assets.car
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/assetcatalog_generated_info.plist
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Runner/AppDelegate.swift:14:58: warning: conditional cast from 'AppDelegate' to 'any UNUserNotificationCenterDelegate' always succeeds
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
^
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 3: .puts: command not found
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 5: AgoraAiNoiseSuppressionExtension,: command not found
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 7: syntax error near unexpected token `framework_path'
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 7: ` framework_path = "#{ENV['BUILT_PRODUCTS_DIR']}/#{ENV['FRAMEWORKS_FOLDER_PATH']}/#{framework}.framework"'
Command PhaseScriptExecution failed with a nonzero exit code
note: Building targets in dependency order
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/FirebaseCore/FirebaseCore.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/FirebaseCoreInternal/FirebaseCoreInternal.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/PromisesObjC/FBLPromises.framework'
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromisesObjC' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'GoogleUtilities' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'FirebaseCoreInternal' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'FirebaseCore' from project 'Pods')
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/FirebaseCoreExtension/FirebaseCoreExtension.framework'
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'FirebaseCoreExtension' from project 'Pods')
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/FirebaseCrashlytics/FirebaseCrashlytics.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/FirebaseInstallations/FirebaseInstallations.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/nanopb/nanopb.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/GoogleDataTransport/GoogleDataTransport.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/FirebaseSessions/FirebaseSessions.framework'
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'FirebaseInstallations' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'nanopb' from project 'Pods')
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/PromisesSwift/Promises.framework'
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'PromisesSwift' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'GoogleDataTransport' from project 'Pods')
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/FirebaseMessaging/FirebaseMessaging.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Pods_Runner.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/AIAEC/AgoraAiEchoCancellationExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport/GoogleAppMeasurementIdentitySupport.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/AINS/AgoraAiNoiseSuppressionExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/AudioBeauty/AgoraAudioBeautyExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleUserMessagingPlatform/UserMessagingPlatform.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport/GoogleAppMeasurement.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/ClearVision/AgoraClearVisionExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/ContentInspect/AgoraContentInspectExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtm_iOS/AgoraRtmKit.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/DRM/AgoraDrmLoaderExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/FaceDetection/AgoraFaceDetectionExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraIrisRTC_iOS/AgoraRtcWrapper.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/ReplayKit/AgoraReplayKitExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/RtcBasic/AgoraCore.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/RtcBasic/AgoraRtcKit.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/RtcBasic/AgoraSoundTouch.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/RtcBasic/Agorafdkaac.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/RtcBasic/Agoraffmpeg.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/SpatialAudio/AgoraSpatialAudioExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/VQA/AgoraVideoQualityAnalyzerExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/VideoCodecDec/AgoraVideoDecoderExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/VideoCodecDec/video_dec.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/VideoCodecEnc/AgoraVideoEncoderExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/VideoCodecEnc/video_enc.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/AgoraRtcEngine_iOS/VirtualBackground/AgoraVideoSegmentationExtension.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/url_launcher_ios/url_launcher_ios.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/in_app_purchase_storekit/in_app_purchase_storekit.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/shared_preferences_foundation/shared_preferences_foundation.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/iris_method_channel/iris_method_channel.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/image_picker_ios/image_picker_ios.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/image_gallery_saver/image_gallery_saver.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/webview_flutter_wkwebview/webview_flutter_wkwebview.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/path_provider_foundation/path_provider_foundation.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/fluttertoast/fluttertoast.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/firebase_messaging/firebase_messaging.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/firebase_crashlytics/firebase_crashlytics.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/firebase_core/firebase_core.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/flutter_local_notifications/flutter_local_notifications.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/google_mobile_ads/google_mobile_ads.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/firebase_analytics/firebase_analytics.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/agora_rtc_engine/agora_rtc_engine.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/connectivity_plus/connectivity_plus.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Toast/Toast.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/google_mobile_ads/google_mobile_ads.bundle'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/ReachabilitySwift/Reachability.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/agora_rtm/agora_rtm.framework'
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'GoogleAppMeasurement' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'AgoraRtcEngine_iOS' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'AgoraIrisRTC_iOS' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'AgoraRtm_iOS' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'google_mobile_ads-google_mobile_ads' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Toast' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'ReachabilitySwift' from project 'Pods')
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport/FirebaseAnalytics.framework'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Google-Mobile-Ads-SDK/GoogleMobileAds.framework'
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Google-Mobile-Ads-SDK' from project 'Pods')
/Users/muhammadibrahim/Desktop/development/game_show_ios/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'FirebaseAnalytics' from project 'Pods')
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Runner.app'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Runner.app.dSYM/Contents/Resources/DWARF/Runner'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Runner.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Runner.swiftmodule/arm64-apple-ios-simulator.abi.json'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Runner.swiftmodule/arm64-apple-ios-simulator.swiftdoc'
note: Removed stale file '/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Products/Debug-iphonesimulator/Runner.swiftmodule/arm64-apple-ios-simulator.swiftmodule'
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Remove Unnecssary Frameworks' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
Result bundle written to path:
/var/folders/s5/n1rp2mks1sl92btvj7kj7j9h0000gn/T/flutter_tools.9gH7b3/flutter_ios_build_temp_dirKdWqLu/temporary_xcresult_bundle
Could not build the application for the simulator. Error launching application on iPhone 14 Pro Max.
Exited (1).
@MuhammadIbrahim001
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 3: .puts: command not found
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 5: AgoraAiNoiseSuppressionExtension,: command not found
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 7: syntax error near unexpected token `framework_path'
/Users/muhammadibrahim/Library/Developer/Xcode/DerivedData/Runner-hfgnjvaovxgjunasfajqxqmerwcm/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-5DAF0FFD2A8E0E1E000359CF.sh: line 7: ` framework_path = "#{ENV['BUILT_PRODUCTS_DIR']}/#{ENV['FRAMEWORKS_FOLDER_PATH']}/#{framework}.framework"'
Command PhaseScriptExecution failed with a nonzero exit code
Please check the NOTE in step 2:
NOTE:Shell needs to specify as /usr/bin/ruby
Thank you @littleGnAl. Its working now.
This doesn't seem to be working for me. Pertinent code in the Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
targets_to_weaklink=['Pods-Runner', "agora_rtc_engine"]
frameworks_to_weaklink=["AgoraAiEchoCancellationExtension", "AgoraAiNoiseSuppressionExtension", "AgoraAudioBeautyExtension", "AgoraClearVisionExtension", "AgoraContentInspectExtension", "AgoraDrmLoaderExtension", "AgoraReplayKitExtension", "AgoraSpatialAudioExtension ", "AgoraSuperResolutionExtension", "AgoraVideoQualityAnalyzerExtension", "AgoraVideoSegmentationExtension"]
next unless targets_to_weaklink.include?(target.name)
target.build_configurations.each do |config|
base_config_reference = config.base_configuration_reference
unless base_config_reference. nil?
xcconfig_path = base_config_reference.real_path
xcconfig = File.read(xcconfig_path)
frameworks_to_weaklink.each do |framework|
xcconfig = xcconfig.gsub(/-framework "#{framework}"/, "-weak_framework \"#{framework}\"")
end
File.open(xcconfig_path, "w") { |file| file << xcconfig }
end
end
end
end
Config in Xcode:
Output of flutter build ios --dart-define-from-file=env.json --analyze-size
Runner.app 119 MB
Runner.app/
_CodeSignature/
CodeResources 107 KB
AppIcon60x60@2x.png 3 KB
Base.lproj/
Main.storyboardc 3 KB
LaunchScreen.storyboardc 3 KB
Assets.car 149 KB
AppIcon76x76@2x~ipad.png 4 KB
Runner 544 KB
Frameworks/
wakelock_plus.framework 92 KB
iris_method_channel.framework 114 KB
Toast.framework 119 KB
Ably.framework 2 MB
AgoraContentInspectExtension.framework 1 MB
video_enc.framework 5 MB
flutter_keyboard_visibility.framework 97 KB
AgoraAudioBeautyExtension.framework 1 MB
AgoraSpatialAudioExtension.framework 4 MB
video_thumbnail.framework 99 KB
CocoaMQTT.framework 1 MB
image_picker_ios.framework 215 KB
GTMSessionFetcher.framework 443 KB
AgoraAiNoiseSuppressionExtension.framework 3 MB
pushy_flutter.framework 181 KB
FBLPromises.framework 192 KB
AgoraReplayKitExtension.framework 252 KB
AgoraDrmLoaderExtension.framework 3 MB
AgoraClearVisionExtension.framework 1 MB
libswift_Concurrency.dylib 545 KB
just_audio.framework 198 KB
Pushy.framework 638 KB
AgoraSoundTouch.framework 86 KB
OrderedSet.framework 143 KB
FirebaseCoreInternal.framework 406 KB
video_player_avfoundation.framework 171 KB
FirebaseCore.framework 195 KB
flutter_barcode_scanner.framework 248 KB
SDWebImageWebPCoder.framework 120 KB
GoogleUtilities.framework 303 KB
msgpack.framework 91 KB
FirebaseAuth.framework 1 MB
AblyDeltaCodec.framework 118 KB
Flutter.framework 10 MB
video_dec.framework 3 MB
Mantle.framework 192 KB
AgoraRtcWrapper.framework 3 MB
record.framework 157 KB
sqflite.framework 160 KB
FirebaseAppCheckInterop.framework 72 KB
audio_waveforms.framework 282 KB
MqttCocoaAsyncSocket.framework 394 KB
video_compress.framework 170 KB
DKImagePickerController.framework 1 MB
ably_flutter.framework 537 KB
SwiftyGif.framework 228 KB
App.framework 29 MB
Dart AOT symbols accounted decompressed size 23 MB
package:google_fonts 7 MB
package:flutter 4 MB
package:mygameplan 2 MB
package:image 549 KB
package:flutter_quill 525 KB
dart:core 389 KB
package:timezone 388 KB
dart:ui 332 KB
package:html 267 KB
dart:typed_data 264 KB
dart:io 259 KB
dart:collection 190 KB
dart:async 186 KB
package:openfoodfacts 167 KB
package:dbus 138 KB
package:flutter_svg 132 KB
package:webview_flutter_android 131 KB
package:webview_flutter_wkwebview 128 KB
package:fl_chart 128 KB
package:ably_flutter 102 KB
in_app_purchase_storekit.framework 161 KB
AgoraVideoSegmentationExtension.framework 3 MB
url_launcher_ios.framework 94 KB
agora_rtc_engine.framework 144 KB
Agorafdkaac.framework 510 KB
device_info_plus.framework 78 KB
path_provider_foundation.framework 100 KB
FMDB.framework 178 KB
pasteboard.framework 107 KB
DKPhotoGallery.framework 1 MB
AgoraCore.framework 2 MB
AgoraVideoQualityAnalyzerExtension.framework 902 KB
flutter_image_compress_common.framework 407 KB
AgoraVideoEncoderExtension.framework 802 KB
Agoraffmpeg.framework 6 MB
package_info_plus.framework 78 KB
shared_preferences_foundation.framework 130 KB
audio_session.framework 134 KB
SDWebImage.framework 934 KB
AgoraRtcKit.framework 17 MB
flutter_inappwebview.framework 2 MB
fluttertoast.framework 99 KB
webview_flutter_wkwebview.framework 503 KB
pdf_render.framework 209 KB
file_picker.framework 164 KB
AgoraFaceDetectionExtension.framework 895 KB
AgoraAiEchoCancellationExtension.framework 4 MB
sensors_plus.framework 103 KB
flutter_local_notifications.framework 163 KB
AgoraVideoDecoderExtension.framework 447 KB
libwebp.framework 656 KB
embedded.mobileprovision 12 KB
Info.plist 2 KB
StoreKit.storekit 2 KB
@coryswainston Do you put the script phase of "Removing Unnecessary Frameworks" in the last step?
@littleGnAl That was the issue, another step was added when I ran flutter build. Thanks
You can remove the unnecessary extension libraries of the Agora native sdk to reduce the APP size https://docs.agora.io/en/video-calling/reference/downloads?platform=android#remove-unneeded-plugins https://docs.agora.io/en/video-calling/reference/downloads?platform=ios#remove-unneeded-plugins
Here's how it can do with the
agora_rtc_engine
Android
Use the gradle
packagingOptions.exclude
to exclude unnecessary so files. (wildcards are supported)https://stackoverflow.com/questions/37382057/android-apk-how-to-exclude-a-so-file-from-a-3rd-party-dependency-using-gradle
iOS/macOS
Steps:
1. Mark the unnecessary native sdk framewrok as weak_frameworks through the script
Add the following script to your project
ios/Podfile
to markweak_frameworks
for frameworks that are not needed in 'Pods-Runner', "agora_rtc_engine":The above script lists all frameworks with "Extension" suffixes marked as
weak_framework
inframeworks_to_weaklink
, you can modifyframeworks_to_weaklink
to the frameworks you need to mark as needed.2. Remove unnecessary frameworks through xcode build phase
Through the above screenshot, you can add
Run Script
to remove unnecessary frameworks, and the following script can be copied directly.NOTE:
Shell
needs to specify as/usr/bin/ruby
Note:
frameworks_to_weaklink
should be consistent with step 1Windows
TBD