Skip to content

Xcodebuild failed #397

Closed Answered by swiftyfinch
denandreychuk asked this question in Q&A
May 23, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @denandreychuk!

First of all, could you please provide an example to reproduce the issue?
This would be greatly appreciated.

Do you include targets with different options (such as use_frameworks!) in your Podfile? If so, you should only build one target at a time, as Rugby builds all targets in the Pods project by default.

For example, take a look at the Podfile of the Rugby Example project. There are two different targets defined there:

target 'ExampleFrameworks' do
  use_frameworks!
  ...
end

target 'ExampleLibs' do
  use_modular_headers!
end

They group similar pods together, but in a different way.
You can build the configuration like this:

> rugby build --targets Pods-ExampleFr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@swiftyfinch
Comment options

Answer selected by swiftyfinch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
🤔 Question Further information is requested
2 participants