Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycle in dependencies between targets 'Material' and 'Motion'; building could produce unreliable results. #1309

Open
Garretming opened this issue Sep 7, 2021 · 0 comments

Comments

@Garretming
Copy link

When I use use_modular_headers! in Podfile ,pod 'Material' ,i got this error.
Showing All Errors Only
Cycle in dependencies between targets 'Material' and 'Motion'; building could produce unreliable results.
Cycle path: Material → Motion → Material
Cycle details:
→ Target 'Material' has a command with output '/Users/test/Library/Developer/Xcode/DerivedData/snack-cdujtgzquuqznrefmfahomuccaiw/Build/Products/UAT_α-iphoneos/Material/libMaterial.a'
○ Target 'Material' has target dependency on Target 'Motion'
→ Target 'Motion': Ditto /Users/test/Library/Developer/Xcode/DerivedData/snack-cdujtgzquuqznrefmfahomuccaiw/Build/Products/UAT_α-iphoneos/Motion/Motion.swiftmodule/Project/armv7.swiftsourceinfo /Users/test/Library/Developer/Xcode/DerivedData/snack-cdujtgzquuqznrefmfahomuccaiw/Build/Intermediates.noindex/Pods.build/UAT_α-iphoneos/Motion.build/Objects-normal/armv7/Motion.swiftsourceinfo
○ Target 'Motion' has compile command for Swift source files
○ That command depends on command in Target 'Motion': script phase “Copy generated compatibility header”
○ Target 'Motion': SwiftMergeGeneratedHeaders /Users/test/Library/Developer/Xcode/DerivedData/snack-cdujtgzquuqznrefmfahomuccaiw/Build/Intermediates.noindex/Pods.build/UAT_α-iphoneos/Motion.build/DerivedSources/Motion-Swift.h /Users/test/Library/Developer/Xcode/DerivedData/snack-cdujtgzquuqznrefmfahomuccaiw/Build/Intermediates.noindex/Pods.build/UAT_α-iphoneos/Motion.build/Objects-normal/arm64/Motion-Swift.h /Users/test/Library/Developer/Xcode/DerivedData/snack-cdujtgzquuqznrefmfahomuccaiw/Build/Intermediates.noindex/Pods.build/UAT_α-iphoneos/Motion.build/Objects-normal/armv7/Motion-Swift.h
○ Target 'Motion' has compile command for Swift source files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant