【发布时间】:2021-02-09 19:58:42
【问题描述】:
请告诉我,升级到 Xcode 12 后,模拟器停止运行
在 /Users/.../Pods/MobileVLCKit.framework/MobileVLCKit(VLCEmbeddedDialogProvider.o) 中出现错误,为 iOS 模拟器构建,但在为 iOS 构建的目标文件中链接,文件'/Users /.../Pods/MobileVLCKit /MobileVLCKit.framework/MobileVLCKit '用于架构 arm64'
我在 Internet 上找到了一种使用任何 iOS Simulator SDK 选项将 arm64 添加到 Excluded Architectures 的解决方案,我做到了。
那么同样的错误只发生在 i386 架构中,我也将它添加到异常中(出于项目目的和 Pod 目的)
然后与 x86_64 相同,也添加了它
之后出现错误'Build input file cannot be found' /Users/...Library/Developer/Xcode/DerivedData/SWSTB-asdgdfgbgfbg.../Build/Products/Release-iphonesimulator/MYNAME .app/MYNAME'
我尝试清理 DerivedData,但之后又出现错误
不知道怎么解决
在真机上运行良好,问题出在模拟器上
将 Xcode 更新到 12.01,更新 cocoapods,更新 mobilevlckit,错误仍然存在
【问题讨论】:
-
有解决这个问题的办法吗?我已经尝试了所有解决方案。但还是不行。
标签: xcode ios-simulator