faithfracture / Apple-Boost-BuildScript

Script for building Boost for Apple platforms (iOS, iOS Simulator, tvOS, tvOS Simulator, OS X)
279 stars 111 forks source link

Scrunching / Framework doesn't work when multiple targets are specified #27

Open faithfracture opened 6 years ago

faithfracture commented 6 years ago

If you specify both -macos and -ios targets, the scrunchAllLibsTogetherInOneLibPerPlatform step won't work correctly, and as a result of that buildFramework also. The scrunch function loops over all the libs defined in BOOSTRAP_LIBS. Since this can be different for each platform depending on the libraries specified, things get a little messed up.

I think I broke this when I figuring out which libraries are actually available on which platforms.

You can still build each platform individually though, so do that as a work around for the time being.

I think the solution for this will be the same thing as #15.