The latest OSX 10.9 SDKs have changed name of the ObjC module to ObjectiveC.

Update everywhere in Swift that refers to this module accordingly.

This change is backwards-incompatible and will require rebuilding any
Objective-C-based object files. I recommend a clean of swiftFoundation
and NSStringDemo at the very least. The swiftObjC target is also being
renamed to swiftObjectiveC for consistency.

Swift SVN r3784
This commit is contained in:
Jordan Rose
2013-01-17 19:46:39 +00:00
parent 1459512901
commit fa197bff3a
7 changed files with 86 additions and 49 deletions

View File

@@ -127,7 +127,7 @@ static bool IRGenImportedModules(TranslationUnit *TU,
StringRef sharedLibName
= llvm::StringSwitch<StringRef>(SubTU->Name.str())
.Case("Foundation", "libswiftFoundation.dylib")
.Case("ObjC", "libswiftObjC.dylib")
.Case("ObjectiveC", "libswiftObjectiveC.dylib")
.Default("");
if (!sharedLibName.empty()) {
loadRuntimeLib(sharedLibName);