kstenerud / iOS-Universal-Framework

An XCode project template to build universal frameworks (arm7, arm7s, and simulator) for iOS / iPhone.
2.95k stars 474 forks source link

[MK8] Symbols for device and simulator are not combined #182

Open dodikk opened 10 years ago

dodikk commented 10 years ago

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
EmperiorEric commented 10 years ago

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?

dodikk commented 10 years ago

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