kstenerud/iOS-Universal-Framework — pull request #160 by xiaowei4895 (2013-11-28 04:37:00+00:00)
Title: Fix embeddedframework "Create product structure" build fail with xcode5.

It is a logic error in creating embeddedframework structure.

In build_embedded_framework function, the script removes the embeddedframework path at first and create a new one. After that it copies xxx.framework to embededframework folder. But at the second time of building, xxx.framework is only a link. The real data is in embeddedframework. If embeddedframework path is removed first, the result data is gone and link becomes invalid. Then the copy action is failed and an invalid link of xxx.framework left which will cause "create product structure" error during afterward builds.

If invalid xxx.framework link is already exist, it must be removed manually.