iOS-Universal-Framework
iOS-Universal-Framework copied to clipboard
[MK8] Symbols for device and simulator are not combined
Steps :
- Add a framework target for the library
- Build a framework for device
- Build a framework for simulator
Actual result :
Two frameworks have been built - one for device, one - for simulator
ESLocale: Mach-O universal binary with 3 architectures
ESLocale (for architecture armv7): current ar archive random library
ESLocale (for architecture armv7s): current ar archive random library
ESLocale (for architecture cputype (16777228) cpusubtype (0)): current ar archive random library
ESLocale: Mach-O universal binary with 2 architectures
ESLocale (for architecture i386): current ar archive random library
ESLocale (for architecture x86_64): current ar archive random library
Expected Result
The template builds one binary for all architectures
ESLocale: Mach-O universal binary with 5 architectures
ESLocale (for architecture i386): current ar archive random library
ESLocale (for architecture x86_64): current ar archive random library
ESLocale (for architecture armv7): current ar archive random library
ESLocale (for architecture armv7s): current ar archive random library
ESLocale (for architecture cputype (16777228) cpusubtype (0)): current ar archive random library
With Xcode 5.1.1 and Mk8 it doesn't even appear to be building the framework for the simulator at all. Have you run into that problem?
Have you run into that problem?
Exactly. As a workaround I have copy-pasted the bash script from some of my previous projects. Which means "not using Mk8".