Xcode 10 GM multiple command produce… Pods issues

前端 未结 2 1984
后悔当初
后悔当初 2021-01-22 03:05

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 wo

相关标签:
2条回答
  • 2021-01-22 03:23

    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

    0 讨论(0)
  • 2021-01-22 03:37

    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...

    0 讨论(0)
提交回复
热议问题