This question already has answers here:
How to work with iAds using xcode 3.1.3
(2 answers)
Closed 9 years ago.
In iPhone Programmer presently I am working with iAds in xcode 3.1.3 but in my Project this kind of errors are occurred. please tell me it is possible to work in iAds in xcode 3.1.3?
My error is
ADBannerView.h:88: error: expected ')' before 'ADBannerView'
ADBannerView.h:97: error: expected ')' before 'ADBannerView'
ADBannerView.h:102: error: expected ')' before 'ADBannerView'
ADBannerView.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_2'
ADBannerView.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__AVAILABILITY_INTERNAL__IPHONE_4_0_DEP__IPHONE_4_2'
ADBannerView.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__AVAILABILITY_INTERNAL__IPHONE_4_2'
ADBannerView.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__AVAILABILITY_INTERNAL__IPHONE_4_2'
/Users/girishramdas/Desktop/iAds sample/iAdSuite/BasicAdBanner/Classes/TextViewController.h:59: error: expected specifier-qualifier-list before 'ADBannerView'
Make sure you have error handeling for if an ad cannot be displayed. If you dont have this it may cause a crash like this.
something like:
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error
if (self.bannerIsVisible) {
/* set banner not visible here
}
This one has explained the step by step implementation of iAds...
Related
I am running into a problem when trying to build my Flutter app. I am using VS Code and the latest versions of Flutter and Dart. I think I have a problem with dependencies, but not sure. I have the following dependencies in my pubspec.yaml file:
http: ^0.13.4
youtube_player_flutter: ^8.0.0
percent_indicator: ^3.4.0
endless: ^1.6.0
flutter_staggered_grid_view: ^0.6.1
transparent_image:
accordion: ^2.2.3
like_button: ^2.0.4
easy_firebase_auth: ^3.2.0
flutter_inappwebview: ^5.4.3+7
webview_flutter: ^3.0.4
firebase_core: ^1.6.0
cloud_firestore: ^2.5.1
url_launcher: ^6.1.2
geocoding: ^2.0.4
sign_in_with_apple: ^3.3.0
I run into a problem when I do a flutter build. I get the following error messages:
2022-05-17 01:32:19.580 xcodebuild[26038:192413] Requested but did not find extension point with identifier
Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of
plug-in com.apple.dt.IDEWatchSupportCore
2022-05-17 01:32:19.580 xcodebuild[26038:192413] Requested but did not find extension point with identifier
Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/xp/fl30w5315b33hw_npc3wykb40000gn/T/flutter_tools.vcek1g/flutter_ios_build_temp_dirjbPPUe/temporary_
xcresult_bundle
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/geocoding-2.0.4/ios/Classes/Extensions/CL
PlacemarkExtensions.m:22:18: warning: 'addressDictionary' is deprecated: first deprecated in iOS 11.0 - Use
#properties [-Wdeprecated-declarations]
if (self.addressDictionary != nil) {
^
In module 'CoreLocation' imported from
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/geocoding-2.0.4/ios/Classes/Extensions/CL
PlacemarkExtensions.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Libr
ary/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h:73:63: note: 'addressDictionary' has been explicitly
marked deprecated here
#property (nonatomic, readonly, copy, nullable) NSDictionary *addressDictionary API_DEPRECATED("Use #properties",
macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0));
^
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/geocoding-2.0.4/ios/Classes/Extensions/CL
PlacemarkExtensions.m:23:29: warning: 'addressDictionary' is deprecated: first deprecated in iOS 11.0 - Use
#properties [-Wdeprecated-declarations]
street = [[self addressDictionary] objectForKey:(NSString *)kABPersonAddressStreetKey];
^
In module 'CoreLocation' imported from
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/geocoding-2.0.4/ios/Classes/Extensions/CL
PlacemarkExtensions.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Libr
ary/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h:73:63: note: property 'addressDictionary' is declared
deprecated here
#property (nonatomic, readonly, copy, nullable) NSDictionary *addressDictionary API_DEPRECATED("Use #properties",
macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0));
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Libr
ary/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h:73:63: note: 'addressDictionary' has been explicitly
marked deprecated here
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/geocoding-2.0.4/ios/Classes/Extensions/CL
PlacemarkExtensions.m:23:73: warning: 'kABPersonAddressStreetKey' is deprecated: first deprecated in iOS 9.0 - use
CNPostalAddress.street [-Wdeprecated-declarations]
street = [[self addressDictionary] objectForKey:(NSString *)kABPersonAddressStreetKey];
^
In module 'AddressBook' imported from
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/geocoding-2.0.4/ios/Classes/Extensions/CL
PlacemarkExtensions.m:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/System/Libr
ary/Frameworks/AddressBook.framework/Headers/ABPerson.h:113:29: note: 'kABPersonAddressStreetKey' has been
explicitly marked deprecated here
AB_EXTERN const CFStringRef kABPersonAddressStreetKey AB_DEPRECATED("use CNPostalAddress.street");
^
3 warnings generated.
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/
Types/URLCredential.swift:14:25: warning: comparing non-optional value of type '[Any]' to 'nil' always returns
true
if certificates != nil {
~~~~~~~~~~~~ ^ ~~~
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/
InAppBrowser/InAppBrowserWebViewController.swift:561:13: warning: setter for 'statusBarStyle' was deprecated in
iOS 9.0: Use -[UIViewController preferredStatusBarStyle]
UIApplication.shared.statusBarStyle = UIStatusBarStyle(rawValue: previousStatusBarStyle)!
^
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/
Util.swift:86:25: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
'WKDataDetectorTypes.lookupSuggestion'
return .spotlightSuggestion
^
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/
Util.swift:86:25: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
return .spotlightSuggestion
^~~~~~~~~~~~~~~~~~~
WKDataDetectorTypes.lookupSuggestion
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/
Util.swift:121:31: warning: 'spotlightSuggestion' was deprecated in iOS 10.0: renamed to
'WKDataDetectorTypes.lookupSuggestion'
if type.contains(.spotlightSuggestion) {
^
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/
Util.swift:121:31: note: use 'WKDataDetectorTypes.lookupSuggestion' instead
if type.contains(.spotlightSuggestion) {
^~~~~~~~~~~~~~~~~~~
WKDataDetectorTypes.lookupSuggestion
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/
Util.swift:216:21: warning: immutable value 'j' was never used; consider replacing with '_' or removing it
for j in ipv6.count...8 {
^
_
/* com.apple.ibtool.document.warnings */
/Users/gregoryew/flutter_apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Storyboa
rds/WebView.storyboard:global: warning: This file is set to build for a version older than the deployment target.
Functionality may be limited. [9]
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:25:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/add_event.g.dart': No such file or directory
part 'animated_icons/data/add_event.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:26:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/arrow_menu.g.dart': No such file or directory
part 'animated_icons/data/arrow_menu.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:27:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/close_menu.g.dart': No such file or directory
part 'animated_icons/data/close_menu.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:28:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/ellipsis_search.g.dart': No such file or
directory
part 'animated_icons/data/ellipsis_search.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:29:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/event_add.g.dart': No such file or directory
part 'animated_icons/data/event_add.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:30:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/home_menu.g.dart': No such file or directory
part 'animated_icons/data/home_menu.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:31:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/list_view.g.dart': No such file or directory
part 'animated_icons/data/list_view.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:32:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/menu_arrow.g.dart': No such file or directory
part 'animated_icons/data/menu_arrow.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:33:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/menu_close.g.dart': No such file or directory
part 'animated_icons/data/menu_close.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:34:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/menu_home.g.dart': No such file or directory
part 'animated_icons/data/menu_home.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:35:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/pause_play.g.dart': No such file or directory
part 'animated_icons/data/pause_play.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:36:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/play_pause.g.dart': No such file or directory
part 'animated_icons/data/play_pause.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:37:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/search_ellipsis.g.dart': No such file or
directory
part 'animated_icons/data/search_ellipsis.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:38:6: Error: Error when reading
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/view_list.g.dart': No such file or directory
part 'animated_icons/data/view_list.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:25:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/add_event.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/add_event.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:26:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/arrow_menu.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/arrow_menu.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:27:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/close_menu.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/close_menu.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:28:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/ellipsis_search.g.dart' as a part, because it
has no 'part of' declaration.
part 'animated_icons/data/ellipsis_search.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:29:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/event_add.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/event_add.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:30:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/home_menu.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/home_menu.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:31:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/list_view.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/list_view.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:32:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/menu_arrow.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/menu_arrow.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:33:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/menu_close.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/menu_close.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:34:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/menu_home.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/menu_home.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:35:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/pause_play.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/pause_play.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:36:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/play_pause.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/play_pause.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:37:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/search_ellipsis.g.dart' as a part, because it
has no 'part of' declaration.
part 'animated_icons/data/search_ellipsis.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons.dart:38:6: Error: Can't use
'../../flutter/packages/flutter/lib/src/material/animated_icons/data/view_list.g.dart' as a part, because it has
no 'part of' declaration.
part 'animated_icons/data/view_list.g.dart';
^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:19:45: Error: Undefined
name '_$add_event'.
static const AnimatedIconData add_event = _$add_event;
^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:22:46: Error: Undefined
name '_$arrow_menu'.
static const AnimatedIconData arrow_menu = _$arrow_menu;
^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:25:46: Error: Undefined
name '_$close_menu'.
static const AnimatedIconData close_menu = _$close_menu;
^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:28:51: Error: Undefined
name '_$ellipsis_search'.
static const AnimatedIconData ellipsis_search = _$ellipsis_search;
^^^^^^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:31:45: Error: Undefined
name '_$event_add'.
static const AnimatedIconData event_add = _$event_add;
^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:34:45: Error: Undefined
name '_$home_menu'.
static const AnimatedIconData home_menu = _$home_menu;
^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:37:45: Error: Undefined
name '_$list_view'.
static const AnimatedIconData list_view = _$list_view;
^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:40:46: Error: Undefined
name '_$menu_arrow'.
static const AnimatedIconData menu_arrow = _$menu_arrow;
^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:43:46: Error: Undefined
name '_$menu_close'.
static const AnimatedIconData menu_close = _$menu_close;
^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:46:45: Error: Undefined
name '_$menu_home'.
static const AnimatedIconData menu_home = _$menu_home;
^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:49:46: Error: Undefined
name '_$pause_play'.
static const AnimatedIconData pause_play = _$pause_play;
^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:52:46: Error: Undefined
name '_$play_pause'.
static const AnimatedIconData play_pause = _$play_pause;
^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:55:51: Error: Undefined
name '_$search_ellipsis'.
static const AnimatedIconData search_ellipsis = _$search_ellipsis;
^^^^^^^^^^^^^^^^^
../../flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:58:45: Error: Undefined
name '_$view_list'.
static const AnimatedIconData view_list = _$view_list;
^^^^^^^^^^^
lib/main.dart:58:10: Error: A non-null value must be returned since the return type 'Widget' doesn't allow null.
- 'Widget' is from 'package:flutter/src/widgets/framework.dart'
('../../flutter/packages/flutter/lib/src/widgets/framework.dart').
Widget build(BuildContext context) {
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/provider-5.0.0/lib/src/inherited_provider.dart:391:26: Warning:
Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart'
('../../flutter/packages/flutter/lib/src/scheduler/binding.dart').
SchedulerBinding.instance!.addPostFrameCallback((_) {
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/percent_indicator-3.4.0/lib/linear_percent_indicator.dart:156:20:
Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart'
('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance?.addPostFrameCallback((_) {
^
Failed to package /Users/gregoryew/flutter_apps/FelineFinder/feline_finder.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
/Users/gregoryew/flutter_apps/FelineFinder/feline_finder/ios/Pods/Pods.xcodeproj: warning: The iOS deployment
target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
15.5.99. (in target 'leveldb-library' from project 'Pods')
/Users/gregoryew/flutter_apps/FelineFinder/feline_finder/ios/Pods/Pods.xcodeproj: warning: The iOS deployment
target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
15.5.99. (in target 'OrderedSet' from project 'Pods')
/Users/gregoryew/flutter_apps/FelineFinder/feline_finder/ios/Pods/Pods.xcodeproj: warning: The iOS deployment
target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
15.5.99. (in target 'AppAuth' from project 'Pods')
/Users/gregoryew/flutter_apps/FelineFinder/feline_finder/ios/Pods/Pods.xcodeproj: warning: The iOS deployment
target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
15.5.99. (in target 'GoogleSignIn' from project 'Pods')
Result bundle written to path:
/var/folders/xp/fl30w5315b33hw_npc3wykb40000gn/T/flutter_tools.vcek1g/flutter_ios_build_temp_dirjbPPUe/temporary_
xcresult_bundle
Could not build the precompiled application for the device.
Error launching application on iPhone.
I tried deleting *.g.dart and running all the solutions I could find for similar problems but nothing works. It all seemed to occur after I added the following to my info.plist but not sure if this is related or not.
<key>LSApplicationQueriesSchemes</key>
<array>
<string>comgooglemaps</string>
</array>
Also getting the following when I do a flutter run in vs code's output window but not sure if it is related:
Running "flutter pub get" in example...
Null check operator used on a null value
package:pub/src/entrypoint.dart 157:60 Entrypoint.lockFilePath
package:pub/src/entrypoint.dart 100:21 Entrypoint._loadLockFile
package:pub/src/entrypoint.dart 97:42 Entrypoint.lockFile
package:pub/src/entrypoint.dart 286:21 Entrypoint.acquireDependencies.<fn>
package:pub/src/entrypoint.dart 280:68 Entrypoint.acquireDependencies.<fn>
package:pub/src/log.dart 428:18 progress
package:pub/src/entrypoint.dart 280:26 Entrypoint.acquireDependencies
package:pub/src/command/get.dart 52:22 GetCommand.runProtected
package:pub/src/command.dart 183:45 PubCommand.run.<fn>
package:pub/src/command.dart 183:33 PubCommand.run.<fn>
dart:async new Future.sync
package:pub/src/utils.dart 109:12 captureErrors.wrappedCallback
dart:async runZonedGuarded
package:pub/src/utils.dart 126:5 captureErrors
package:pub/src/command.dart 183:13 PubCommand.run
package:args/command_runner.dart 209:27 CommandRunner.runCommand
package:pub/src/command_runner.dart 174:24 PubCommandRunner.runCommand
package:pub/src/command_runner.dart 159:20 PubCommandRunner.run
package:dartdev/dartdev.dart 45:56 runDartdev
/opt/s/w/ir/cache/builder/sdk/pkg/dartdev/bin/dartdev.dart 11:9 main
This is an unexpected error. The full log and other details are collected in:
/Users/gregoryew/flutter_apps/flutter/.pub-cache/log/pub_log.txt
Consider creating an issue on https://github.com/dart-lang/pub/issues/new
and attaching the relevant parts of that log file.
.
pub get failed (255; .)
exit code 255
I am pretty new to Flutter & Dart. What can I try?
I have similar error and after many tries I solved in this way:
Update MacOS
Update Xcode and command lines tools
Run flutter pub upgrade, flutter pub get in the project folder
Delete podfile.lock in ios folder of the project
Run cd ios, pod repo update, pod install in the project folder
Delete Runner.xcworkspace,Podfile.lock
then follow these steps
Error when trying to run my Flutter App with my m1 mac
Fatal error: Uncaught Error: Undefined constant "mu" in E:\xampp\htdocs[[myphpframework]]\mu-clean\examples\hello1.php:3 Stack trace: #0 {main} thrown in E:\xampp\htdocs[[myphpframework]]\mu-clean\examples\hello1.php on line 3
the framework code:
<?php class µ{function __call($m,$a){$c=&$this->{$m.$a[0]};$c=$a[1]??(is_callable($c)?$c($this):$c);return isset($a[1])?
$this:$c;}function run(){foreach($this as$x=>$f)preg_match("#$x#i","$_SERVER[REQUEST_METHOD]$_SERVER[REQUEST_URI]",$p)&&
$f($this,$p);}function view($f,$d=[]){ob_start();extract($d);require"$this->cfgviews/$f.php";return ob_get_clean();}}#JL
the testing page code:
<?php
require(mu.php);
(new µ)
->get('/hello', function () {
echo "<p>Hello, world!</p>";
})
->run();
// Thank you, any assistance is highly appreciated.
In line 3 write:
require 'mu.php';
See docs ...
my project was execute properly at both platform suddenly i add one dependency it was fail to build, i was remove and try again to build project but issue was still occurs when i run it's throw error like :
Error output from Xcode build:
↳
objc[38495]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1f7d378f0) and ?? (0x1165342b8). One of the two will be used. Which one is undefined.
objc[38495]: Class AMSupportURLSession is implemented in both ?? (0x1f7d37940) and ?? (0x116534308). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Xcode's output:
↳
/Users/techeniacservices/Documents/Flutter Project/New/Weone/ios/Pods/libwebp/src/enc/backward_references_enc.c:694:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/techeniacservices/Documents/Flutter Project/New/Weone/ios/Pods/libwebp/src/enc/backward_references_enc.c:626:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
1 warning generated.
4 warnings generated.
/Users/techeniacservices/Documents/Flutter Project/New/Weone/ios/Pods/libwebp/src/enc/backward_references_enc.c:694:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/techeniacservices/Documents/Flutter Project/New/Weone/ios/Pods/libwebp/src/enc/backward_references_enc.c:626:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
35 warnings generated.
35 warnings generated.
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadataExif.m:9:9: warning: non-portable path to file '"SYMetadataExif.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "SYMetadataEXIF.h"
^~~~~~~~~~~~~~~~~~
"SYMetadataExif.h"
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadataExif.m:41:65: warning: 'kCGImagePropertyExifSubsecTimeOrginal' is deprecated: first deprecated in iOS 10.0 - No longer supported [-Wdeprecated-declarations]
SYStringSel(subsecTimeOriginal): (NSString *)kCGImagePropertyExifSubsecTimeOrginal,
^
In module 'ImageIO' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadataExif.m:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h:248:34: note: 'kCGImagePropertyExifSubsecTimeOrginal' has been explicitly marked deprecated here
IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubsecTimeOrginal IMAGEIO_AVAILABLE_BUT_DEPRECATED(10.4, 10.11, 4.0, 10.0);
^
2 warnings generated.
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:49:36: warning: 'ALAsset' is deprecated: first deprecated in iOS 9 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
+ (instancetype)metadataWithAsset:(ALAsset *)asset
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:40:12: note: 'ALAsset' has been explicitly marked deprecated here
#interface ALAsset : NSObject {
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:52:5: warning: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [asset defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:20:12: note: 'ALAssetRepresentation' has been explicitly marked deprecated here
#interface ALAssetRepresentation : NSObject {
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:52:52: warning: 'defaultRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [asset defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:49:1: note: 'defaultRepresentation' has been explicitly marked deprecated here
- (ALAssetRepresentation *)defaultRepresentation AL_DEPRECATED(4, "Use PHImageRequestOptions with the PHImageManager from the Photos framework instead");
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:53:57: warning: 'metadata' is deprecated: first deprecated in iOS 9 - Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
return [self metadataWithDictionary:[representation metadata]];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:56:1: note: 'metadata' has been explicitly marked deprecated here
- (NSDictionary *)metadata AL_DEPRECATED(4, "Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead");
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:150:13: warning: 'ALAsset' is deprecated: first deprecated in iOS 9 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
__block ALAsset *assetAtUrl = nil;
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:40:12: note: 'ALAsset' has been explicitly marked deprecated here
#interface ALAsset : NSObject {
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:151:5: warning: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
ALAssetsLibrary* library = [[ALAssetsLibrary alloc] init];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:78:12: note: 'ALAssetsLibrary' has been explicitly marked deprecated here
#interface ALAssetsLibrary : NSObject {
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:151:50: warning: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
ALAssetsLibrary* library = [[ALAssetsLibrary alloc] init];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:78:12: note: 'ALAssetsLibrary' has been explicitly marked deprecated here
#interface ALAssetsLibrary : NSObject {
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:154:49: warning: 'ALAsset' is deprecated: first deprecated in iOS 9 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
[library assetForURL:assetURL resultBlock:^(ALAsset *asset) {
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:40:12: note: 'ALAsset' has been explicitly marked deprecated here
#interface ALAsset : NSObject {
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:154:14: warning: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
[library assetForURL:assetURL resultBlock:^(ALAsset *asset) {
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:93:1: note: 'assetForURL:resultBlock:failureBlock:' has been explicitly marked deprecated here
- (void)assetForURL:(NSURL *)assetURL resultBlock:(ALAssetsLibraryAssetForURLResultBlock)resultBlock failureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlock AL_DEPRECATED(4, "Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead");
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:165:5: warning: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [assetAtUrl defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:20:12: note: 'ALAssetRepresentation' has been explicitly marked deprecated here
#interface ALAssetRepresentation : NSObject {
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:165:57: warning: 'defaultRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [assetAtUrl defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:49:1: note: 'defaultRepresentation' has been explicitly marked deprecated here
- (ALAssetRepresentation *)defaultRepresentation AL_DEPRECATED(4, "Use PHImageRequestOptions with the PHImageManager from the Photos framework instead");
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:166:28: warning: 'metadata' is deprecated: first deprecated in iOS 9 - Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
return [representation metadata];
^
In module 'AssetsLibrary' imported from /Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:56:1: note: 'metadata' has been explicitly marked deprecated here
- (NSDictionary *)metadata AL_DEPRECATED(4, "Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead");
^
12 warnings generated.
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:39:18: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare]
if(imageType == #"image/webp") {
^ ~~~~~~~~~~~~~
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:39:18: note: use 'isEqual:' instead
if(imageType == #"image/webp") {
^~
[ isEqual: ]
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:82:18: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare]
if(imageType == #"image/webp") {
^ ~~~~~~~~~~~~~
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:82:18: note: use 'isEqual:' instead
if(imageType == #"image/webp") {
^~
[ isEqual: ]
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:109:16: warning: unused variable 'swf' [-Wunused-variable]
const char swf[3] = {'F', 'W', 'S'};
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:110:16: warning: unused variable 'swc' [-Wunused-variable]
const char swc[3] = {'C', 'W', 'S'};
^
4 warnings generated.
2 warnings generated.
12 warnings generated.
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:39:18: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare]
if(imageType == #"image/webp") {
^ ~~~~~~~~~~~~~
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:39:18: note: use 'isEqual:' instead
if(imageType == #"image/webp") {
^~
[ isEqual: ]
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:82:18: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare]
if(imageType == #"image/webp") {
^ ~~~~~~~~~~~~~
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:82:18: note: use 'isEqual:' instead
if(imageType == #"image/webp") {
^~
[ isEqual: ]
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:109:16: warning: unused variable 'swf' [-Wunused-variable]
const char swf[3] = {'F', 'W', 'S'};
^
/Users/techeniacservices/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:110:16: warning: unused variable 'swc' [-Wunused-variable]
const char swc[3] = {'C', 'W', 'S'};
^
4 warnings generated.
../../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_platform_interface-3.2.0/lib/src/method_channel/utils/exception.dart:13:11: Error: Member not found: 'Error.throwWithStackTrace'.
Error.throwWithStackTrace(exception, stackTrace);
^^^^^^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_platform_interface-3.2.0/lib/src/method_channel/utils/exception.dart:16:9: Error: Member not found: 'Error.throwWithStackTrace'.
Error.throwWithStackTrace(
^^^^^^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_platform_interface-3.2.0/lib/src/method_channel/utils/exception.dart:11:7: Error: A non-null value must be returned since the return type 'Never' doesn't allow null.
Never convertPlatformException(Object exception, StackTrace stackTrace) {
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.0/lib/src/method_channel/utils/exception.dart:14:11: Error: Member not found: 'Error.throwWithStackTrace'.
Error.throwWithStackTrace(exception, stackTrace);
^^^^^^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.0/lib/src/method_channel/utils/exception.dart:17:9: Error: Member not found: 'Error.throwWithStackTrace'.
Error.throwWithStackTrace(
^^^^^^^^^^^^^^^^^^^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-6.2.0/lib/src/method_channel/utils/exception.dart:12:7: Error: A non-null value must be returned since the return type 'Never' doesn't allow null.
Never convertPlatformException(Object exception, StackTrace stackTrace) {
^
Failed to package /Users/techeniacservices/Documents/Flutter Project/New/Weone.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'AppAuth' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Toast' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Reachability' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FMDB' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'TOCropViewController-TOCropViewControllerBundle' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'TOCropViewController' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleSignIn' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro.
in pubspact.yaml:
environment:
sdk: ">=2.2.2 <3.0.0"
dependencies:
flutter:
...
firebase_core: ^1.12.0
firebase_auth: ^3.3.6
firebase_analytics: ^9.1.0
firebase_messaging: ^11.2.6
flutter_local_notifications: ^9.2.0
...
i try to clean project, pub get, delete all pod file, rebuild project, restart IDE etc
i also checkout my committed branch and try to run but sill on that code also occur same issue.
can anyone help me to solve this...
Thank you
update flutter
2.10.3
dependencies:
firebase_core: ^1.12.0
firebase_auth: ^1.1.0
firebase_analytics: ^9.1.0
firebase_messaging: ^11.2.5
flutter_local_notifications: ^9.2.0
Add this in pubspec.yaml file -
dependencies:
platform: ^3.1.0
and run -
flutter pub get
I have a Flutter project that uses AdMob. This works fine in Android and I'm able to view the test ads. But when I try to build for iOS, the build fails. I've googled for this and tried out various suggestions I found online but nothing helped. Hope someone can help with this issue.
snippets from my pub spec.yaml file
environment:
sdk: ">=2.7.0 <3.0.0"
firebase_core: ^0.7.0
firebase_admob: ^0.11.0+1
In ios/Flutter/AppFrameworkInfo.plist MinimumOSVersion is set to 10.1. And finally here are my build errors
Xcode's output:
↳
In file included from /Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.m:5:
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.h:28:4: error: expected a type
- (GADUnifiedNativeAdView *)createNativeAd:(GADUnifiedNativeAd *)nativeAd
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.h:28:45: error: expected a type
- (GADUnifiedNativeAdView *)createNativeAd:(GADUnifiedNativeAd *)nativeAd
^
In file included from /Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.m:9:
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.h:39:45: error: no type or protocol named 'GADInterstitialDelegate'
#interface FLTInterstitialAd : FLTMobileAd <GADInterstitialDelegate>
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.h:44:28: error: no type or protocol named 'GADUnifiedNativeAdLoaderDelegate'
: FLTMobileAdWithView <GADUnifiedNativeAdLoaderDelegate, GADUnifiedNativeAdDelegate>
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.m:138:16: warning: 'kGADAdSizeSmartBannerPortrait' is deprecated: Use GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth. [-Wdeprecated-declarations]
adSize = kGADAdSizeSmartBannerPortrait;
^
In module 'GoogleMobileAds' imported from /Users/lk/files/projects/flutter/vocab_master/ios/Pods/Headers/Public/Firebase/Firebase.h:125:
/Users/lk/files/projects/flutter/vocab_master/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleMobileAds/GoogleMobileAds.framework/Headers/GADAdSize.h:126:5: note: 'kGADAdSizeSmartBannerPortrait' has been explicitly marked deprecated here
GAD_DEPRECATED_MSG_ATTRIBUTE("Use GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth.");
^
In module 'GoogleMobileAds' imported from /Users/lk/files/projects/flutter/vocab_master/ios/Pods/Headers/Public/Firebase/Firebase.h:125:
/Users/lk/files/projects/flutter/vocab_master/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleMobileAds/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.m:140:16: warning: 'kGADAdSizeSmartBannerLandscape' is deprecated: Use GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth [-Wdeprecated-declarations]
adSize = kGADAdSizeSmartBannerLandscape;
^
In module 'GoogleMobileAds' imported from /Users/lk/files/projects/flutter/vocab_master/ios/Pods/Headers/Public/Firebase/Firebase.h:125:
/Users/lk/files/projects/flutter/vocab_master/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleMobileAds/GoogleMobileAds.framework/Headers/GADAdSize.h:131:5: note: 'kGADAdSizeSmartBannerLandscape' has been explicitly marked deprecated here
GAD_DEPRECATED_MSG_ATTRIBUTE("Use GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth");
^
In module 'GoogleMobileAds' imported from /Users/lk/files/projects/flutter/vocab_master/ios/Pods/Headers/Public/Firebase/Firebase.h:125:
/Users/lk/files/projects/flutter/vocab_master/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleMobileAds/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
2 warnings and 4 errors generated.
In file included from /Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:5:
In file included from /Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.h:6:
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.h:28:4: error: expected a type
- (GADUnifiedNativeAdView *)createNativeAd:(GADUnifiedNativeAd *)nativeAd
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.h:28:45: error: expected a type
- (GADUnifiedNativeAdView *)createNativeAd:(GADUnifiedNativeAd *)nativeAd
^
In file included from /Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:5:
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.h:39:45: error: no type or protocol named 'GADInterstitialDelegate'
#interface FLTInterstitialAd : FLTMobileAd <GADInterstitialDelegate>
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.h:44:28: error: no type or protocol named 'GADUnifiedNativeAdLoaderDelegate'
: FLTMobileAdWithView <GADUnifiedNativeAdLoaderDelegate, GADUnifiedNativeAdDelegate>
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:39:17: error: no known class method for selector 'configureWithApplicationID:'
[GADMobileAds configureWithApplicationID:appId];
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:97:79: warning: implicit conversion loses integer precision: 'FLTMobileAdStatus' to 'int' [-Wshorten-64-to-32]
NSString *statusString = (NSString *)statusToString[[NSNumber numberWithInt:_status]];
~ ^~~~~~~
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:211:69: error: expected a type
- (void)adView:(GADBannerView *)adView didFailToReceiveAdWithError:(GADRequestError *)error {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:242:3: error: unknown type name 'GADInterstitial'; did you mean 'GADInterstitialAd'?
GADInterstitial *_interstitial;
^~~~~~~~~~~~~~~
GADInterstitialAd
In module 'GoogleMobileAds' imported from /Users/lk/files/projects/flutter/vocab_master/ios/Pods/Headers/Public/Firebase/Firebase.h:125:
/Users/lk/files/projects/flutter/vocab_master/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleMobileAds/GoogleMobileAds.framework/Headers/GADInterstitialAd.h:28:12: note: 'GADInterstitialAd' declared here
#interface GADInterstitialAd : NSObject <GADFullScreenPresentingAd>
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:271:35: error: expected a type
- (void)interstitialDidReceiveAd:(GADInterstitial *)ad {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:278:23: error: expected a type
- (void)interstitial:(GADInterstitial *)ad didFailToReceiveAdWithError:(GADRequestError *)error {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:278:73: error: expected a type
- (void)interstitial:(GADInterstitial *)ad didFailToReceiveAdWithError:(GADRequestError *)error {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:284:40: error: expected a type
- (void)interstitialWillPresentScreen:(GADInterstitial *)ad {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:288:40: error: expected a type
- (void)interstitialWillDismissScreen:(GADInterstitial *)ad {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:292:39: error: expected a type
- (void)interstitialDidDismissScreen:(GADInterstitial *)ad {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:296:43: error: expected a type
- (void)interstitialWillLeaveApplication:(GADInterstitial *)ad {
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:255:21: error: unknown receiver 'GADInterstitial'; did you mean 'GADInterstitialAd'?
_interstitial = [[GADInterstitial alloc] initWithAdUnitID:adUnitId];
^~~~~~~~~~~~~~~
GADInterstitialAd
In module 'GoogleMobileAds' imported from /Users/lk/files/projects/flutter/vocab_master/ios/Pods/Headers/Public/Firebase/Firebase.h:125:
/Users/lk/files/projects/flutter/vocab_master/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleMobileAds/GoogleMobileAds.framework/Headers/GADInterstitialAd.h:28:12: note: 'GADInterstitialAd' declared here
#interface GADInterstitialAd : NSObject <GADFullScreenPresentingAd>
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:255:44: error: no visible #interface for 'GADInterstitialAd' declares the selector 'initWithAdUnitID:'
_interstitial = [[GADInterstitial alloc] initWithAdUnitID:adUnitId];
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:256:17: error: property 'delegate' not found on object of type 'GADInterstitialAd *'
_interstitial.delegate = self;
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:258:18: error: no visible #interface for 'GADInterstitialAd' declares the selector 'loadRequest:'
[_interstitial loadRequest:[factory createRequest]];
~~~~~~~~~~~~~ ^~~~~~~~~~~
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTMobileAd.m:313:3: error: unknown type name 'GADUnifiedNativeAdView'; did you mean 'GADNativeAdView'?
GADUnifiedNativeAdView *_nativeAd;
^~~~~~~~~~~~~~~~~~~~~~
GADNativeAdView
In module 'GoogleMobileAds' imported from /Users/lk/files/projects/flutter/vocab_master/ios/Pods/Headers/Public/Firebase/Firebase.h:125:
/Users/lk/files/projects/flutter/vocab_master/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleMobileAds/GoogleMobileAds.framework/Headers/GADNativeAd.h:114:12: note: 'GADNativeAdView' declared here
#interface GADNativeAdView : UIView
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRewardedVideoAdWrapper.m:61:5: error: use of undeclared identifier 'GADRewardBasedVideoAd'
[[GADRewardBasedVideoAd sharedInstance]
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRewardedVideoAdWrapper.m:66:5: error: use of undeclared identifier 'GADRewardBasedVideoAd'
[[GADRewardBasedVideoAd sharedInstance] setUserIdentifier:userIdentifier];
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRewardedVideoAdWrapper.m:70:5: error: use of undeclared identifier 'GADRewardBasedVideoAd'
[[GADRewardBasedVideoAd sharedInstance] setCustomRewardString:customRewardString];
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRewardedVideoAdWrapper.m:75:66: warning: implicit conversion loses integer precision: 'FLTRewardedVideoAdStatus' to 'int' [-Wshorten-64-to-32]
(NSString *)rewardedStatusToString[[NSNumber numberWithInt:_rewardedStatus]];
~ ^~~~~~~~~~~~~~~
1 warning and 16 errors generated.
In file included from /Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRequestFactory.m:6:
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.h:28:4: error: expected a type
- (GADUnifiedNativeAdView *)createNativeAd:(GADUnifiedNativeAd *)nativeAd
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTFirebaseAdMobPlugin.h:28:45: error: expected a type
- (GADUnifiedNativeAdView *)createNativeAd:(GADUnifiedNativeAd *)nativeAd
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRequestFactory.m:71:13: error: property 'testDevices' not found on object of type 'GADRequest *'
request.testDevices = testDevices;
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRequestFactory.m:91:15: error: property 'birthday' not found on object of type 'GADRequest *'
request.birthday =
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRequestFactory.m:106:19: error: property 'gender' not found on object of type 'GADRequest *'
request.gender = genderValue;
^
/Users/lk/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.11.0+1/ios/Classes/FLTRequestFactory.m:116:14: error: no visible #interface for 'GADRequest' declares the selector 'tagForChildDirectedTreatment:'
[request tagForChildDirectedTreatment:childDirected.boolValue];
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
Add to Podfile:
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
# TODO: remove this once this issue is resolved:
# https://github.com/FirebaseExtended/flutterfire/issues/4931
pod 'Google-Mobile-Ads-SDK', '~> 7.69.0' # this line
end
Is this possible? I've tried npm i github:ngrx/component-builds.git but I still get the error that the NgrxPush pipe could not be found.
I also get the warnings that it needs a peer of #angular/common^10.0.0 and #angular/core^10.0.0. Is this just not available yet in Ionic until Angular 10 is implemented?
The error:
core.js:6228 ERROR Error: Uncaught (in promise): Error: The pipe 'ngrxPush' could not be found!
Error: The pipe 'ngrxPush' could not be found!
at getPipeDef$1 (core.js:36858)
at ɵɵpipe (core.js:36816)
at ClockInButtonComponent_Template (template.html:1)
at executeTemplate (core.js:12156)
at renderView (core.js:11926)
at renderComponent (core.js:13505)
at renderChildComponents (core.js:11727)
at renderView (core.js:11952)
at renderComponent (core.js:13505)
at renderChildComponents (core.js:11727)
at resolvePromise (zone-evergreen.js:798)
at new ZoneAwarePromise (zone-evergreen.js:963)
at ionic-angular.js:2338
at ZoneDelegate.invoke (zone-evergreen.js:364)
at Object.onInvoke (core.js:41654)
at ZoneDelegate.invoke (zone-evergreen.js:363)
at Zone.run (zone-evergreen.js:123)
at NgZone.run (core.js:41427)
at AngularFrameworkDelegate.attachViewToDom (ionic-angular.js:2337)
at attachComponent (framework-delegate-d1eb6504.js:3)
Did you import the ReactiveComponentModule module?