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

Build archive error vs Xcode10 #21583

Closed
tunm1228 opened this Issue Oct 9, 2018 · 6 comments

Comments

Projects
None yet
7 participants
@tunm1228
Copy link

tunm1228 commented Oct 9, 2018

Multiple commands produce '/Users/tu/Library/Developer/Xcode/DerivedData/Tituk-fndmfujccqhdareyswrxhslqzyvn/Build/Intermediates.noindex/ArchiveIntermediates/Tituk/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a':

  1. Target 'yoga' has a command with output '/Users/tu/Library/Developer/Xcode/DerivedData/Tituk-fndmfujccqhdareyswrxhslqzyvn/Build/Intermediates.noindex/ArchiveIntermediates/Tituk/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a'
  2. Target 'yoga' has a command with output '/Users/tu/Library/Developer/Xcode/DerivedData/Tituk-fndmfujccqhdareyswrxhslqzyvn/Build/Intermediates.noindex/ArchiveIntermediates/Tituk/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a'

@tunm1228 tunm1228 changed the title Build archive error Build archive error vs Xcode10 Oct 9, 2018

@wd

This comment has been minimized.

Copy link

wd commented Oct 9, 2018

There should something like bellow in your Podfile

  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end

    if target.name == "yoga"
      target.remove_from_project
    end
  end
@react-native-bot

This comment has been minimized.

Copy link
Collaborator

react-native-bot commented Oct 9, 2018

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@dreallday

This comment has been minimized.

Copy link

dreallday commented Oct 15, 2018

Thanks @wd !

I ran into the same problem as OP and by adding what you said to the Podfile fixed the issue.

    if target.name == "yoga"
      target.remove_from_project
    end
@AshokICreate

This comment has been minimized.

Copy link

AshokICreate commented Oct 18, 2018

The above solution works...

@ObidosDev

This comment has been minimized.

Copy link

ObidosDev commented Nov 15, 2018

Also do not forget call pod install

@prashen

This comment has been minimized.

Copy link

prashen commented Jan 14, 2019

@wd Thanks it worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.