Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/117.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios Can';t在xcode'之后使用自己的框架构建Swift应用程序;s 12.5更新_Ios_Swift_Reachability_Xcode12_Reachability Swift - Fatal编程技术网

Ios Can';t在xcode'之后使用自己的框架构建Swift应用程序;s 12.5更新

Ios Can';t在xcode'之后使用自己的框架构建Swift应用程序;s 12.5更新,ios,swift,reachability,xcode12,reachability-swift,Ios,Swift,Reachability,Xcode12,Reachability Swift,由于xcode的12.5更新,我无法使用自己的框架构建应用程序 Failed to build module 'mySwiftxcFramework' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)', may have used features that aren't supported b

由于xcode的12.5更新,我无法使用自己的框架构建应用程序

Failed to build module 'mySwiftxcFramework' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)'
我的框架正在使用,生成的文件中有另一个错误:x86_64-apple-ios-simulator.swifinterface 在这一行:

extension MySwiftFramework.Reachability.NetworkStatus : Swift.Hashable {}
我有这个错误

Conformance of 'Reachability.NetworkStatus' to 'Equatable' is unavailable
经过一些修改,我终于用Swift 5.4构建了我的库(xcframework),但当我尝试导入或嵌入到我的应用程序中时,我在与equatable的一致性方面遇到了相同的错误,但这也是一个新错误:

Failed to build module 'mySwiftxcFramework' from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced

您的最低部署目标是否高于支持的版本?Shou(IPHONEOS_DEPLOYMENT_TARGET)实际上是一样的,我在应用程序测试中指定了部署信息值中的10.2,在我的框架工作中指定了iOSDeploymentTarget中的10.2。我想我终于用swift 5.4重建了我的xcframework。但当我尝试将其添加到应用程序中时,我遇到了一个稍微不同的错误:无法从模块接口构建模块“”;它可能已经损坏,或者在生产Swift编译器时触发了一个bug。您得到解决方案了吗?有相同的问题。你找到解决这个问题的办法了吗@gamerounet