Skip to content

Commit

Permalink
In Debug build RTAS in 64-bit too, to avoid build errors introduced in
Browse files Browse the repository at this point in the history
  • Loading branch information
yairchu committed Aug 23, 2016
1 parent b48ee44 commit cb5cf47
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -885,7 +885,7 @@ class XCodeProjectExporter : public ProjectExporter

s.add ("PRODUCT_BUNDLE_IDENTIFIER = " + bundleIdentifier);

const String arch ((! owner.isiOS() && type == Target::AudioUnitv3PlugIn) ? osxArch_64Bit : (type == Target::RTASPlugIn) ? osxArch_32BitUniversal : config.osxArchitecture.get());
const String arch ((! owner.isiOS() && type == Target::AudioUnitv3PlugIn) ? osxArch_64Bit : config.osxArchitecture.get());

if (arch == osxArch_Native) s.add ("ARCHS = \"$(NATIVE_ARCH_ACTUAL)\"");
else if (arch == osxArch_32BitUniversal) s.add ("ARCHS = \"$(ARCHS_STANDARD_32_BIT)\"");
Expand Down Expand Up @@ -1068,7 +1068,7 @@ class XCodeProjectExporter : public ProjectExporter
}

s.add ("GCC_PREPROCESSOR_DEFINITIONS = " + indentParenthesisedList (defsList));
if (type == Target::RTASPlugIn) s.add("VALID_ARCHS=\"i386\"");
if (type == Target::RTASPlugIn && !config.isDebug()) s.add("VALID_ARCHS=\"i386\"");
s.addTokens (config.customXcodeFlags.get(), ",", "\"'");

return getCleanedStringArray (s);
Expand Down

0 comments on commit cb5cf47

Please sign in to comment.