When I add wc_flutter_share plugin to my project, it is unable to build for iOS.
I am unsure if this issue is related to this error:
Your flutter's iOS code needs to be in swift. Otherwise you will get error:
=== BUILD TARGET flutter_inappbrowser OF PROJECT Pods WITH CONFIGURATION Debug === The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be set in the build settings editor.
I Don't see the error message, but I'm not sure what else it can be.
This is the error I get when I run flutter run
Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
└─Compiling, linking and signing... 5.9s
Xcode build done. 17.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
error: the following command failed with exit code 0 but produced no further output
CompileC
/Users/moshe/Library/Developer/Xcode/DerivedData/Runner-biwueiotjzntfzfdtisydpvaiute/Bui
ld/Intermediates.noindex/Pods.build/Debug-iphonesimulator/rate_my_app.build/Objects-normal/x86_6
4/RateMyAppPlugin.o
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/rate_my_app-0.2.0+4/
ios/Classes/RateMyAppPlugin.m normal x86_64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:11: warning: variable 'originRect' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:41:26: note: uninitialized use occurs here
atSource:originRect];
^~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:7: note: remove the 'if' if its condition is always true
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:11: warning: variable 'originRect' is used uninitialized whenever '&&'
condition is false [-Wsometimes-uninitialized]
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:41:26: note: uninitialized use occurs here
atSource:originRect];
^~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:11: note: remove the '&&' if its condition is always true
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:11: warning: variable 'originRect' is used uninitialized whenever '&&'
condition is false [-Wsometimes-uninitialized]
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:41:26: note: uninitialized use occurs here
atSource:originRect];
^~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:11: note: remove the '&&' if its condition is always true
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:11: warning: variable 'originRect' is used uninitialized whenever '&&'
condition is false [-Wsometimes-uninitialized]
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:41:26: note: uninitialized use occurs here
atSource:originRect];
^~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:34:11: note: remove the '&&' if its condition is always true
if (originX != nil && originY != nil && originWidth != nil && originHeight != nil) {
^~~~~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.1+1/ios/Cl
asses/SharePlugin.m:33:7: note: variable 'originRect' is declared here
CGRect originRect;
^
4 warnings generated.
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.1+
3/ios/Classes/FlutterWebView.m:407:20: warning:
'loadData:MIMEType:characterEncodingName:baseURL:' is only available on iOS 9.0 or newer
[-Wunguarded-availability]
return [_webView loadData:nsData MIMEType:mimeType characterEncodingName:encoding
baseURL:nsUrl];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
In module 'WebKit' imported from
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.1+
3/ios/Classes/FlutterWebView.h:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh
oneSimulator13.5.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:116:1: note:
'loadData:MIMEType:characterEncodingName:baseURL:' has been marked as being introduced in iOS
9.0 here, but the deployment target is iOS 8.0.0
- (nullable WKNavigation *)loadData:(NSData *)data MIMEType:(NSString *)MIMEType
characterEncodingName:(NSString *)characterEncodingName baseURL:(NSURL *)baseURL
API_AVAILABLE(macos(10.11), ios(9.0));
^
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_media-0.1.1+
3/ios/Classes/FlutterWebView.m:407:20: note: enclose
'loadData:MIMEType:characterEncodingName:baseURL:' in an @available check to silence this
warning
return [_webView loadData:nsData MIMEType:mimeType characterEncodingName:encoding
baseURL:nsUrl];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
1 warning generated.
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plug
in-0.3.5/ios/Classes/FlutterWebviewPlugin.m:263:24: warning: comparison of distinct pointer
types ('NSString *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
if (_invalidUrlRegex != [NSNull null] && urlString != nil) {
~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plug
in-0.3.5/ios/Classes/FlutterWebviewPlugin.m:286:60: warning: implicit conversion loses integer
precision: 'WKNavigationType' (aka 'enum WKNavigationType') to 'int' [-Wshorten-64-to-32]
@"navigationType": [NSNumber numberWithInt:navigationAction.navigationType]};
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:52:65: warning: 'isDeveloperModeEnabled' is
deprecated: This no longer needs to be set during development. Refer to documentation for
additional details. [-Wdeprecated-declarations]
[[NSNumber alloc] initWithBool:[firRemoteConfigSettings isDeveloperModeEnabled]];
^
In file included from
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:8:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/Firebase/Firebase.h:146:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FirebaseRemoteConfig.h:17:
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FIRRemoteConfig.h:141:37: note: property 'isDeveloperModeEnabled' is
declared deprecated here
@property(nonatomic, readonly) BOOL isDeveloperModeEnabled DEPRECATED_MSG_ATTRIBUTE(
^
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FIRRemoteConfig.h:141:60: note: 'isDeveloperModeEnabled' has been
explicitly marked deprecated here
@property(nonatomic, readonly) BOOL isDeveloperModeEnabled DEPRECATED_MSG_ATTRIBUTE(
^
In module 'Darwin' imported from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseAuth/FIRAuth.h:17:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh
oneSimulator13.5.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro
'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:61:42: warning:
'initWithDeveloperModeEnabled:' is deprecated: This no longer needs to be set during
development. Refer to documentation for additional details. [-Wdeprecated-declarations]
[[FIRRemoteConfigSettings alloc] initWithDeveloperModeEnabled:debugMode];
^
In file included from
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:8:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/Firebase/Firebase.h:146:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FirebaseRemoteConfig.h:17:
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FIRRemoteConfig.h:148:5: note: 'initWithDeveloperModeEnabled:' has been
explicitly marked deprecated here
DEPRECATED_MSG_ATTRIBUTE("This no longer needs to be set during development. Refer to "
^
In module 'Darwin' imported from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseAuth/FIRAuth.h:17:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh
oneSimulator13.5.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro
'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:108:54: warning: 'activateFetched' is
deprecated: Use -[FIRRemoteConfig activate] instead. [-Wdeprecated-declarations]
BOOL newConfig = [[FIRRemoteConfig remoteConfig] activateFetched];
^
In file included from
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:8:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/Firebase/Firebase.h:146:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FirebaseRemoteConfig.h:17:
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FIRRemoteConfig.h:245:25: note: 'activateFetched' has been explicitly
marked deprecated here
- (BOOL)activateFetched DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig activate] "
^
In module 'Darwin' imported from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseAuth/FIRAuth.h:17:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh
oneSimulator13.5.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro
'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:139:40: warning:
'allKeysFromSource:namespace:' is deprecated: Use -[FIRRemoteConfig allKeysFromSource:] instead.
[-Wdeprecated-declarations]
NSArray *defaultKeys = [remoteConfig allKeysFromSource:FIRRemoteConfigSourceDefault
^
In file included from
/Users/moshe/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_conf
ig-0.3.0+3/ios/Classes/FirebaseRemoteConfigPlugin.m:8:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/Firebase/Firebase.h:146:
In file included from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FirebaseRemoteConfig.h:17:
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseRemoteConfig/FIRRemoteConfig.h:300:5: note: 'allKeysFromSource:namespace:' has been
explicitly marked deprecated here
DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig allKeysFromSource:] instead.");
^
In module 'Darwin' imported from
/Users/moshe/Documents/dev_projects/jooish_news/jooish_news_app/ios/Pods/Headers/Private
/FirebaseAuth/FIRAuth.h:17:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh
oneSimulator13.5.sdk/usr/include/AvailabilityMacros.h:182:64: note: expanded from macro
'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
4 warnings generated.
ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftUIKit'
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftCompatibility50'
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements'
ld: warning: Could not find or use auto-linked library 'swiftMetal'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftCoreMedia'
ld: warning: Could not find or use auto-linked library 'swiftCoreAudio'
Undefined symbols for architecture x86_64:
"value witness table for Builtin.Int64", referenced from:
full type metadata for __C.UIUserInterfaceIdiom in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"protocol descriptor for Swift.RawRepresentable", referenced from:
protocol conformance descriptor for __C.UIUserInterfaceIdiom : Swift.RawRepresentable in
__C_Synthesized in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"associated type descriptor for Swift.RawRepresentable.RawValue", referenced from:
protocol conformance descriptor for __C.UIUserInterfaceIdiom : Swift.RawRepresentable in
__C_Synthesized in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_bridgeObjectRelease", referenced from:
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger:
__C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@nonobjc __C.NSURL.init(fileURLWithPath: Swift.String) -> __C.NSURL in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined destroy of [Any] in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined consume of Swift.String? in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@nonobjc __C.UIActivityViewController.init(activityItems: [Any], applicationActivities:
[__C.UIActivity]?) -> __C.UIActivityViewController in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
...
"_swift_allocBox", referenced from:
___swift_allocate_boxed_opaque_existential_0 in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"type metadata accessor for Swift.Array", referenced from:
type metadata accessor for [Swift.String] in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_dynamicCastObjCClassUnconditional", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"protocol conformance descriptor for [A] : Swift.Collection in Swift", referenced from:
lazy protocol witness table accessor for type [Swift.String] and conformance [A] :
Swift.Collection in Swift in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"method descriptor for Swift.RawRepresentable.init(rawValue: A.RawValue) -> A?", referenced
from:
protocol conformance descriptor for __C.UIUserInterfaceIdiom : Swift.RawRepresentable in
__C_Synthesized in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"(extension in Foundation):Swift.Array._bridgeToObjectiveC() -> __C.NSArray", referenced from:
@nonobjc __C.UIActivityViewController.init(activityItems: [Any], applicationActivities:
[__C.UIActivity]?) -> __C.UIActivityViewController in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_getTypeByMangledNameInContext", referenced from:
___swift_instantiateConcreteTypeFromMangledName in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_isaMask", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_getWitnessTable", referenced from:
lazy protocol witness table accessor for type __C.UIUserInterfaceIdiom and conformance
__C.UIUserInterfaceIdiom : Swift.RawRepresentable in __C_Synthesized in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
lazy protocol witness table accessor for type [Swift.String] and conformance [A] :
Swift.Collection in Swift in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_getForeignTypeMetadata", referenced from:
type metadata accessor for __C.UIUserInterfaceIdiom in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"type metadata accessor for Swift.Optional", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined init with take of Foundation.URL? in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined init with copy of Foundation.URL? in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift.== infix<A where A: Swift.RawRepresentable, A.RawValue: Swift.Equatable>(A, A) ->
Swift.Bool", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift._allocateUninitializedArray<A>(Builtin.Word) -> ([A], Builtin.RawPointer)", referenced
from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"static (extension in
Foundation):Swift.Array._unconditionallyBridgeFromObjectiveC(__C.NSArray?) -> [A]", referenced
from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"(extension in Swift):Swift.Collection.first.getter : A.Element?", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"static Foundation.URL._unconditionallyBridgeFromObjectiveC(__C.NSURL?) -> Foundation.URL",
referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file:
Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_dynamicCast", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift.Double.init(Swift.Double) -> Swift.Double", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"method descriptor for Swift.RawRepresentable.rawValue.getter : A.RawValue", referenced from:
protocol conformance descriptor for __C.UIUserInterfaceIdiom : Swift.RawRepresentable in
__C_Synthesized in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_endAccess", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_allocObject", referenced from:
@objc wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result:
(Any?) -> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"static (extension in
Foundation):Swift.String._unconditionallyBridgeFromObjectiveC(__C.NSString?) -> Swift.String",
referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"__swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements", referenced from:
__swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_wc_flutter_share in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
(maybe you meant:
__swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_wc_flutter_share)
"__swift_FORCE_LOAD_$_swiftCompatibility50", referenced from:
__swift_FORCE_LOAD_$_swiftCompatibility50_$_wc_flutter_share in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
(maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibility50_$_wc_flutter_share)
"_swift_bridgeObjectRetain", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined init with copy of Swift.String? in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined copy of Swift.String? in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"static Swift.String.== infix(Swift.String, Swift.String) -> Swift.Bool", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"value witness table for Builtin.UnknownObject", referenced from:
full type metadata for wc_flutter_share.SwiftWcFlutterSharePlugin in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_unknownObjectRelease", referenced from:
static wc_flutter_share.SwiftWcFlutterSharePlugin.register(with:
__C.FlutterPluginRegistrar) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger:
__C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@objc static wc_flutter_share.SwiftWcFlutterSharePlugin.register(with:
__C.FlutterPluginRegistrar) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
reabstraction thunk helper from @escaping @callee_unowned @convention(block) (@unowned
Swift.AnyObject?) -> () to @escaping @callee_guaranteed (@in_guaranteed Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift.Array.append(__owned A) -> ()", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"(extension in Foundation):CoreGraphics.CGFloat._bridgeToObjectiveC() -> __C.NSNumber",
referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_release", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
___swift_destroy_boxed_opaque_existential_0 in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@objc wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result:
(Any?) -> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"protocol witness table for Swift.Int : Swift.Equatable in Swift", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift.Float.init(Swift.Double) -> Swift.Float", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_deallocObject", referenced from:
l_objectdestroy in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_retain", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_unknownObjectRetain", referenced from:
@objc static wc_flutter_share.SwiftWcFlutterSharePlugin.register(with:
__C.FlutterPluginRegistrar) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"type metadata for Any", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@nonobjc __C.UIActivityViewController.init(activityItems: [Any], applicationActivities:
[__C.UIActivity]?) -> __C.UIActivityViewController in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift._bridgeAnythingToObjectiveC<A>(A) -> Swift.AnyObject", referenced from:
reabstraction thunk helper from @escaping @callee_unowned @convention(block) (@unowned
Swift.AnyObject?) -> () to @escaping @callee_guaranteed (@in_guaranteed Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"(extension in Foundation):Swift.String._bridgeToObjectiveC() -> __C.NSString", referenced
from:
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger:
__C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@nonobjc __C.NSURL.init(fileURLWithPath: Swift.String) -> __C.NSURL in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_getObjCClassFromMetadata", referenced from:
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger:
__C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
__C.NSURL.__allocating_init(fileURLWithPath: Swift.String) -> __C.NSURL in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
__C.UIActivityViewController.__allocating_init(activityItems: [Any],
applicationActivities: [__C.UIActivity]?) -> __C.UIActivityViewController in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
__C.NSNumber.__allocating_init(value: Swift.Float) -> __C.NSNumber in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_getObjCClassMetadata", referenced from:
type metadata accessor for __C.FlutterMethodChannel in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
@objc static wc_flutter_share.SwiftWcFlutterSharePlugin.register(with:
__C.FlutterPluginRegistrar) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.NSObject in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.NSDictionary in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.UIActivityViewController in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.NSNumber in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.NSURL in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
...
"type metadata for Swift.String", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for [Swift.String] in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"type metadata accessor for Foundation.URL", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined init with take of Foundation.URL? in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined init with copy of Foundation.URL? in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
outlined destroy of Foundation.URL? in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift._bridgeAnyObjectToAny(Swift.AnyObject?) -> Any", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_getObjectType", referenced from:
static wc_flutter_share.SwiftWcFlutterSharePlugin.register(with:
__C.FlutterPluginRegistrar) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"_swift_getInitializedObjCClass", referenced from:
type metadata accessor for __C.FlutterMethodChannel in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for wc_flutter_share.SwiftWcFlutterSharePlugin in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.NSObject in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.NSDictionary in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.UIActivityViewController in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
type metadata accessor for __C.NSNumber in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
...
"_swift_beginAccess", referenced from:
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
"Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word,
isASCII: Builtin.Int1) -> Swift.String", referenced from:
static wc_flutter_share.SwiftWcFlutterSharePlugin.register(with:
__C.FlutterPluginRegistrar) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.handle(_: __C.FlutterMethodCall, result: (Any?)
-> ()) -> () in libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
wc_flutter_share.SwiftWcFlutterSharePlugin.onShare(args: Any?) -> () in
libwc_flutter_share.a(SwiftWcFlutterSharePlugin.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target
'gRPC-C++-gRPCCertificates-Cpp' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'FMDB' from project
'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'gRPC-C++' from
project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'BoringSSL-GRPC'
from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'gRPC-Core' from
project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'Protobuf' from
project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 5.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'leveldb-library'
from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'GTMSessionFetcher'
from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'abseil' from
project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the
range of supported deployment target versions is 8.0 to 13.5.99. (in target 'nanopb' from
project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 11.
When I add
wc_flutter_share
plugin to my project, it is unable to build for iOS.I am unsure if this issue is related to this error:
I Don't see the error message, but I'm not sure what else it can be.
This is the error I get when I run
flutter run