Max Kraev
Max Kraev

Reputation: 770

Xcode 10 GM multiple command produce... Pods issues

Just switched to xcode 10 Golden Master and start getting the error with one of my pods, FDTake. Tried this thread but I don't have a plist in my build phases, so it didn't work. Is this issue pod related?

Showing All Messages
:-1: Multiple commands produce '***/Xcode/DerivedData/app-fgyqhwrvkbjquheilgwhyjltujtz/Build/Products/Dev-iphonesimulator/FDTake/FDTake.framework/Info.plist':
1) Target 'FDTake' (project 'Pods') has copy command from '***/GoogleDrive/dev/_ios/Work/sutulp/Pods/FDTake/Source/Info.plist' to '***Xcode/DerivedData/app-fgyqhwrvkbjquheilgwhyjltujtz/Build/Products/Dev-iphonesimulator/FDTake/FDTake.framework/Info.plist'
2) Target 'FDTake' (project 'Pods') has process command with output '***Xcode/DerivedData/app-fgyqhwrvkbjquheilgwhyjltujtz/Build/Products/Dev-iphonesimulator/FDTake/FDTake.framework/Info.plist'

I also tried to remove the derived data folder, but it didn't work either. Tried to clean the project and so on – no luck. Any advice is appreciated.

Switch to old build system will not be a solution.

Upvotes: 2

Views: 4428

Answers (2)

Carlos S
Carlos S

Reputation: 26

This looks very similar to this question: Xcode 10 Error: Multiple commands produce

Here is a link to the most voted answer https://stackoverflow.com/a/50719379

If this doesn't work, you may have a Pod dependency cycle for that pod.

In my case, there was such an issue.

In my pod project the target Lock had a target dependency to the Lock-Auth0 framework so I had to remove the line for "Lock-Auth0" for the Lock target by going to Build Settings > Target Dependencies > & Copy Bundle Resources (this will be undone if you run pod install again) .

I took a look at the Lock.podspec and realized that the dependency has been removed on the latest version so upgrading to the most recent version of the Pod will be my next step.

Hope this helps.

here is a screenshot of my error

Upvotes: 0

Pratik Sodha
Pratik Sodha

Reputation: 3727

I had same problem with Xcode 10 GM. In my case Cocoapods not found. So, require to re-installed it.

  • To find if Cocoapods is installed or not run command on terminal. pod --version
  • if the result is Not Found Pods is not installed. So, run command on terminal $ sudo gem install cocoapods --source http://rubygems.org

Hope it's helps to you...

Upvotes: 1

Related Questions