passionui / support

0 stars 0 forks source link

iOS does not build #16

Closed haroldh17 closed 4 years ago

haroldh17 commented 4 years ago

Build does not work, I have several errors. Please help me build the project.

image

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 'swiftUIKit' ld: warning: Could not find or use auto-linked library 'swiftDarwin' ld: warning: Could not find or use auto-linked library 'swiftObjectiveC' ld: warning: Could not find or use auto-linked library 'swiftDispatch' 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 'swiftCompatibilityDynamicReplacements' ld: warning: Could not find or use auto-linked library 'swiftCoreImage' ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport' Undefined symbols for architecture x86_64: "associated type descriptor for Swift.ExpressibleByFloatLiteral.FloatLiteralType", referenced from: protocol conformance descriptor for C.YGValue : Swift.ExpressibleByFloatLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "associated type descriptor for Swift.ExpressibleByIntegerLiteral.IntegerLiteralType", referenced from: protocol conformance descriptor for C.YGValue : Swift.ExpressibleByIntegerLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "value witness table for Builtin.Int32", referenced from: full type metadata for C.YGUnit in libYogaKit.a(YGLayoutExtensions.o) "protocol witness table for Swift.Float : Swift._ExpressibleByBuiltinFloatLiteral in Swift", referenced from: associated type witness table accessor for Swift.ExpressibleByFloatLiteral.FloatLiteralType : Swift._ExpressibleByBuiltinFloatLiteral in C.YGValue : Swift.ExpressibleByFloatLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "Swift.Float.init(Swift.Double) -> Swift.Float", referenced from: static (extension in YogaKit):CoreGraphics.CGFloat.% postfix(CoreGraphics.CGFloat) -> C.YGValue in libYogaKit.a(YGLayoutExtensions.o) (extension in YogaKit):C.YGValue.init(CoreGraphics.CGFloat) -> C.YGValue in libYogaKit.a(YGLayoutExtensions.o) "protocol witness table for Swift.Int : Swift._ExpressibleByBuiltinIntegerLiteral in Swift", referenced from: associated type witness table accessor for Swift.ExpressibleByIntegerLiteral.IntegerLiteralType : Swift._ExpressibleByBuiltinIntegerLiteral in C.YGValue : Swift.ExpressibleByIntegerLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "protocol descriptor for Swift.ExpressibleByFloatLiteral", referenced from: protocol conformance descriptor for C.YGValue : Swift.ExpressibleByFloatLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "method descriptor for Swift.ExpressibleByFloatLiteral.init(floatLiteral: A.FloatLiteralType) -> A", referenced from: protocol conformance descriptor for C.YGValue : Swift.ExpressibleByFloatLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "associated conformance descriptor for Swift.ExpressibleByFloatLiteral.Swift.ExpressibleByFloatLiteral.FloatLiteralType: Swift._ExpressibleByBuiltinFloatLiteral", referenced from: protocol conformance descriptor for C.YGValue : Swift.ExpressibleByFloatLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "protocol descriptor for Swift.ExpressibleByIntegerLiteral", referenced from: protocol conformance descriptor for C.YGValue : Swift.ExpressibleByIntegerLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "method descriptor for Swift.ExpressibleByIntegerLiteral.init(integerLiteral: A.IntegerLiteralType) -> A", referenced from: protocol conformance descriptor for __C.YGValue : Swift.ExpressibleByIntegerLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "associated conformance descriptor for Swift.ExpressibleByIntegerLiteral.Swift.ExpressibleByIntegerLiteral.IntegerLiteralType: Swift._ExpressibleByBuiltinIntegerLiteral", referenced from: protocol conformance descriptor for C.YGValue : Swift.ExpressibleByIntegerLiteral in YogaKit in libYogaKit.a(YGLayoutExtensions.o) "swift_FORCELOAD$_swiftCompatibility50", referenced from: swift_FORCELOAD$swiftCompatibility50$_YogaKit in libYogaKit.a(YGLayoutExtensions.o) (maybe you meant: swift_FORCELOAD$swiftCompatibility50$_YogaKit) "swift_FORCELOAD$_swiftCompatibilityDynamicReplacements", referenced from: swift_FORCELOAD$swiftCompatibilityDynamicReplacements$_YogaKit in libYogaKit.a(YGLayoutExtensions.o) (maybe you meant: swift_FORCELOAD$swiftCompatibilityDynamicReplacements$_YogaKit) "_swift_getForeignTypeMetadata", referenced from: type metadata accessor for C.YGValue in libYogaKit.a(YGLayoutExtensions.o) type metadata accessor for __C.YGUnit in libYogaKit.a(YGLayoutExtensions.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

haroldh17 commented 4 years ago

I found how to fix this issue. I just had to add a swift file to the project. https://github.com/facebook/react-native-fbsdk/issues/755