Random failures building flutter with multiple plugins, when there are multiple targets in the XCode project.

Steps to Reproduce

Here is the problem :  every once in a while our App just stops building for iOS with continuous ld errors from one or more podfiles "not being found" although they SHOULD be there.  This is with
$ flutter run -d XXXXXX  (some emulator)

See the logs below ..
$ flutter build ios

does work ..
This is just very very frustrating as once you get into this mode this is no rational way to make it work that I can tell ..
I've tried removing the Pods .. then pod install .. lots of "flutter cleans" ..
The weird thing is the more I do the "flutter run"  after a clean etc. it reduces the "ld" errors .. sometimes they all go away and I'm good til next time but then others (like now) it just keeps sticking and I can't run it at all ..
I have better luck on a -d <REAL_DEVICE> than a simulator .. but not always ..
I am not the only developer in our shop with this issue on this project (our only Flutter project) -- everyone hits this at some point (not at the same time) .. and we're stuck ..

... Not sure.. this generally happens after a flutter upgrade or some other change in environment
...The app used to build and run fine on iOS then just stops building with strange linking issues
...

Logs

  ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lshared_preferences
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
  …/mms4/mobile     93650a0a  i/sjm/mm4-1168_bio   2  flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB                                 2 ↵  10387  10:54:53
Launching lib/main_preview.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
  …/mms4/mobile     93650a0a  i/sjm/mm4-1168_bio   2  flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB                                 2 ↵  10387  10:55:03
Launching lib/main_preview.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
  …/mms4/mobile     93650a0a  i/sjm/mm4-1168_bio   2  flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB                                 2 ↵  10387  10:55:15
Launching lib/main_preview.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
rm -rf ios/Pods
cd ios
 rm Podfile.lock
 pod install                                                                                 ✔  10390  10:56:43
