gpt4 book ai didi

reactjs - 在目标 'FBReactNativeSpec' 和 'Yoga' 之间循环依赖;建筑可能会产生不可靠的结果

转载 作者:行者123 更新时间:2023-12-04 15:20:42 25 4
gpt4 key购买 nike

每当我运行“react-native run-ios”时,我都会收到以下构建错误

error: Cycle in dependencies between targets 'FBReactNativeSpec' and'Yoga'; building could produce unreliable results. Cycle path:FBReactNativeSpec → Folly → glog → YogaKit → Yoga → FBReactNativeSpecCycle details: → Target 'FBReactNativeSpec' has target dependency onTarget 'Folly' → Target 'Folly' has target dependency on Target 'glog'→ Target 'glog' has compile command with input'/Users/ajayhg/Myproj/ios/Pods/Target Support Files/glog/glog-dummy.m'○ That command depends on command in Target 'YogaKit': script phase“Copy generated compatibility header” → Target 'YogaKit' has targetdependency on Target 'Yoga' → Target 'Yoga' has compile command withinput '/Users/ajayhg/Myproj/ios/Pods/Target SupportFiles/Yoga/Yoga-dummy.m'


如何解决这个问题?

最佳答案

我通过执行 ⌘+Shift+K 并重建解决了这个问题。

关于reactjs - 在目标 'FBReactNativeSpec' 和 'Yoga' 之间循环依赖;建筑可能会产生不可靠的结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63381573/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com