Flutter build ios failing: identifier Xcode.IDEKit and other errors - xcode

I have a Flutter project that I have rewritten from scratch given the breaking changes of Flutter v3 and Firebase core.
It now builds and runs on Android without any trouble, and up to a few weeks ago was running in the ios simulator on iOS13.
However over the past few weeks I have been unable to build the ios app, or get it to run in the simulator. The errors I am getting are rather cryptic and never ending, and it is hard to see what is just a warning and what is actually breaking.
I am now stuck with the following confusing message and I am unable to figure out where or what is wrong. The things I have googled (eg identifier Xcode.IDEKit errors) all end in dead-ends or simply recommendations to reinstall everything, which I don't have the strength to do again! Anyone able to point me in the right direction?
Note: XCode v13.4, Flutter v3.3.10, MacBook Pro (MacOS 12.5 Monterey)
Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 12.5.1 21G83 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.74.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
! Doctor found issues in 1 category.
Error messages:
┌─────────────────────────────────────────────────────────┐
│ A new version of Flutter is available! │
│ │
│ To update to the latest version, run "flutter upgrade". │
└─────────────────────────────────────────────────────────┘
Changing current working directory to: /Users/samheyman/Code/minipass-v2/minipass
Launching lib/main.dart on iPhone 13 Pro in debug mode...
Running pod install... 21.3s
Running Xcode build...
└─Compiling, linking and signing... 26.7s
Xcode build done. 1347.2s
Failed to build iOS app
Error output from Xcode build:
↳
2023-01-31 19:49:03.384 xcodebuild[73078:8328367] 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
2023-01-31 19:49:03.385 xcodebuild[73078:8328367] 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/tg/wkq_y0195v5fkm57j908f33h0000gn/T/flutter_tools.qPudq7/flutter_ios_build_temp_dirZJqB8J/temporary_xcresult_bundle
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/location-4.4.0/ios/Classes/LocationPlugin.m:176:13: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
[-Wdeprecated-declarations]
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:#"Location is Disabled"
^
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/location/location-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here
#interface UIAlertView : UIView
^
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/location-4.4.0/ios/Classes/LocationPlugin.m:176:48: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
[-Wdeprecated-declarations]
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:#"Location is Disabled"
^
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/location/location-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here
#interface UIAlertView : UIView
^
2 warnings generated.
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/location-4.4.0/ios/Classes/LocationPlugin.m:176:13: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
[-Wdeprecated-declarations]
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:#"Location is Disabled"
^
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/location/location-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here
#interface UIAlertView : UIView
^
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/location-4.4.0/ios/Classes/LocationPlugin.m:176:48: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
[-Wdeprecated-declarations]
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:#"Location is Disabled"
^
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/location/location-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here
#interface UIAlertView : UIView
^
2 warnings generated.
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCustomBrowser.m:148:42: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
[[UIApplication sharedApplication] openURL:_appStoreURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCustomBrowser.m:156:61: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
BOOL openedInBrowser = [[UIApplication sharedApplication] openURL:requestURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
2 warnings generated.
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:53:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
SFAuthenticationSession *_authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:143:7: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC =
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:144:37: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
[[SFAuthenticationSession alloc] initWithURL:requestURL
^~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:180:58: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
openedUserAgent = [[UIApplication sharedApplication] openURL:requestURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:203:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC = _authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
5 warnings generated.
2 warnings generated.
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:53:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
SFAuthenticationSession *_authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:143:7: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC =
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:144:37: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
[[SFAuthenticationSession alloc] initWithURL:requestURL
^~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:180:58: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
openedUserAgent = [[UIApplication sharedApplication] openURL:requestURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:203:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC = _authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:25:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated here
#interface SFAuthenticationSession : NSObject
^
5 warnings generated.
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4.2.5/ios/Classes/FLTFirebaseAuthPlugin.m:103:72: warning: sending 'FLTFirebaseAuthPlugin *__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
[[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
^~~~
In module 'firebase_core' imported from /Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4.2.5/ios/Classes/FLTFirebaseAuthPlugin.m:7:
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-2.4.1/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter 'firebasePlugin' here
- (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
^
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4.2.5/ios/Classes/FLTFirebaseAuthPlugin.m:1937:45: warning: 'keyWindow' is deprecated: first deprecated in iOS 13.0 - Should not be used for applications that support multiple scenes as it returns a key window across all connected
scenes [-Wdeprecated-declarations]
return [[UIApplication sharedApplication] keyWindow];
^
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/firebase_auth/firebase_auth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:51: note: property 'keyWindow' is declared deprecated here
#property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0));
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:51: note: 'keyWindow' has been explicitly marked deprecated here
2 warnings generated.
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4.2.5/ios/Classes/FLTFirebaseAuthPlugin.m:103:72: warning: sending 'FLTFirebaseAuthPlugin *__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
[[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
^~~~
In module 'firebase_core' imported from /Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4.2.5/ios/Classes/FLTFirebaseAuthPlugin.m:7:
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-2.4.1/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter 'firebasePlugin' here
- (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
^
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4.2.5/ios/Classes/FLTFirebaseAuthPlugin.m:1937:45: warning: 'keyWindow' is deprecated: first deprecated in iOS 13.0 - Should not be used for applications that support multiple scenes as it returns a key window across all connected
scenes [-Wdeprecated-declarations]
return [[UIApplication sharedApplication] keyWindow];
^
In module 'UIKit' imported from /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/Target Support Files/firebase_auth/firebase_auth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:51: note: property 'keyWindow' is declared deprecated here
#property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes", ios(2.0, 13.0));
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:51: note: 'keyWindow' has been explicitly marked deprecated here
2 warnings generated.
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-4.3.1/ios/Classes/FLTFirebaseFirestorePlugin.m:490:29: warning: comparison of distinct pointer types ('FIRQuery *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
if (query == nil || query == [NSNull null]) {
~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
/Users/samheyman/Code/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-4.3.1/ios/Classes/FLTFirebaseFirestorePlugin.m:490:29: warning: comparison of distinct pointer types ('FIRQuery *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
if (query == nil || query == [NSNull null]) {
~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
/Users/samheyman/Library/Developer/Xcode/DerivedData/Runner-gqzyzivottaphbgvxjaodyrqvvit/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-90FF83C039AA3D5206949481.sh: line 2: /Users/samheyman/Code/minipass-v2/minipass/ios/Pods/FirebaseCrashlytics/upload-symbols: No such file or
directory
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
Result bundle written to path:
/var/folders/tg/wkq_y0195v5fkm57j908f33h0000gn/T/flutter_tools.qPudq7/flutter_ios_build_temp_dirZJqB8J/temporary_xcresult_bundle
Could not build the application for the simulator.
Error launching application on iPhone 13 Pro.

Related

flutter ios app runs on xcode but won't run on vscode and android studio

My app runs perfectly on android and ios (using xcode only). For some reason, when I run it using vsCode or Android studio, it returns an error.
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Xcode build done. 1206.8s
Failed to build iOS app
Error output from Xcode build:
↳
2021-07-13 18:28:30.237 XCBBuildService[1870:62140] Failed to remove: /Users/macUser/Library/Developer/Xcode/DerivedData/Runner-eexwsmocuanrnufgsdyvbcjnzgqw/Build/Intermediates.noindex/XCBuildData/c98de69306103c117579f3f2cbe3019a-desc.xcbuild: unlink(/Users/macUser/Library/Developer/Xcode/DerivedData/Runner-eexwsmocuanrnufgsdyvbcjnzgqw/Build/Intermediates.noindex/XCBuildData/c98de69306103c117579f3f2cbe3019a-desc.xcbuild): No such file or directory (2)
** BUILD FAILED **
Xcode's output:
↳
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/ext/filters/client_channel/xds/xds_channel_secure.cc:34:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/ext/transport/chttp2/transport/writing.cc:21:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/ext/transport/chttp2/transport/context_list.h:26:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/ext/transport/chttp2/transport/internal.h:109:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_chttp2_ping_queue
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/ext/transport/chttp2/transport/internal.h:110:52: note: type is not C-compatible due to this default member initializer
grpc_closure_list lists[GRPC_CHTTP2_PCL_COUNT] = {};
^~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/ext/transport/chttp2/transport/internal.h:112:3: note: type is given name 'grpc_chttp2_ping_queue' for linkage purposes by this typedef declaration
} grpc_chttp2_ping_queue;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/security_connector/tls/tls_security_connector.cc:21:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/security_connector/tls/tls_security_connector.h:25:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/context/security_context.h:28:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/security_connector/tls/tls_security_connector.cc:32:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/ssl/ssl_credentials.h:25:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/security_connector/ssl/ssl_security_connector.h:60:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_ssl_server_config
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/security_connector/ssl/ssl_security_connector.h:61:51: note: type is not C-compatible due to this default member initializer
tsi_ssl_pem_key_cert_pair* pem_key_cert_pairs = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/security_connector/ssl/ssl_security_connector.h:66:3: note: type is given name 'grpc_ssl_server_config' for linkage purposes by this typedef declaration
} grpc_ssl_server_config;
^
2 warnings generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/tls/tls_credentials.cc:21:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/tls/tls_credentials.h:26:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-Core/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/server/secure_server_credentials.cc:26:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.h:25:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/context/security_context.h:28:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/client/secure_credentials.cc:19:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/client/secure_credentials.h:29:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_create_auth_context.cc:24:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.h:25:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/context/security_context.h:28:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.cc:19:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.h:25:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/context/security_context.h:28:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/server/secure_server_credentials.cc:26:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.h:25:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/context/security_context.h:28:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/client/secure_credentials.cc:19:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/client/secure_credentials.h:29:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_create_auth_context.cc:24:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.h:25:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/context/security_context.h:28:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.cc:19:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/cpp/common/secure_auth_context.h:25:
In file included from /Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/context/security_context.h:28:
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:205:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
^
grpc_credentials_mdelem_array
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:206:21: note: type is not C-compatible due to this default member initializer
grpc_mdelem* md = nullptr;
^~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/gRPC-C++/src/core/lib/security/credentials/credentials.h:208:3: note: type is given name 'grpc_credentials_mdelem_array' for linkage purposes by this typedef declaration
} grpc_credentials_mdelem_array;
^
1 warning generated.
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/FirebaseFirestore/Firestore/Source/API/FIRLoadBundleTask.mm:41:29: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'NSInteger' (aka 'int') [-Wshorten-64-to-32]
_bytesLoaded = progress.bytes_loaded();
~ ~~~~~~~~~^~~~~~~~~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/FirebaseFirestore/Firestore/Source/API/FIRLoadBundleTask.mm:43:28: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'NSInteger' (aka 'int') [-Wshorten-64-to-32]
_totalBytes = progress.total_bytes();
~ ~~~~~~~~~^~~~~~~~~~~~~
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/FirebaseFirestore/Firestore/Source/API/FIRLoadBundleTask.mm:97:17: warning: implicit conversion loses integer precision: 'firebase::firestore::api::LoadBundleTask::LoadBundleHandle' (aka 'long long') to 'FIRLoadBundleObserverHandle' (aka 'int') [-Wshorten-64-to-32]
return _task->Observe(std::move(core_observer));
~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'FMDB' from project 'Pods')
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'BoringSSL-GRPC' from project 'Pods')
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'leveldb-library' from project 'Pods')
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'abseil' from project 'Pods')
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'AppAuth' from project 'Pods')
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'gRPC-C++-gRPCCertificates-Cpp' from project 'Pods')
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'gRPC-Core' from project 'Pods')
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'gRPC-C++' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
Exited (sigterm)
This is what I get when I run flutter doctor -v
flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale en-BH)
• Flutter version 2.2.3 at /Users/alialqallaf/Developer/flutter
• Framework revision f4abaa0735 (12 days ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/alialqallaf/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] IntelliJ IDEA Community Edition (version 2021.1.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.58.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.24.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114
• No issues found!
This is my pubspec.yaml file
name: mazaya
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
apple_sign_in_safety: ^0.0.6
cached_network_image: ^3.0.0
carousel_pro: ^1.0.0
cloud_firestore: ^2.2.0
cupertino_icons: ^1.0.2
firebase_auth: ^1.2.0
firebase_core: ^1.2.0
firebase_crashlytics: ^2.0.7
firebase_storage: ^8.1.0
flutter_svg: ^0.22.0
get: ^4.1.4
google_sign_in: ^5.0.3
intl: ^0.17.0
modal_progress_hud_nsn: ^0.1.0-nullsafety-1
pdf: ^3.3.0
percent_indicator: ^3.0.1
responsive_framework: ^0.1.0
share_plus: ^2.1.2
url_launcher: ^6.0.8
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.9.0
flutter_native_splash: ^1.1.8+4
flutter_icons:
android: true
ios: true
image_path: "assets/dev/mazaya.png"
adaptive_icon_background: "#FFFFFF"
adaptive_icon_foreground: "assets/dev/mazaya_adaptive.png"
flutter_native_splash:
color: "#FFFFFF"
image: "assets/dev/splash.png"
android: true
ios: true
flutter:
uses-material-design: true
assets:
- assets/svg/
- assets/images/
fonts:
- family: OpenSans
fonts:
- asset: assets/fonts/OpenSans-Regular.ttf
- asset: assets/fonts/OpenSans-Bold.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
I tried so many solution that I found such as
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ios/Pods
rm ios/Podfile
sudo xattr -r -d com.apple.FinderInfo .
flutter pub cache repair
rm ios/Flutter/Flutter.podspec
pod deintegrate && rm Podfile.lock && pod install
flutter clean
I also changed the channel from the master to the stable one but none of this worked.
Can anyone help me out please?
The issue has been solved!
I changed the configurations of the project on Xcode as it is in the image below
I took the image from: https://github.com/flutter/flutter/issues/56085#issuecomment-645088488
/Users/macUser/Work/Mazaya/mazaya/ios/Pods/Pods.xcodeproj: 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.5.99. (in target 'FMDB' from project 'Pods')
this is the part that have a problem
go to your Pod file and change target to 9 or higher
change at platform :iOS, 9.0 as the first line of my image
Thanks Ali Alqallaf
in Xcode change info->Release->Runner->Pods-Runner.release to Release
My APP can run in Android Studio
choise Release not Pods-runner

Flutter Mac OS Build Error How can I solve the error?

Build Failed Logs:
** BUILD FAILED **
Xcode's output:
↳
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:10: warning: double-quoted include "FlutterAppDelegate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterAppDelegate.h"
^~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterAppDelegate.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:10:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterMacros.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterMacros.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlugin.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterPlugin.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:11:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterBinaryMessenger.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterBinaryMessenger.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterBinaryMessenger.h:10:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterMacros.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterMacros.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12:10: warning: double-quoted include "FlutterChannels.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterChannels.h"
^~~~~~~~~~~~~~~~~~~
<Flutter/FlutterChannels.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:8:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterBinaryMessenger.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterBinaryMessenger.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:9:10: warning: double-quoted include "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterCodecs.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterCodecs.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:9:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterCodecs.h:9:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterMacros.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterMacros.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:13:10: warning: double-quoted include "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterCodecs.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterCodecs.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:14:10: warning: double-quoted include "FlutterPlatformViews.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlatformViews.h"
^~~~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterPlatformViews.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:14:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlatformViews.h:10:9: warning: double-quoted include "FlutterCodecs.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "FlutterCodecs.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterCodecs.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlatformViews.h:11:9: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "FlutterMacros.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterMacros.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from :1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:16:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterMacros.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterMacros.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:17:10: warning: double-quoted include "FlutterPlatformViews.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlatformViews.h"
^~~~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterPlatformViews.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:18:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlugin.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterPlugin.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:19:10: warning: double-quoted include "FlutterPluginAppLifeCycleDelegate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPluginAppLifeCycleDelegate.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterPluginAppLifeCycleDelegate.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from <module-includes>:1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:19:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h:8:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlugin.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterPlugin.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from <module-includes>:1:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:20:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterTexture.h"
^~~~~~~~~~~~~~~~~~
<Flutter/FlutterTexture.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:21:10: warning: double-quoted include "FlutterViewController.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterViewController.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterViewController.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from <module-includes>:1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:21:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:11:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterBinaryMessenger.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterBinaryMessenger.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:12:10: warning: double-quoted include "FlutterDartProject.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterDartProject.h"
^~~~~~~~~~~~~~~~~~~~~~
<Flutter/FlutterDartProject.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:13:10: warning: double-quoted include "FlutterEngine.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterEngine.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterEngine.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:14:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterMacros.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterMacros.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:15:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlugin.h"
^~~~~~~~~~~~~~~~~
<Flutter/FlutterPlugin.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:16:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterTexture.h"
^~~~~~~~~~~~~~~~~~
<Flutter/FlutterTexture.h>
46 warnings generated.
46 warnings generated.
/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inapp_purchase-2.3.2/ios/Classes/FlutterInappPurchasePlugin.m:45:52: warning: assigning to 'id<IAPPromotionObserverDelegate>' from incompatible type 'FlutterInappPurchasePlugin *__strong'
[IAPPromotionObserver sharedObserver].delegate = self;
^ ~~~~
/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inapp_purchase-2.3.2/ios/Classes/FlutterInappPurchasePlugin.m:200:79: warning: implicit conversion loses integer precision: 'SKPaymentTransactionState' (aka 'enum SKPaymentTransactionState') to 'int' [-Wshorten-64-to-32]
[NSNumber numberWithInt: item.transactionState], #"transactionStateIOS",
~ ^~~~~~~~~~~~~~~~~~~~~
/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inapp_purchase-2.3.2/ios/Classes/FlutterInappPurchasePlugin.m:590:71: warning: implicit conversion loses integer precision: 'SKPaymentTransactionState' (aka 'enum SKPaymentTransactionState') to 'int' [-Wshorten-64-to-32]
[NSNumber numberWithInt: transaction.transactionState], #"transactionStateIOS",
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBWrappers.pbobjc.m:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:33:9: warning: double-quoted include "GPBArray.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBArray.h"
^~~~~~~~~~~~
<GPBArray.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBStruct.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:40:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities_PackagePrivate.h:33:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:33:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBArray.h:33:9: warning: double-quoted include "GPBRuntimeTypes.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBRuntimeTypes.h"
^~~~~~~~~~~~~~~~~~~
<GPBRuntimeTypes.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBStruct.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:40:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities_PackagePrivate.h:33:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:34:9: warning: double-quoted include "GPBMessage.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBMessage.h"
^~~~~~~~~~~~~~
<GPBMessage.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:35:9: warning: double-quoted include "GPBRuntimeTypes.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBRuntimeTypes.h"
^~~~~~~~~~~~~~~~~~~
<GPBRuntimeTypes.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBStruct.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:40:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities_PackagePrivate.h:35:9: warning: double-quoted include "GPBDescriptor_PackagePrivate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBDescriptor_PackagePrivate.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<GPBDescriptor_PackagePrivate.h>
22 warnings generated.
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBSourceContext.pbobjc.m:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:34:9: warning: double-quoted include "GPBBootstrap.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBBootstrap.h"
^~~~~~~~~~~~~~~~
<GPBBootstrap.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:34:9: warning: double-quoted include "GPBBootstrap.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBBootstrap.h"
^~~~~~~~~~~~~~~~
<GPBBootstrap.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:9: warning: double-quoted include "GPBDescriptor_PackagePrivate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBDescriptor_PackagePrivate.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<GPBDescriptor_PackagePrivate.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBAny.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor_PackagePrivate.h:35:9: warning: double-quoted include "GPBDescriptor.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBDescriptor.h"
^~~~~~~~~~~~~~~~~
<GPBDescriptor.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBAny.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor_PackagePrivate.h:35:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor.h:33:9: warning: double-quoted include "GPBRuntimeTypes.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBRuntimeTypes.h"
^~~~~~~~~~~~~~~~~~~
<GPBRuntimeTypes.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBAny.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor_PackagePrivate.h:35:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor.h:33:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:33:9: warning: double-quoted include "GPBArray.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBArray.h"
^~~~~~~~~~~~
<GPBArray.h>
In file included from
^~~~~~~~~~~~~
<pb_encode.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Target Support Files/nanopb/nanopb-umbrella.h:22:9: error: double-quoted include "pb_common.h" in framework header, expected angle-bracketed instead [-Werror,-Wquoted-include-in-framework-header]
#import "pb_common.h"
^~~~~~~~~~~~~
<pb_common.h>
13 errors generated.
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/Protogen/nanopb/cct.nanopb.c:20:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/Protogen/nanopb/cct.nanopb.h:22:10: fatal error: could not build module 'nanopb'
#include <nanopb/pb.h>
~~~~~~~~^
14 errors generated.
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.0.99. (in target 'GoogleDataTransport' 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.0.99. (in target 'url_launcher' 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.0.99. (in target 'path_provider' 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.0.99. (in target 'shared_preferences' 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.0.99. (in target 'device_info' 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.0.99. (in target 'package_info' 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.0.99. (in target 'flutter_inapp_purchase' 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.0.99. (in target 'nanopb' 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.0.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.0.99. (in target 'Protobuf' 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.0.99. (in target 'fluttertoast' 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.0.99. (in target 'GoogleUtilities' 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.0.99. (in target 'Firebase' 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.0.99. (in target 'FirebaseCore' 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.0.99. (in target 'FirebaseMessaging' 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.0.99. (in target
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.0.99. (in target 'FirebaseInstallations' from project 'Pods')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
I came across this as wel. To make it more clear where to search:
In your flutter project go to:
IOS - Runner.xcodeproj --> open file: project.pbxproj
search for this value: CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
change it to: CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO;
rerun you project build.
There is a chance the build might fail. In this case clear everything from the debug build directory:
...yourapp/build/ios/Debug-ihponeos
This seems to be a cocoapods issue caused by a recommended build setting. A fix is at CocoaPods/CocoaPods#9905 and targeted for CocoaPods 1.10. As a (temporary) workaround you can set "Quoted include in framework headers" in pods project build settings to NO.

xmms2 installation on mac 10.7.5 fails using macports

The error I get when trying the following:
$cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_xmms2/xmms2/work/xmms2-0.8DrO_o
$sudo ./waf build
is:
Build failed
-> task failed (exit status 1):
{task 4561778192: c avcodec.c -> avcodec.c.1.o}
I get an error:
error: implicit declaration of function 'avcodec_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
and four warnings:
warning: 'avcodec_alloc_context' is deprecated [-Wdeprecated-declarations]
warning: 'avcodec_open' is deprecated [-Wdeprecated-declarations]
warning: 'avcodec_decode_audio3' is deprecated [-Wdeprecated-declarations]
warning: 'avcodec_decode_audio3' is deprecated [-Wdeprecated-declarations]
try install a different variant of xmms2. Type port variants xmms2
xmms2 has the variants:
cpp: C++ development support
perl: Perl development support
ruby: Ruby development support
universal: Build for multiple architectures
try this command to install the variant cpp of xmms2
sudo port install xmms2 +cpp

OpenCV 2.4.3 on Xcode 4.5

I'm trying to compile a project that uses opencv using xcode 4.5 on Mountain Lion 10.8, I followed closely the procedure on this link:
Compile OpenCV (2.3.1+) for OS X Lion / Mountain Lion with Xcode
This is the sequence that I have followed;
Installed opencv using ports: sudo port install opencv
configure.compiler = llvm-gcc-4.2
Opened Xcode and created a new project (command line app using c++).
Added the "/opt/local/lib/**" path to "Library search paths"
Added any libopencv_. Dylib to a new group
Added the "/opt/local/include/**" path to "Header search paths"
Every time I try to compile xcode fail with this error:
In file included from /Users/oliver/OpenCVHelloWorld/main.cpp:12:
In file included from /opt/local/include/opencv2/opencv.hpp:46:
In file included from /opt/local/include/opencv2/core/core_c.h:47:
/opt/local/include/opencv2/core/types_c.h:322:17: error: use of undeclared identifier 'lrint'
return (int)lrint(value);
^
/opt/local/include/opencv2/core/types_c.h:742:5: error: use of undeclared identifier 'assert'
assert( (unsigned)CV_MAT_DEPTH(type) <= CV_64F );
^
/opt/local/include/opencv2/core/types_c.h:773:5: error: use of undeclared identifier 'assert'
assert( (unsigned)row < (unsigned)mat->rows &&
^
/opt/local/include/opencv2/core/types_c.h:780:9: error: use of undeclared identifier 'assert'
assert( type == CV_64FC1 );
^
/opt/local/include/opencv2/core/types_c.h:790:5: error: use of undeclared identifier 'assert'
assert( (unsigned)row < (unsigned)mat->rows &&
^
/opt/local/include/opencv2/core/types_c.h:797:9: error: use of undeclared identifier 'assert'
assert( type == CV_64FC1 );
^
In file included from /Users/oliver/OpenCVHelloWorld/main.cpp:12:
In file included from /opt/local/include/opencv2/opencv.hpp:46:
/opt/local/include/opencv2/core/core_c.h:1118:5: error: use of undeclared identifier 'assert'
assert( _elem->flags >= 0 /*&& (elem->flags & CV_SET_ELEM_IDX_MASK) < set_header->total*/ );
^
In file included from /Users/oliver/OpenCVHelloWorld/main.cpp:12:
In file included from /opt/local/include/opencv2/opencv.hpp:47:
In file included from /opt/local/include/opencv2/core/core.hpp:56:
In file included from /usr/include/c++/4.2.1/algorithm:64:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:70:
In file included from /usr/include/c++/4.2.1/iosfwd:44:
/usr/include/c++/4.2.1/bits/c++locale.h:76:5: error: use of undeclared identifier 'va_start'
va_start(__args, __fmt);
^
/usr/include/c++/4.2.1/bits/c++locale.h:84:5: error: use of undeclared identifier 'va_end'
va_end(__args);
^
/usr/include/c++/4.2.1/cstdarg:54:20: note: expanded from macro 'va_end'
#define va_end(ap) va_end (ap)
^
In file included from /Users/oliver/OpenCVHelloWorld/main.cpp:12:
In file included from /opt/local/include/opencv2/opencv.hpp:47:
In file included from /opt/local/include/opencv2/core/core.hpp:56:
In file included from /usr/include/c++/4.2.1/algorithm:64:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:70:
In file included from /usr/include/c++/4.2.1/iosfwd:48:
In file included from /usr/include/c++/4.2.1/bits/postypes.h:45:
In file included from /usr/include/c++/4.2.1/cwchar:51:
/usr/include/c++/4.2.1/ctime:65:11: error: no member named 'clock_t' in the global namespace
using ::clock_t;
~~^
/usr/include/c++/4.2.1/ctime:67:11: error: no member named 'tm' in the global namespace
using ::tm;
~~^
/usr/include/c++/4.2.1/ctime:69:11: error: no member named 'clock' in the global namespace
using ::clock;
~~^
/usr/include/c++/4.2.1/ctime:70:11: error: no member named 'difftime' in the global namespace
using ::difftime;
~~^
/usr/include/c++/4.2.1/ctime:71:11: error: no member named 'mktime' in the global namespace
using ::mktime;
~~^
/usr/include/c++/4.2.1/ctime:72:11: error: no member named 'time' in the global namespace
using ::time;
~~^
/usr/include/c++/4.2.1/ctime:73:11: error: no member named 'asctime' in the global namespace
using ::asctime;
~~^
/usr/include/c++/4.2.1/ctime:74:11: error: no member named 'ctime' in the global namespace
using ::ctime;
~~^
/usr/include/c++/4.2.1/ctime:75:11: error: no member named 'gmtime' in the global namespace
using ::gmtime;
~~^
/usr/include/c++/4.2.1/ctime:76:11: error: no member named 'localtime' in the global namespace
using ::localtime;
~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
I Tried also to change compiler to LLVM GCC 4.2 compiler with no luck.
Someone can 'tell me the exact steps to build projects on xcode using opencv Mountain Lion and Xcode 4.5?
Without access to your code, I can't say whether this would be a complete fix but, in order to to resolve your "no member named..." compilation errors, you might try substituting "/opt/local/lib" for "/opt/local/lib/**" by double clicking on the "Header Search Paths" field and selecting the "non-recursive" option under XCode's "Build Settings" > "Search Paths" > "Header Search Paths".
You could also try recompiling after navigating to "Build Settings" > "Apple LLVM compiler 4.2 - Language" > "C++ Standard Library", and selecting "libstdc++ (GNU C++ standard library)" rather than XCode 4.5's default "libc++ (LLVM C++ standard library with C++11 support)".
I would use a different installing command:
sudo port install tbb
sudo port install opencv +debug +eigen +python27 +qt4 +tbb
eigen and qt4 is optional, tbb is rather essential, since opencv uses tbb massively for multithreading when present. In other words, opencv is much slower without tbb.
I would not manually specify the compiler. As I remember that did not work for me.
make sure its compiled as c++, rename your m files to mm

VSTGUI 4.0.1 XCODE 4.5 and MacOSX 10.8 Troubles

That's the first time I use stack overflow 'cause I got a problem develop VST Plugins with GUI on MacOSX 10.8.
I'm new to mac development and I'm not shure why I get the following errors due compiling and linking my product using VSTGUI 4.0.1.
/Users/christianschragen/Downloads/samples/vst2.x/mac/aeffguieditor.cpp:115:34: 'createDrawContext' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/aeffguieditor.cpp:182:10: 'TickCount' is deprecated: first deprecated in Mac OS X 10.8
/Users/christianschragen/Downloads/samples/vst2.x/mac/aeffguieditor.cpp:237:27: Conversion from string literal to 'char *' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/cview.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/cview.cpp:661:22: No matching function for call to 'make_pair'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:239:5: 'beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:244:21: 'runModalForDirectory:file:types:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:255:5: 'beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/macfileselector.mm:260:21: 'runModalForDirectory:file:' is deprecated
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:493:4: Use of undeclared identifier 'GetPortBounds'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:524:2: Use of undeclared identifier 'GetPortBounds'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:539:24: Use of undeclared identifier 'QDSwapPort'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:542:3: Use of undeclared identifier 'QDSwapPort'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:634:124: Non-constant-expression cannot be narrowed from type 'CCoord' (aka 'double') to 'CGFloat' (aka 'float') in initializer list
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:747:13: Enumeration value 'kError' not handled in switch
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:808:24: Use of undeclared identifier 'NewRgn'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:822:5: Use of undeclared identifier 'DisposeRgn'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:1016:17: Use of undeclared identifier 'kQDRegionToRectsMsgParse'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewframe.cpp:1117:37: Use of undeclared identifier 'kQDParseRegionFromTopLeft'
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewoptionmenu.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewoptionmenu.cpp:107:17: 'UniqueID' is deprecated: first deprecated in Mac OS X 10.8
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewtextedit.cpp
/Users/christianschragen/Downloads/samples/vst2.x/mac/lib/platform/mac/carbon/hiviewtextedit.cpp:111:3: Use of undeclared identifier 'GetFNum'
Any ideas what's wrong?
Thanks
Chris
I have a strong feeling that VSTGUI does not support 10.8 yet. You should set the target SDK in your Xcode build settings to 10.7 (or maybe 10.6), which probably involves downloading a huge DMG from Apple via Xcode.
Also it probably wouldn't hurt to contact the VSTGUI developers to seek support from them.

Resources