Analyzing dependencies
Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
Fetching podspec for `device_info` from `.symlinks/plugins/device_info/ios`
Fetching podspec for `flutter_secure_storage` from `.symlinks/plugins/flutter_secure_storage/ios`
Fetching podspec for `local_auth` from `.symlinks/plugins/local_auth/ios`
Fetching podspec for `location` from `.symlinks/plugins/location/ios`
Fetching podspec for `onesignal` from `.symlinks/plugins/onesignal/ios`
Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`
Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
Fetching podspec for `uni_links` from `.symlinks/plugins/uni_links/ios`
Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
Downloading dependencies
Installing Flutter (1.0.0)
Installing OneSignal (2.9.3)
Installing device_info (0.0.1)
Installing flutter_secure_storage (3.1.1)
Installing local_auth (0.0.1)
Installing location (0.0.1)
Installing onesignal (1.0.2)
Installing package_info (0.0.1)
Installing path_provider (0.0.1)
Installing shared_preferences (0.0.1)
Installing uni_links (0.0.1)
**Installing url_launcher (0.0.1)**
Generating Pods project
Integrating client project
Pod installation complete! There are 12 dependencies from the Podfile and 12 total pods installed.
cd ..
flutter clean
 flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_preview.dart on iPhone XR in debug mode...
Running pod install...                                       1.5s
Starting Xcode build...
Xcode build done.                                            2.0s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/local_auth-0.3.0/ios/Classes/LocalAuthPlugin.m:115:33: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is
    intended behavior [-Wimplicit-retain-self]
                                    lastCallArgs = arguments;
                                    ^
                                    self->
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/local_auth-0.3.0/ios/Classes/LocalAuthPlugin.m:116:33: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is
    intended behavior [-Wimplicit-retain-self]
                                    lastResult = result;
                                    ^
                                    self->
    2 warnings generated.
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:74: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                             ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:137: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:73: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                            ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:136: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    6 warnings generated.
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:74: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                             ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:137: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:73: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                            ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:136: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    6 warnings generated.
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:74: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                             ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:137: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:73: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                            ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:136: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    6 warnings generated.
    === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.m:1:
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:4:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or
    _Null_unspecified) [-Wnullability-completeness]
    + (instancetype)sharedInstance;
       ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:4:4: note: insert '_Nullable' if the pointer may be null
    + (instancetype)sharedInstance;
       ^
                    _Nullable
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:4:4: note: insert '_Nonnull' if the pointer should never be null
    + (instancetype)sharedInstance;
       ^
                    _Nonnull
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:7:33: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or
    _Null_unspecified) [-Wnullability-completeness]
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:7:33: note: insert '_Nullable' if the block pointer may be null
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
                                     _Nullable
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:7:33: note: insert '_Nonnull' if the block pointer should never be null
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
                                     _Nonnull
    2 warnings generated.

Could not build the application for the simulator.
Error launching application on iPhone XR.
 flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_preview.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
 flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_preview.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
 flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_preview.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
 
 flutter build ios -t lib/main_preview.dart
Building com.missionmode.mobile for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: LVZ24S452F
Running pod install...                                       1.5s
Starting Xcode build...
 ├─Building Dart code...                             30.0s

 ├─Generating dSYM file...                            0.6s

 ├─Stripping debug symbols...                         0.6s

 ├─Assembling Flutter resources...                    1.1s

 └─Compiling, linking and signing...                 11.1s

Xcode build done.                                           57.2s
Built /Users/sjm/work/mm/mms4/mobile/build/ios/iphoneos/Runner.app.
12.1s
flutter run -t lib/main_preview.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_preview.dart on iPhone XR in debug mode...
Running pod install...                                       1.4s
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/url_launcher'
    ld: library not found for -lurl_launcher
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.

flutter doctor -v
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.14.1 18B75, locale en)
    • Flutter version 1.0.0 at /Users/sjm/Development/flutter
    • Framework revision 5391447fae (2 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/sjm/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.3)
    • IntelliJ at /Users/sjm/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.4892.1

[✓] VS Code (version 1.29.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.21.1

[✓] Connected device (4 available)
    • Android SDK built for x86 • emulator-5554                            • android-x86 • Android 5.1.1 (API 22) (emulator)
    • SJM's X                   • 4c775bc5d8a33862d24f147c572864d1e17c8a48 • ios         • iOS 12.1
    • iPhone SE                 • 725A636D-B35D-4D87-8EE3-16B200105B78     • ios         • iOS 12.1 (simulator)
    • iPhone XR                 • 4491738F-0E7C-4813-B6CA-4733F89678CB     • ios         • iOS 12.1 (simulator)

• No issues found!

Just as a follow up -- I tried a major clean of everything Pod related and tried again --
Similar error -- but note the differences -- (different library at the end) -- and also note how the errors shrink until there is one left .. that shows some real issues here in the tooling that is not consistent ..
flutter clean
Deleting 'build/'.
cd ios
rm -rf ~/Library/Caches/CocoaPods; rm -rf Pods; rm -rf ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install;
zsh: sure you want to delete all 12 files in /Users/sjm/Library/Developer/Xcode/DerivedData [yn]? y
Deintegrating `Runner.xcodeproj`
Deleted 1 'Check Pods Manifest.lock' build phases.
Deleted 1 'Embed Pods Frameworks' build phases.
- libPods-Runner.a
Deleted 1 'Check Pods Manifest.lock' build phases.
- libPods-OneSignalNotificationServiceExtension.a
- Pods-OneSignalNotificationServiceExtension.debug.xcconfig
- Pods-OneSignalNotificationServiceExtension.release.xcconfig
Deleting Pod file references from project
- Pods-Runner.debug.xcconfig
- Pods-Runner.release.xcconfig
- libPods-Runner.a
- libPods-OneSignalNotificationServiceExtension.a
Deleted 1 empty `Pods` groups from project.
Deleted 1 empty `Frameworks` groups from project.
Removing `Pods` directory.

Project has been deintegrated. No traces of CocoaPods left in project.
Note: The workspace referencing the Pods project still remains.
Setting up CocoaPods master repo
  $ /usr/local/bin/git -C /Users/sjm/.cocoapods/repos/master fetch origin --progress
  remote: Enumerating objects: 15631, done.
  remote: Counting objects: 100% (15631/15631), done.
  remote: Compressing objects: 100% (142/142), done.
  remote: Total 45716 (delta 15515), reused 15567 (delta 15478), pack-reused 30085
  Receiving objects: 100% (45716/45716), 5.02 MiB | 6.67 MiB/s, done.
  Resolving deltas: 100% (31109/31109), completed with 4043 local objects.
  From https://github.com/CocoaPods/Specs
     09fb9632267..bb11e43fb3c  master     -> origin/master
  $ /usr/local/bin/git -C /Users/sjm/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
  master
  $ /usr/local/bin/git -C /Users/sjm/.cocoapods/repos/master reset --hard origin/master
  Checking out files: 100% (4762/4762), done.
  HEAD is now at bb11e43fb3c [Add] AlleeSDK 1.5.1
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 4511 and retry the command.

CocoaPods 1.6.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.6.0.beta.2

Setup completed
Analyzing dependencies
Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
Fetching podspec for `device_info` from `.symlinks/plugins/device_info/ios`
Fetching podspec for `flutter_secure_storage` from `.symlinks/plugins/flutter_secure_storage/ios`
Fetching podspec for `local_auth` from `.symlinks/plugins/local_auth/ios`
Fetching podspec for `location` from `.symlinks/plugins/location/ios`
Fetching podspec for `onesignal` from `.symlinks/plugins/onesignal/ios`
Fetching podspec for `open_file` from `.symlinks/plugins/open_file/ios`
Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`
Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
Fetching podspec for `uni_links` from `.symlinks/plugins/uni_links/ios`
Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
Downloading dependencies
Using Flutter (1.0.0)
Installing OneSignal (2.9.3)
Using device_info (0.0.1)
Using flutter_secure_storage (3.1.1)
Using local_auth (0.0.1)
Using location (0.0.1)
Using onesignal (1.0.2)
Using open_file (0.0.1)
Using package_info (0.0.1)
Using path_provider (0.0.1)
Using shared_preferences (0.0.1)
Using uni_links (0.0.1)
Using url_launcher (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 13 dependencies from the Podfile and 13 total pods installed.
 cd ..
 flutter run -t lib/main_staging1.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_staging1.dart on iPhone XR in debug mode...
Running pod install...                                       1.3s
Starting Xcode build...
Xcode build done.                                            8.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/local_auth-0.3.0/ios/Classes/LocalAuthPlugin.m:115:33: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is
    intended behavior [-Wimplicit-retain-self]
                                    lastCallArgs = arguments;
                                    ^
                                    self->
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/local_auth-0.3.0/ios/Classes/LocalAuthPlugin.m:116:33: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is
    intended behavior [-Wimplicit-retain-self]
                                    lastResult = result;
                                    ^
                                    self->
    2 warnings generated.
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:74: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                             ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:137: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:73: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                            ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:136: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:50:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalCategories.h:28:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    6 warnings generated.
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:74: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                             ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:137: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:73: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                            ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:136: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.m:28:
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalPlugin.h:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    6 warnings generated.
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:74: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                             ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:137: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:434:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
       ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:73: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                            ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nRequest.h:16:12: note: 'UNNotificationRequest' has been explicitly marked partial here
    @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:136: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
                                                                                ^
    In module 'UserNotifications' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificatio
    nContent.h:60:12: note: 'UNMutableNotificationContent' has been explicitly marked partial here
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/onesignal-1.0.3/ios/Classes/OneSignalTagsController.m:29:
    /Users/sjm/work/mm/mms4/mobile/ios/Pods/Headers/Public/OneSignal/OneSignal/OneSignal.h:435:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an
    availability attribute to silence this warning
    + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
    ^
                                                                                API_AVAILA
                                                                                BLE(ios(10
                                                                                .0))
    6 warnings generated.
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/device_info'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/flutter_secure_storage'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/local_auth'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/location'
    ld: library not found for -ldevice_info
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    In file included from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.m:1:
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:4:4: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or
    _Null_unspecified) [-Wnullability-completeness]
    + (instancetype)sharedInstance;
       ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:4:4: note: insert '_Nullable' if the pointer may be null
    + (instancetype)sharedInstance;
       ^
                    _Nullable
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:4:4: note: insert '_Nonnull' if the pointer should never be null
    + (instancetype)sharedInstance;
       ^
                    _Nonnull
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:7:33: warning: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or
    _Null_unspecified) [-Wnullability-completeness]
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:7:33: note: insert '_Nullable' if the block pointer may be null
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
                                     _Nullable
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/uni_links-0.1.4/ios/Classes/UniLinksPlugin.h:7:33: note: insert '_Nonnull' if the block pointer should never be null
          restorationHandler:(void (^)(NSArray *_Nullable))restorationHandler;
                                    ^
                                     _Nonnull
    2 warnings generated.
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:10:19: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
    @property(strong) SFSafariViewController *safari;
                      ^
    In module 'SafariServices' imported from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewCont
    roller.h:27:12: note: 'SFSafariViewController' has been explicitly marked partial here
    @interface SFSafariViewController : UIViewController
               ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:9:12: note: annotate 'FLTUrlLaunchSession' with an availability attribute to silence this
    warning
    @interface FLTUrlLaunchSession : NSObject <SFSafariViewControllerDelegate>
               ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:29:31: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
    - (void)safariViewController:(SFSafariViewController *)controller
                                  ^
    In module 'SafariServices' imported from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewCont
    roller.h:27:12: note: 'SFSafariViewController' has been explicitly marked partial here
    @interface SFSafariViewController : UIViewController
               ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:29:1: note: annotate 'safariViewController:didCompleteInitialLoad:' with an availability
    attribute to silence this warning
    - (void)safariViewController:(SFSafariViewController *)controller
    ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:41:40: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
    - (void)safariViewControllerDidFinish:(SFSafariViewController *)controller {
                                           ^
    In module 'SafariServices' imported from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewCont
    roller.h:27:12: note: 'SFSafariViewController' has been explicitly marked partial here
    @interface SFSafariViewController : UIViewController
               ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:41:1: note: annotate 'safariViewControllerDidFinish:' with an availability attribute to silence
    this warning
    - (void)safariViewControllerDidFinish:(SFSafariViewController *)controller {
    ^
                                                                                API_AVAILABLE(ios(9.0))
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:23:17: warning: 'SFSafariViewController' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
        _safari = [[SFSafariViewController alloc] initWithURL:url];
                    ^~~~~~~~~~~~~~~~~~~~~~
    In module 'SafariServices' imported from /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:5:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewCont
    roller.h:27:12: note: 'SFSafariViewController' has been explicitly marked partial here
    @interface SFSafariViewController : UIViewController
               ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:23:17: note: enclose 'SFSafariViewController' in an @available check to silence this warning
        _safari = [[SFSafariViewController alloc] initWithURL:url];
                    ^~~~~~~~~~~~~~~~~~~~~~
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:103:18: warning: 'openURL:options:completionHandler:' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
        [application openURL:url
                     ^~~~~~~~~~~
    In module 'UIKit' imported from /Users/sjm/work/mm/mms4/mobile/ios/Pods/Target Support Files/url_launcher/url_launcher-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:1:
    note: 'openURL:options:completionHandler:' has been explicitly marked partial here
    - (void)openURL:(NSURL*)url options:(NSDictionary<UIApplicationOpenExternalURLOptionsKey, id> *)options completionHandler:(void (^ __nullable)(BOOL success))completion NS_AVAILABLE_IOS(10_0)
    NS_EXTENSION_UNAVAILABLE_IOS("");
    ^
    /Users/sjm/.pub-cache/hosted/pub.dartlang.org/url_launcher-4.0.2/ios/Classes/UrlLauncherPlugin.m:103:18: note: enclose 'openURL:options:completionHandler:' in an @available check to silence
    this warning
        [application openURL:url
                     ^~~~~~~~~~~
    5 warnings generated.

Could not build the application for the simulator.
Error launching application on iPhone XR.
  flutter run -t lib/main_staging1.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_staging1.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/device_info'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/local_auth'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/location'
    ld: library not found for -ldevice_info
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
cd ios;pod install                                                                                12:36:37
Analyzing dependencies
Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
Fetching podspec for `device_info` from `.symlinks/plugins/device_info/ios`
Fetching podspec for `flutter_secure_storage` from `.symlinks/plugins/flutter_secure_storage/ios`
Fetching podspec for `local_auth` from `.symlinks/plugins/local_auth/ios`
Fetching podspec for `location` from `.symlinks/plugins/location/ios`
Fetching podspec for `onesignal` from `.symlinks/plugins/onesignal/ios`
Fetching podspec for `open_file` from `.symlinks/plugins/open_file/ios`
Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`
Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
Fetching podspec for `uni_links` from `.symlinks/plugins/uni_links/ios`
Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
Downloading dependencies
Using Flutter (1.0.0)
Using OneSignal (2.9.3)
Using device_info (0.0.1)
Using flutter_secure_storage (3.1.1)
Using local_auth (0.0.1)
Using location (0.0.1)
Using onesignal (1.0.2)
Using open_file (0.0.1)
Using package_info (0.0.1)
Using path_provider (0.0.1)
Using shared_preferences (0.0.1)
Using uni_links (0.0.1)
Using url_launcher (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 13 dependencies from the Podfile and 13 total pods installed.
 cd ..

flutter run -t lib/main_staging1.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_staging1.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/device_info'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/local_auth'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/location'
    ld: library not found for -ldevice_info
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.

flutter run -t lib/main_staging1.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_staging1.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/device_info'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/local_auth'
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/location'
    ld: library not found for -ldevice_info
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.

flutter run -t lib/main_staging1.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_staging1.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.3s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/location'
    ld: library not found for -ldevice_info
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
flutter run -t lib/main_staging1.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_staging1.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/location'
    ld: library not found for -llocation
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.
  flutter run -t lib/main_staging1.dart -d 4491738F-0E7C-4813-B6CA-4733F89678CB
Launching lib/main_staging1.dart on iPhone XR in debug mode...
Starting Xcode build...
Xcode build done.                                            1.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: warning: directory not found for option '-L/Users/sjm/work/mm/mms4/mobile/build/ios/Debug-iphonesimulator/location'
    ld: library not found for -llocation
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could not build the application for the simulator.
Error launching application on iPhone XR.

OK --- I ran some more cleans; etc. and did a flutter run -v -d XXXX so get everything .. it's a very long file so I'm attaching it here.
Upon preliminary inspection -- the error appears to ALWAYS be from one particular dependency (complex one) .. that is doing a Link (LD) in the middle of the build .. but since the flags all reference ALL the pod libraries .. some ofthem haven't been built yet .. (and no, the dependency isn't depend on the others) ... I think this is what's causing the build failure (shrug).  No expert here .. but look for the OneSignal stuff .. and see the failing ld command ..
flutter_build_fail5.txt

So the issue is certainly that Flutter is building a dependency too early .. and since it generates the LD list for everything, even the dependency that doesn't need ANY of the -l flags to link (that I can see) it includes all the pubspec.yaml dependency pod things..
I tried to handle change the order in the Podfile.lock file .. but it appears that in general that gets regenerated .. so that isn't helping..
If one has a Target (other than Runner) -- how can we control this ordering etc. so we can compile correctly .. ??

Can anyone pay attention to this -- it's quite aggravating..  Why is Flutter generating -- for a different target -- the same (well, why is it using the same) LD list as the main Runner target when the Target list is different in the project.  This is causing the underlying issue ...

If you have multiple targets in Xcode project file you can set target dependencies Xcode project settings -> Build Phases -> Target Dependencies.

I have those -- it doesn't appear the flutter tooling pays attention to them?  It uses the same ld flags for all targets regardless of the Xcode project from what I can see

On Dec 19, 2018, at 8:34 PM, Matej Knopp<EMAIL_ADDRESS>wrote:
If you have multiple targets in Xcode project file you can set target dependencies Xcode project settings -> Build Phases -> Target Dependencies.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/flutter/flutter/issues/25375#issuecomment-448837042, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8M7S7JVU5dvxEXrHzq5ctcfg5Bj4q7ks5u6vc_gaJpZM4ZT1Qo.

@sjmcdowall Does it work to override the build setting Other Linker Flags (OTHER_LDFLAGS) in your  non-Runner targets to the order you want and exclude the unnecessary libraries? Unfortunately the Project Configurations are based off the CocoaPod generated xcconfigs, so it will be inherited for all targets, not just Runner.

Unfortunately the Project Configurations are based off the CocoaPod generated xcconfigs, so it will be inherited for all targets, not just Runner.

That is, unless you have your non-Runner targets "Based on Configuration File" set to None in Project > Info > Configurations like in this non-Runner UtilityStuff framework example:

Same issues here. Any update since last year??

The linker flags are set up by the plugin podspecs, and the target dependencies are set up by CocoaPods.

The error appears to ALWAYS be from one particular dependency (complex one)

If this is happening with particular plugins and pods a reproduction case so I can look at the workspace CocoaPods is generating is probably necessary to track this down.