Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS build problem #4

Open
guilhermefilippo opened this issue Dec 18, 2019 · 3 comments
Open

iOS build problem #4

guilhermefilippo opened this issue Dec 18, 2019 · 3 comments

Comments

@guilhermefilippo
Copy link

Hello,

I'm having this problem when tried to build to iOS:

`Launching lib/main.dart on iPhone 8 in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 15,0s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

=== BUILD TARGET sqflite OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/guilhermefilippo/flutter/.pub-cache/git/core_card_io-13214839aabfdf4a2e71decec19719cdc485d14c/ios/Classes/CoreCardIoPlugin.m:41:38: warning: assigning to 'id _Nullable' from incompatible type 'CoreCardIoPlugin *const __strong'
_scanViewController.delegate = self;
^ ~~~~
1 warning generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
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 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftUIKit'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftMetal'
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 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftCoreMedia'
ld: warning: Could not find or use auto-linked library 'swiftCoreAudio'
ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
Undefined symbols for architecture x86_64:
"value witness table for Builtin.UnknownObject", referenced from:
full type metadata for core_card_io.SwiftCoreCardIoPlugin in core_card_io(SwiftCoreCardIoPlugin.o)
"_swift_FORCE_LOAD$_swiftCompatibilityDynamicReplacements", referenced from:
_swift_FORCE_LOAD$swiftCompatibilityDynamicReplacements$_core_card_io in core_card_io(SwiftCoreCardIoPlugin.o)
(maybe you meant: _swift_FORCE_LOAD$swiftCompatibilityDynamicReplacements$core_card_io)
"swift_allocObject", referenced from:
@objc core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"static (extension in Foundation):Swift.String.unconditionallyBridgeFromObjectiveC(__C.NSString?) -> Swift.String", referenced from:
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"static Swift.String.+ infix(Swift.String, Swift.String) -> Swift.String", referenced from:
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"_swift_unknownObjectRelease", referenced from:
static core_card_io.SwiftCoreCardIoPlugin.register(with: __C.FlutterPluginRegistrar) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in core_card_io(SwiftCoreCardIoPlugin.o)
@objc static core_card_io.SwiftCoreCardIoPlugin.register(with: __C.FlutterPluginRegistrar) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
reabstraction thunk helper from @escaping @callee_unowned @convention(block) (@unowned Swift.AnyObject?) -> () to @escaping @callee_guaranteed (@in_guaranteed Any?) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"swift_release", referenced from:
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
__swift_destroy_boxed_opaque_existential_0 in core_card_io(SwiftCoreCardIoPlugin.o)
@objc core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"_swift_deallocObject", referenced from:
l_objectdestroy in core_card_io(SwiftCoreCardIoPlugin.o)
"swift_retain", referenced from:
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"_swift_unknownObjectRetain", referenced from:
@objc static core_card_io.SwiftCoreCardIoPlugin.register(with: __C.FlutterPluginRegistrar) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"Swift._bridgeAnythingToObjectiveC(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 core_card_io(SwiftCoreCardIoPlugin.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 core_card_io(SwiftCoreCardIoPlugin.o)
"swift_getObjCClassFromMetadata", referenced from:
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in core_card_io(SwiftCoreCardIoPlugin.o)
"type metadata for Swift.String", referenced from:
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"_swift_FORCE_LOAD$_swiftCompatibility50", referenced from:
_swift_FORCE_LOAD$swiftCompatibility50$_core_card_io in core_card_io(SwiftCoreCardIoPlugin.o)
(maybe you meant: _swift_FORCE_LOAD$swiftCompatibility50$_core_card_io)
"_swift_getObjCClassMetadata", referenced from:
type metadata accessor for __C.FlutterMethodChannel in core_card_io(SwiftCoreCardIoPlugin.o)
@objc static core_card_io.SwiftCoreCardIoPlugin.register(with: __C.FlutterPluginRegistrar) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"swift_bridgeObjectRelease", referenced from:
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in core_card_io(SwiftCoreCardIoPlugin.o)
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"_swift_getObjectType", referenced from:
static core_card_io.SwiftCoreCardIoPlugin.register(with: __C.FlutterPluginRegistrar) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"swift_getInitializedObjCClass", referenced from:
type metadata accessor for __C.FlutterMethodChannel in core_card_io(SwiftCoreCardIoPlugin.o)
type metadata accessor for core_card_io.SwiftCoreCardIoPlugin in core_card_io(SwiftCoreCardIoPlugin.o)
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
"Swift.String.init(builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String", referenced from:
static core_card_io.SwiftCoreCardIoPlugin.register(with: __C.FlutterPluginRegistrar) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
core_card_io.SwiftCoreCardIoPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in core_card_io(SwiftCoreCardIoPlugin.o)
ld: symbol(s) not found for architecture x86_64
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 8.`

Can anybody help me?

Thanks.

@Noninus
Copy link

Noninus commented Feb 26, 2020

Same problem here!

@shaun0203
Copy link

shaun0203 commented Apr 26, 2020

I am having the same issue... Is the repo being maintained? Seems like as soon as this package is added... my whole project breaks

@guilhermefilippo
Copy link
Author

Hello @shaun0203 @Noninus

Add on pubspec.yaml

  flutter_card_io:
    git:
      url: git://github.com/ogestor/flutter_card_io.git

OR

  flutter_card_io:
    git:
      url: git://github.com/procedurallygenerated/flutter_card_io.git

This repository is working to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants