After updating Xcode 10.0 the following error occurs while building the project.
Cycle in dependencies between targets 'StoreApp' and 'NotificationContentExtension'; building could produce unreliable results. Cycle path: StoreApp → NotificationContentExtension → StoreApp Cycle details: → Target 'StoreApp': LinkStoryboards ○ Target 'StoreApp' has compile command with input
○ Target 'StoreApp' has target dependency on Target 'NotificationContentExtension' ○ That command depends on command in Target 'NotificationContentExtension': script phase “[CP] Check Pods Manifest.lock” → Target 'NotificationContentExtension' has target dependency on Target 'StoreApp' ○ That command depends on command in Target 'StoreApp': script phase “[CP] Check Pods Manifest.lock”
I have tried many different ways suggested in all other questions but none of them are working. Please help me to resolve this issue?
I have solved the issue in the following ways:
First remove the Cocoapod from your project completely in the following way:
After that uninstall Cocoapod from your computer completely: To completely remove, issue the following commands:
If you have multiple versions installed then uninstall them individually as follows:
Run
gem list --local | grep cocoapods
to check whether cocoapods remained in your machine or not.then restart your machine and reinstall Cocoapods into the machine into the following way:
and finally integrate cocoapods with your project.