<rdar://problem/11358639>

Switch over to the "*-apple-macosx" for desktop and "*-apple-ios" for iOS triples.

Also make the selection process for auto selecting platforms based off of an arch much better.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156354 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBDebugger.cpp b/source/API/SBDebugger.cpp
index 46d5118..8eea87a 100644
--- a/source/API/SBDebugger.cpp
+++ b/source/API/SBDebugger.cpp
@@ -435,7 +435,7 @@
 {
     if (arch_name)
     {
-        ArchSpec arch (arch_name, NULL);
+        ArchSpec arch (arch_name);
         if (arch.IsValid())
         {
             Target::SetDefaultArchitecture (arch);