0
votes

Lets say 2 Frameworks A & B are created. Inside framework A, using Cartthage framework B is included. Now when I include framework A in a project using carthage, it checks out both of them but only builds B.

What should I do to get framework A also built ?

Cartfile for framework A:

git "http://location/to/fwk/b" "branch"

Cartfile for Project:

git "http://location/to/fwk/a" "branch"

Once I run carthage update from the project location, I can see from the logs that both frameworks are checked out but in the build location I can only see Framework B.

Also tried adding framework B to Cartfile.private but it didnt help

1
What are your cartfiles, what commands are you using? This is almost certainly user error and you haven't provided enough information to see where it is.Will M.
@WillM. added cartfile contentsuser5381191
Perhaps Framework A is failing to build due to an error in the code. There should be logs from the build process that say what frameworks are being built and the result of the process.Will M.
@WillM. Thought the same, so I started to test the scenario with empty framework (just a class and a silly method to log), but its the same issueuser5381191
and the logs dont say anything?Will M.

1 Answers

0
votes

Open project framework A and select shared scheme from Manage scheme. Then run the command carthage update.