Xcode 10 Error: Multiple commands produce for 'app' and 'appex'

前端 未结 13 1890
我寻月下人不归
我寻月下人不归 2020-12-29 02:29

I got the recently discussed \"Xcode 10 Error: Multiple commands produce...\" error, but for the resulting app and appex file of my project. Does anyone have an idea what th

相关标签:
13条回答
  • 2020-12-29 03:05

    My Cocoapod version was already 1.5.3(latest). Just running "pod install" (or "pod install --no-repo-update" if you don't want to update existing pods) solved it for me.

    0 讨论(0)
  • 2020-12-29 03:08

    I was able to fix it by opening the Runner workspace project in Xcode 10. Then navigate to File, Workspace Settings and change the build system to Legacy Build System.

    0 讨论(0)
  • 2020-12-29 03:10

    Works form me:

    • Update Cocoapods
    • Delete pod file (Don't forgot to copy the contents some where else, so you can restore it)
    • Delete workspace project file
    • Delete lock pod file
    • Delete pod directory
    • Close the Xcode
    • Initialise pod
    • Install pod
    • Open the workspace project.
    0 讨论(0)
  • 2020-12-29 03:16

    If your error is not gone by updating cocoa pods then simply create new project but change folder location. you will not get this error.

    0 讨论(0)
  • 2020-12-29 03:18

    In my case, there was duplicate reference in Copy Bundle Resources of App Target. I just removed one of them and it worked.

    0 讨论(0)
  • 2020-12-29 03:18

    I had a problem like this . . . The solution worked for me was Go to your Project Target and delete the dupicate reference of your file under the Copy Bundle Resources. Hope this helps!!!

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