Lottie React 本机在 android 上运行良好,但在 iOS 上出错

问题描述

  Lottie.AnimatedButton.init(coder: __C.NSCoder) -> Lottie.AnimatedButton? in liblottie-ios.a(AnimatedButton.o)
  Lottie.AnimatedButton.beginTracking(_: __C.UITouch,with: __C.UIEvent?) -> Swift.Bool in liblottie-ios.a(AnimatedButton.o)
  Lottie.AnimatedButton.endTracking(_: __C.UITouch?,with: __C.UIEvent?) -> () in liblottie-ios.a(AnimatedButton.o)
  Lottie.AnimatedControl.init(animation: Lottie.Animation) -> Lottie.AnimatedControl in liblottie-ios.a(AnimatedControl.o)
  ...

“Swift.Dictionary.subscript.getter : (A) -> B?”,引用自: Lottie.AnimatedButton.beginTracking(: __C.UITouch,with: __C.UIEvent?) -> liblottie-ios.a(AnimatedButton.o) 中的 Swift.Bool Lottie.AnimatedButton.endTracking(: __C.UITouch?,with: __C.UIEvent?) -> () in liblottie-ios.a(AnimatedButton.o) Lottie.AnimatedControl.updateForState() -> () 在 liblottie-ios.a(AnimatedControl.o) Lottie.AnimationView.play(fromMarker: Swift.String?,toMarker: Swift.String,loopMode: Lottie.LottieLoopMode?,completion: (Swift.Bool) -> ()?) -> () 在 liblottie-ios.a(动画视图.o) (Lottie 中的扩展):Lottie.keypathsearchable.nodeProperties(for: Lottie.AnimationKeypath) -> [Lottie.AnyNodeProperty]?在 liblottie-ios.a(AnimationKeypathExtension.o) Lottie.Animation.progresstime(forMarker: Swift.String) -> CoreGraphics.CGFloat?在 liblottie-ios.a(AnimationPublic.o) Lottie.Animation.frameTime(forMarker: Swift.String) -> CoreGraphics.CGFloat?在 liblottie-ios.a(AnimationPublic.o) ... “Swift.ExpressibleByArrayLiteral.ArrayLiteralElement 的关联类型描述符”,引用自: liblottie-ios.a(GradientFillRenderer.o) 中的 l_got.$s19ArrayLiteralElements013ExpressibleByaB0PTl “Swift.KeyedEncodingContainer.encode(_: Swift.Int,forKey: A) throws -> ()”,引用自: Lottie.Animation.encode(to: Swift.Encoder) 在 liblottie-ios.a(Animation.o) 中抛出 -> () Lottie.GradientFill.encode(to: Swift.Encoder) 在 liblottie-ios.a(GradientFill.o) 中抛出 -> () Lottie.Gradientstroke.encode(to: Swift.Encoder) 在 liblottie-ios.a(Gradientstroke.o) 中抛出 -> () Lottie.LayerModel.encode(to: Swift.Encoder) 在 liblottie-ios.a(LayerModel.o) 中抛出 -> () Lottie.TextDocument.encode(to: Swift.Encoder) 在 liblottie-ios.a(TextDocument.o) 中抛出 -> () “Swift.String 的协议见证表:Swift.Hashable in Swift”,引用自: Lottie.CompositionLayer.init(layer: Lottie.LayerModel,size: __C.CGSize) -> liblottie-ios.a(CompositionLayer.o)中的Lottie.CompositionLayer Lottie.CompositionLayer.keypathProperties.getter : liblottie-ios.a(CompositionLayer.o) 中的 [Swift.String : Lottie.AnyNodeProperty] Lottie.PreCompositionLayer.keypathProperties.getter : liblottie-ios.a(PreCompositionLayer.o) 中的 [Swift.String : Lottie.AnyNodeProperty] Lottie.(_94697FD65571290EB0EBC7152C129CA0 中的MaskLayer)。init(掩码:Lottie.Mask)-> Lottie。(_94697FD65571290EB0EBC7152C129CA0 中的MaskLayer)-MaskLayer 中的库。 Lottie.(MaskNodeProperties in 94697FD65571290EB0EBC7152C129CA0).init(mask: Lottie.Mask) -> Lottie.(MaskNodeProperties in 94697FD65571290EB0EBC7152C129CA0. Lottie.ShapeContainerLayer.init() -> 在 liblottie-ios.a(ShapeContainerLayer.o) 中的 Lottie.ShapeContainerLayer Lottie.ShapeRenderLayer.init(renderer: Lottie.NodeOutput & Lottie.Renderable) -> 在 liblottie-ios.a(ShapeRenderLayer.o) 中的 Lottie.ShapeRenderLayer ... “swift_retain”,引用自: Lottie.AnimatedButton.init(animation: Lottie.Animation) -> 在 liblottie-ios.a(AnimatedButton.o) 中的 Lottie.AnimatedButton Lottie.AnimatedControl.animation.didset:Lottie.Animation?在 liblottie-ios.a(AnimatedControl.o) Lottie.AnimatedControl.animation.getter :Lottie.Animation?在 liblottie-ios.a(AnimatedControl.o) Lottie.AnimatedControl.animation.setter :Lottie.Animation?在 liblottie-ios.a(AnimatedControl.o) Lottie.AnimatedControl.init(animation: Lottie.Animation) -> 在 liblottie-ios.a(AnimatedControl.o) 中的 Lottie.AnimatedControl Lottie.AnimatedControl.updateForState() -> () 在 liblottie-ios.a(AnimatedControl.o) Lottie.AnimationContainer.imageProvider.getter : liblottie-ios.a(AnimationContainer.o) 中的 Lottie.AnimationImageProvider ... “静态(Foundation 中的扩展名):Swift.String.Encoding.utf8.getter :(Foundation 中的扩展名):Swift.String.Encoding”,引用自: lottie_react_native.ContainerView.setSourceJson(Swift.String) -> () 在 liblottie-react-native.a(ContainerView.o) “Swift.Int 的协议见证表:Swift.Equatable in Swift”,引用自: Lottie.AnimationContainer.init(animation: Lottie.Animation,imageProvider: Lottie.AnimationImageProvider,textProvider: Lottie.AnimationTextProvider,fontProvider: Lottie.AnimationFontProvider) -> liblottie-ios.a(AnimationContainer.o) 中的 Lottie.AnimationContainer Lottie.CompositionLayer.matteLayer.didset :Lottie.CompositionLayer?在 liblottie-ios.a(CompositionLayer.o) Lottie.PreCompositionLayer.init(precomp: Lottie.PreCompLayerModel,asset: Lottie.PrecompAsset,layerImageProvider: Lottie.LayerImageProvider,fontProvider: Lottie.AnimationFontProvider,assetLibrary: Lottie.AssetLibrary?,frameRate: CoreGraphics. > liblottie-ios.a(PreCompositionLayer.o)中的Lottie.PreCompositionLayer Lottie.AnimationView.layoutAnimation() -> () 在 liblottie-ios.a(AnimationView.o) 静态 Swift.Equatable.== infix(A,A) -> Swift.Bool 符合 Lottie.CoordinateSpace 的协议见证:liblottie-ios.a(Animation.o) 中 Lottie 中的 Swift.Equatable Lottie.BezierPath.init(from: Swift.Decoder) throws -> Lottie.BezierPath in liblottie-ios.a(BezierPath.o) 静态 Swift.Equatable.== infix(A,A) -> Swift.Bool 符合 Lottie.PathDirection 的协议见证:liblottie-ios.a(Ellipse.o) 中 Lottie 中的 Swift.Equatable ... “swift_unkNownObjectWeakLoadStrong”,引用自: Lottie.CompositionLayer.layerDelegate.getter :Lottie.CompositionLayerDelegate?在 liblottie-ios.a(CompositionLayer.o) Lottie.CompositionLayer.layerDelegate.modify :Lottie.CompositionLayerDelegate?在 liblottie-ios.a(CompositionLayer.o) “Swift.FloatingPointRoundingRule.toNearestOrEven(Swift.FloatingPointRoundingRule.Type) -> Swift.FloatingPointRoundingRule 的枚举案例”,引用自: Lottie.AnimationContainer.display() -> () 在 liblottie-ios.a(AnimationContainer.o) Lottie.TextLayer.(updateTextContent in C142282F005803645EC712BF5C5B3C7E)() -> () 在 liblottie-ios.a(TextLayer.o) (Lottie 中的扩展):__C.CGPoint.rounded(decimal: CoreGraphics.CGFloat) -> liblottie-ios.a(MathKit.o) 中的 __C.CGPoint Lottie.polygonNode.rebuildOutputs(frame: CoreGraphics.CGFloat) -> () 在 liblottie-ios.a(polygonNode.o) Lottie.StarNode.rebuildOutputs(frame: CoreGraphics.CGFloat) -> () 在 liblottie-ios.a(StarNode.o) “Foundation.NSLocalizedString(: Swift.String,tableName: Swift.String?,bundle: __C.NSBundle,value: Swift.String,comment: Swift.String) -> Swift.String”,引用自: Lottie.AnimatedSwitch.(updateAccessibilityLabel in 69DC16219B29E88431F21A6FFAC9EAE9)() -> () 在 liblottie-ios.a(AnimatedSwitch.o) (也许你的意思是:Foundation.NSLocalizedString(: Swift.String,comment: Swift.String) 的认参数 3 -> Swift .String,Foundation.NSLocalizedString(: Swift.String,comment: Swift.String) -> Swift.String 的认参数 1,Foundation.NSLocalizedString(: Swift.String,comment: Swift.String) -> Swift.String 的认参数 2 “Swift.Character 的协议见证表:Swift.Equatable in Swift”,引用自: (Lottie 中的扩展):Swift.String.equalsKeypath(Swift.String) -> liblottie-ios.a(AnimationKeypathExtension.o) 中的 Swift.Bool “(Swift 中的扩展):Swift.Range.index(after: A) -> A”,引用自: (Lottie 中的扩展):__C.CALayer.setDebuggingState(visible: Swift.Bool) -> () in liblottie-ios.a(LayerDebugging.o) Lottie.BezierPath.encode(to: Swift.Encoder) 在 liblottie-ios.a(BezierPath.o) 中抛出 -> () Lottie.CurveVertex.distanceto(: Lottie.CurveVertex,sampleCount: Swift.Int) -> liblottie-ios.a(CurveVertex.o) 中的 CoreGraphics.CGFloat Lottie.GradientFillRenderer.render(__C.CGContextRef) -> () 在 liblottie-ios.a(GradientFillRenderer.o) Lottie.GradientValueProvider.(value in 20EE40CC71F69DE358C26FA8AA04C199)(from: [Lottie.Color],location: [Swift.Double]) -> [Swift.Double] in liblottie-ios.a(GradientValueProvider.o) Lottie.BezierPath.interpolateto(: Lottie.BezierPath,amount: CoreGraphics.CGFloat,spatialOutTangent: __C.CGPoint?,spatialInTangent: __C.CGPoint?) -> liblottie-ios.a(InterpolatableExtensions.o) 中的 Lottie.BezierPath ) (Lottie 中的扩展):Swift.Array.interpolateTo(: [Swift.Double],spatialInTangent: __C. CGPoint?) -> [Swift.Double] 在 liblottie-ios.a(InterpolatableExtensions.o) ... “_swift_getTypeByManglednameInContext”,引用自: __swift_instantiateConcreteTypeFromMangledname 在 liblottie-ios.a(AnimatedButton.o) ld:找不到架构 arm64 的符号 clang:错误链接器命令失败,退出代码为 1(使用 -v 查看调用

/Users/faisalkhawaj/Documents/Projects/GWANG/ios/Pods/Pods.xcodeproj:警告:iOS模拟器部署目标'IPHONEOS_DEPLOYMENT_TARGET'设置为8.0,但支持的部署目标版本范围为9.0到14.5。 99. (在项目“Pods”的目标“boost-for-react-native”中) /Users/faisalkhawaj/Documents/Projects/GWANG/ios/Pods/Pods.xcodeproj:警告:iOS 模拟器部署目标“IPHONEOS_DEPLOYMENT_TARGET”设置为 7.0,但支持的部署目标版本范围为 9.0 到 14.5.99。 (在项目“Pods”的目标“react-native-splash-screen”中) /Users/faisalkhawaj/Documents/Projects/GWANG/ios/Pods/Pods.xcodeproj:警告:iOS 模拟器部署目标“IPHONEOS_DEPLOYMENT_TARGET”设置为 7.0,但支持的部署目标版本范围为 9.0 到 14.5.99。 (在项目“Pods”的目标“BVLinearGradient”中) /Users/faisalkhawaj/Documents/Projects/GWANG/ios/Pods/Pods.xcodeproj:警告:iOS 模拟器部署目标“IPHONEOS_DEPLOYMENT_TARGET”设置为 8.0,但支持的部署目标版本范围为 9.0 到 14.5.99。 (在项目“Pods”的目标“RNTextGradientView”中)

objc[26000]:类 AMSupportURLConnectionDelegate 在 /usr/lib/libauthinstall.dylib (0x1f3dc2c10) 和 /System/Library/PrivateFrameworks/mobiledevice.framework/Versions/A/MobileDevice (0x1183d02b8) 中实现。将使用两者之一。哪个是不确定的。 objc[26000]:类 AMSupportURLSession 在 /usr/lib/libauthinstall.dylib (0x1f3dc2c60) 和 /System/Library/PrivateFrameworks/mobiledevice.framework/Versions/A/MobileDevice (0x1183d0308) 中实现。将使用两者之一。哪个是不确定的。 ** 构建失败 **

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)