iOS-Universal-Framework icon indicating copy to clipboard operation
iOS-Universal-Framework copied to clipboard

[MK8] Symbols for device and simulator are not combined

Open dodikk opened this issue 10 years ago • 2 comments

Steps :

  1. Add a framework target for the library
  2. Build a framework for device
  3. 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

dodikk avatar Apr 21 '14 14:04 dodikk

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?

EmperiorEric avatar May 06 '14 20:05 EmperiorEric

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".

dodikk avatar May 07 '14 06:05 dodikk