Skip to content

Commit 77e9497

Browse files
committed
Renamed 'SwiftFoundation' (OSX module) to 'PortableFoundation', so it
can be installed together with the native SDK overlay.
1 parent 4e9869a commit 77e9497

File tree

66 files changed

+98
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+98
-104
lines changed

CoreFoundation/Base.subproj/CFRuntime.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ void __CFInitialize(void) {
10511051
#if TARGET_OS_LINUX
10521052
#define __CFSwiftGetBaseClass _TF10Foundation21__CFSwiftGetBaseClassFT_PMPs9AnyObject_
10531053
#elif TARGET_OS_MAC
1054-
#define __CFSwiftGetBaseClass _TF15SwiftFoundation21__CFSwiftGetBaseClassFT_PMPs9AnyObject_
1054+
#define __CFSwiftGetBaseClass _TF18PortableFoundation21__CFSwiftGetBaseClassFT_PMPs9AnyObject_
10551055
#endif
10561056
#endif
10571057
extern uintptr_t __CFSwiftGetBaseClass();
@@ -1164,7 +1164,7 @@ void __CFInitialize(void) {
11641164
#if TARGET_OS_LINUX
11651165
#define __CFInitializeSwift _TF10Foundation19__CFInitializeSwiftFT_T_
11661166
#elif TARGET_OS_MAC
1167-
#define __CFInitializeSwift _TF15SwiftFoundation19__CFInitializeSwiftFT_T_
1167+
#define __CFInitializeSwift _TF18PortableFoundation19__CFInitializeSwiftFT_T_
11681168
#endif
11691169
#endif
11701170
extern void __CFInitializeSwift();

CoreFoundation/Base.subproj/DarwinSymbolAliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
# This is specific to Swift open source; Foundation's NSCFConstantString is used as our constant string class reference
4-
__TMC15SwiftFoundation19_NSCFConstantString ___CFConstantStringClassReference
4+
__TMC18PortableFoundation19_NSCFConstantString ___CFConstantStringClassReference
55

66
_kCFCalendarIdentifierBuddhist _kCFBuddhistCalendar
77
_kCFCalendarIdentifierChinese _kCFChineseCalendar

Docs/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Build and test steps:
2525

2626
0. Run Xcode with the latest toolchain. Follow [the instructions here](https://swift.org/download/#apple-platforms) to start Xcode with the correct toolchain.
2727
0. Open `Foundation.xcworkspace`.
28-
0. Build the _SwiftFoundation_ target. This builds CoreFoundation and Foundation.
28+
0. Build the _PortableFoundation_ target. This builds CoreFoundation and Foundation.
2929
0. Run (Cmd-R) the _TestFoundation_ target. This builds CoreFoundation, Foundation, XCTest, and TestFoundation, then runs the tests.
3030

3131
> Note: If you see the name of the XCTest project file in red in the workspace, then Xcode cannot find the cloned XCTest repository. Make sure that it is located next to the `swift-corelibs-foundation` directory and has the name `swift-corelibs-xctest`.

Foundation.xcodeproj/project.pbxproj

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
5BDC3FCC1BCF177E00ED97BB /* NSCFString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDC3FCB1BCF177E00ED97BB /* NSCFString.swift */; };
216216
5BDC3FCE1BCF17D300ED97BB /* NSCFDictionary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDC3FCD1BCF17D300ED97BB /* NSCFDictionary.swift */; };
217217
5BDC3FD01BCF17E600ED97BB /* NSCFSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDC3FCF1BCF17E600ED97BB /* NSCFSet.swift */; };
218-
5BDC406C1BD6D89300ED97BB /* SwiftFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B5D885D1BBC938800234F36 /* SwiftFoundation.framework */; };
219-
5BDC406E1BD6D8C400ED97BB /* SwiftFoundation.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5B5D885D1BBC938800234F36 /* SwiftFoundation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
218+
5BDC406C1BD6D89300ED97BB /* PortableFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B5D885D1BBC938800234F36 /* PortableFoundation.framework */; };
219+
5BDC406E1BD6D8C400ED97BB /* PortableFoundation.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5B5D885D1BBC938800234F36 /* PortableFoundation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
220220
5BDF62901C1A550800A89075 /* CFRegularExpression.c in Sources */ = {isa = PBXBuildFile; fileRef = 5BDF628E1C1A550800A89075 /* CFRegularExpression.c */; };
221221
5BDF62911C1A550800A89075 /* CFRegularExpression.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BDF628F1C1A550800A89075 /* CFRegularExpression.h */; settings = {ATTRIBUTES = (Private, ); }; };
222222
5BF7AE831BCD50CD008F214A /* NSArray.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDC3F2E1BCC5DCB00ED97BB /* NSArray.swift */; };
@@ -256,7 +256,7 @@
256256
61E011821C1B599A000037DD /* CFMachPort.c in Sources */ = {isa = PBXBuildFile; fileRef = 5B5D88D01BBC9AAC00234F36 /* CFMachPort.c */; };
257257
7900433B1CACD33E00ECCBF1 /* TestNSCompoundPredicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 790043391CACD33E00ECCBF1 /* TestNSCompoundPredicate.swift */; };
258258
7900433C1CACD33E00ECCBF1 /* TestNSPredicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7900433A1CACD33E00ECCBF1 /* TestNSPredicate.swift */; };
259-
AE35A1861CBAC85E0042DB84 /* SwiftFoundation.h in Headers */ = {isa = PBXBuildFile; fileRef = AE35A1851CBAC85E0042DB84 /* SwiftFoundation.h */; settings = {ATTRIBUTES = (Public, ); }; };
259+
AE35A1861CBAC85E0042DB84 /* PortableFoundation.h in Headers */ = {isa = PBXBuildFile; fileRef = AE35A1851CBAC85E0042DB84 /* PortableFoundation.h */; settings = {ATTRIBUTES = (Public, ); }; };
260260
CE19A88C1C23AA2300B4CB6A /* NSStringTestData.txt in Resources */ = {isa = PBXBuildFile; fileRef = CE19A88B1C23AA2300B4CB6A /* NSStringTestData.txt */; };
261261
D31302011C30CEA900295652 /* NSConcreteValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = D31302001C30CEA900295652 /* NSConcreteValue.swift */; };
262262
D370696E1C394FBF00295652 /* NSKeyedUnarchiver-RangeTest.plist in Resources */ = {isa = PBXBuildFile; fileRef = D370696D1C394FBF00295652 /* NSKeyedUnarchiver-RangeTest.plist */; };
@@ -283,7 +283,7 @@
283283
EA66F6481BF1619600136161 /* NSURLTestData.plist in Resources */ = {isa = PBXBuildFile; fileRef = EA66F63B1BF1619600136161 /* NSURLTestData.plist */; };
284284
EA66F6671BF2F2F100136161 /* CoreFoundation.h in Headers */ = {isa = PBXBuildFile; fileRef = EA66F6651BF2F2E800136161 /* CoreFoundation.h */; settings = {ATTRIBUTES = (Public, ); }; };
285285
EA66F6761BF56CDE00136161 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA66F6691BF55D4B00136161 /* main.swift */; };
286-
EA66F6771BF56D4C00136161 /* SwiftFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B5D885D1BBC938800234F36 /* SwiftFoundation.framework */; };
286+
EA66F6771BF56D4C00136161 /* PortableFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B5D885D1BBC938800234F36 /* PortableFoundation.framework */; };
287287
EAB57B721BD1C7A5004AC5C5 /* NSPortMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAB57B711BD1C7A5004AC5C5 /* NSPortMessage.swift */; };
288288
EADE0B4E1BD09E0800C49C64 /* NSAffineTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = EADE0B4D1BD09E0800C49C64 /* NSAffineTransform.swift */; };
289289
EADE0B501BD09E3100C49C64 /* NSAttributedString.swift in Sources */ = {isa = PBXBuildFile; fileRef = EADE0B4F1BD09E3100C49C64 /* NSAttributedString.swift */; };
@@ -373,7 +373,7 @@
373373
dstPath = "";
374374
dstSubfolderSpec = 10;
375375
files = (
376-
5BDC406E1BD6D8C400ED97BB /* SwiftFoundation.framework in CopyFiles */,
376+
5BDC406E1BD6D8C400ED97BB /* PortableFoundation.framework in CopyFiles */,
377377
);
378378
runOnlyForDeploymentPostprocessing = 0;
379379
};
@@ -405,7 +405,7 @@
405405
5B40F9EC1C124F45000E72E3 /* CFXMLInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CFXMLInterface.h; sourceTree = "<group>"; };
406406
5B40F9F11C125187000E72E3 /* TestNSXMLParser.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestNSXMLParser.swift; sourceTree = "<group>"; };
407407
5B40F9F31C12524C000E72E3 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; };
408-
5B5D885D1BBC938800234F36 /* SwiftFoundation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftFoundation.framework; sourceTree = BUILT_PRODUCTS_DIR; };
408+
5B5D885D1BBC938800234F36 /* PortableFoundation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PortableFoundation.framework; sourceTree = BUILT_PRODUCTS_DIR; };
409409
5B5D886A1BBC948300234F36 /* CFApplicationPreferences.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = CFApplicationPreferences.c; sourceTree = "<group>"; };
410410
5B5D886C1BBC94C400234F36 /* CFPreferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CFPreferences.h; sourceTree = "<group>"; };
411411
5B5D88721BBC952A00234F36 /* CFBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CFBase.h; sourceTree = "<group>"; };
@@ -627,7 +627,7 @@
627627
84BA558D1C16F90900F48C54 /* TestNSTimeZone.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestNSTimeZone.swift; sourceTree = "<group>"; };
628628
88D28DE61C13AE9000494606 /* TestNSGeometry.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestNSGeometry.swift; sourceTree = "<group>"; };
629629
A5A34B551C18C85D00FD972B /* TestNSByteCountFormatter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestNSByteCountFormatter.swift; sourceTree = "<group>"; };
630-
AE35A1851CBAC85E0042DB84 /* SwiftFoundation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SwiftFoundation.h; sourceTree = "<group>"; };
630+
AE35A1851CBAC85E0042DB84 /* PortableFoundation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PortableFoundation.h; sourceTree = "<group>"; };
631631
C2A9D75B1C15C08B00993803 /* TestNSUUID.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestNSUUID.swift; sourceTree = "<group>"; };
632632
C93559281C12C49F009FD6A9 /* TestNSAffineTransform.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestNSAffineTransform.swift; sourceTree = "<group>"; };
633633
CE19A88B1C23AA2300B4CB6A /* NSStringTestData.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = NSStringTestData.txt; sourceTree = "<group>"; };
@@ -770,15 +770,15 @@
770770
isa = PBXFrameworksBuildPhase;
771771
buildActionMask = 2147483647;
772772
files = (
773-
5BDC406C1BD6D89300ED97BB /* SwiftFoundation.framework in Frameworks */,
773+
5BDC406C1BD6D89300ED97BB /* PortableFoundation.framework in Frameworks */,
774774
);
775775
runOnlyForDeploymentPostprocessing = 0;
776776
};
777777
EA66F66C1BF56CCB00136161 /* Frameworks */ = {
778778
isa = PBXFrameworksBuildPhase;
779779
buildActionMask = 2147483647;
780780
files = (
781-
EA66F6771BF56D4C00136161 /* SwiftFoundation.framework in Frameworks */,
781+
EA66F6771BF56D4C00136161 /* PortableFoundation.framework in Frameworks */,
782782
);
783783
runOnlyForDeploymentPostprocessing = 0;
784784
};
@@ -804,7 +804,7 @@
804804
5B5D885E1BBC938800234F36 /* Products */ = {
805805
isa = PBXGroup;
806806
children = (
807-
5B5D885D1BBC938800234F36 /* SwiftFoundation.framework */,
807+
5B5D885D1BBC938800234F36 /* PortableFoundation.framework */,
808808
5BDC405C1BD6D83B00ED97BB /* TestFoundation.app */,
809809
5B7C8A6E1BEA7F8F00C5B690 /* libCoreFoundation.a */,
810810
EA66F66F1BF56CCB00136161 /* plutil */,
@@ -1504,7 +1504,7 @@
15041504
isa = PBXGroup;
15051505
children = (
15061506
EADE0B531BD15DFF00C49C64 /* Info.plist */,
1507-
AE35A1851CBAC85E0042DB84 /* SwiftFoundation.h */,
1507+
AE35A1851CBAC85E0042DB84 /* PortableFoundation.h */,
15081508
);
15091509
name = Resources;
15101510
sourceTree = "<group>";
@@ -1516,7 +1516,7 @@
15161516
isa = PBXHeadersBuildPhase;
15171517
buildActionMask = 2147483647;
15181518
files = (
1519-
AE35A1861CBAC85E0042DB84 /* SwiftFoundation.h in Headers */,
1519+
AE35A1861CBAC85E0042DB84 /* PortableFoundation.h in Headers */,
15201520
);
15211521
runOnlyForDeploymentPostprocessing = 0;
15221522
};
@@ -1607,9 +1607,9 @@
16071607
/* End PBXHeadersBuildPhase section */
16081608

16091609
/* Begin PBXNativeTarget section */
1610-
5B5D885C1BBC938800234F36 /* SwiftFoundation */ = {
1610+
5B5D885C1BBC938800234F36 /* PortableFoundation */ = {
16111611
isa = PBXNativeTarget;
1612-
buildConfigurationList = 5B5D88651BBC938800234F36 /* Build configuration list for PBXNativeTarget "SwiftFoundation" */;
1612+
buildConfigurationList = 5B5D88651BBC938800234F36 /* Build configuration list for PBXNativeTarget "PortableFoundation" */;
16131613
buildPhases = (
16141614
5B5D88591BBC938800234F36 /* Frameworks */,
16151615
5B5D885A1BBC938800234F36 /* Headers */,
@@ -1622,9 +1622,9 @@
16221622
dependencies = (
16231623
EA993CE31BEACD8E000969A2 /* PBXTargetDependency */,
16241624
);
1625-
name = SwiftFoundation;
1625+
name = PortableFoundation;
16261626
productName = CoreFoundation;
1627-
productReference = 5B5D885D1BBC938800234F36 /* SwiftFoundation.framework */;
1627+
productReference = 5B5D885D1BBC938800234F36 /* PortableFoundation.framework */;
16281628
productType = "com.apple.product-type.framework";
16291629
};
16301630
5B7C8A6D1BEA7F8F00C5B690 /* CoreFoundation */ = {
@@ -1715,7 +1715,7 @@
17151715
projectDirPath = "";
17161716
projectRoot = "";
17171717
targets = (
1718-
5B5D885C1BBC938800234F36 /* SwiftFoundation */,
1718+
5B5D885C1BBC938800234F36 /* PortableFoundation */,
17191719
5BDC405B1BD6D83B00ED97BB /* TestFoundation */,
17201720
5B7C8A6D1BEA7F8F00C5B690 /* CoreFoundation */,
17211721
EA66F66E1BF56CCB00136161 /* plutil */,
@@ -2400,7 +2400,7 @@
24002400
defaultConfigurationIsVisible = 0;
24012401
defaultConfigurationName = Release;
24022402
};
2403-
5B5D88651BBC938800234F36 /* Build configuration list for PBXNativeTarget "SwiftFoundation" */ = {
2403+
5B5D88651BBC938800234F36 /* Build configuration list for PBXNativeTarget "PortableFoundation" */ = {
24042404
isa = XCConfigurationList;
24052405
buildConfigurations = (
24062406
5B5D88661BBC938800234F36 /* Debug */,

Foundation.xcodeproj/xcshareddata/xcschemes/SwiftFoundation.xcscheme renamed to Foundation.xcodeproj/xcshareddata/xcschemes/PortableFoundation.xcscheme

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
buildForRunning = "YES"
1212
buildForProfiling = "YES"
1313
buildForArchiving = "YES"
14-
buildForAnalyzing = "YES"
15-
hideIssues = "NO">
14+
buildForAnalyzing = "YES">
1615
<BuildableReference
1716
BuildableIdentifier = "primary"
1817
BlueprintIdentifier = "5B5D885C1BBC938800234F36"
19-
BuildableName = "SwiftFoundation.framework"
20-
BlueprintName = "SwiftFoundation"
18+
BuildableName = "PortableFoundation.framework"
19+
BlueprintName = "PortableFoundation"
2120
ReferencedContainer = "container:Foundation.xcodeproj">
2221
</BuildableReference>
2322
</BuildActionEntry>
@@ -47,8 +46,8 @@
4746
<BuildableReference
4847
BuildableIdentifier = "primary"
4948
BlueprintIdentifier = "5B5D885C1BBC938800234F36"
50-
BuildableName = "SwiftFoundation.framework"
51-
BlueprintName = "SwiftFoundation"
49+
BuildableName = "PortableFoundation.framework"
50+
BlueprintName = "PortableFoundation"
5251
ReferencedContainer = "container:Foundation.xcodeproj">
5352
</BuildableReference>
5453
</MacroExpansion>
@@ -65,8 +64,8 @@
6564
<BuildableReference
6665
BuildableIdentifier = "primary"
6766
BlueprintIdentifier = "5B5D885C1BBC938800234F36"
68-
BuildableName = "SwiftFoundation.framework"
69-
BlueprintName = "SwiftFoundation"
67+
BuildableName = "PortableFoundation.framework"
68+
BlueprintName = "PortableFoundation"
7069
ReferencedContainer = "container:Foundation.xcodeproj">
7170
</BuildableReference>
7271
</MacroExpansion>

Foundation.xcodeproj/xcshareddata/xcschemes/TestFoundation.xcscheme

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
buildForRunning = "YES"
1212
buildForProfiling = "YES"
1313
buildForArchiving = "YES"
14-
buildForAnalyzing = "YES"
15-
hideIssues = "NO">
14+
buildForAnalyzing = "YES">
1615
<BuildableReference
1716
BuildableIdentifier = "primary"
1817
BlueprintIdentifier = "5B5D86DA1BBC74AD00234F36"
@@ -26,13 +25,12 @@
2625
buildForRunning = "YES"
2726
buildForProfiling = "YES"
2827
buildForArchiving = "YES"
29-
buildForAnalyzing = "YES"
30-
hideIssues = "NO">
28+
buildForAnalyzing = "YES">
3129
<BuildableReference
3230
BuildableIdentifier = "primary"
3331
BlueprintIdentifier = "5B5D885C1BBC938800234F36"
34-
BuildableName = "SwiftFoundation.framework"
35-
BlueprintName = "SwiftFoundation"
32+
BuildableName = "PortableFoundation.framework"
33+
BlueprintName = "PortableFoundation"
3634
ReferencedContainer = "container:Foundation.xcodeproj">
3735
</BuildableReference>
3836
</BuildActionEntry>
@@ -41,8 +39,7 @@
4139
buildForRunning = "YES"
4240
buildForProfiling = "YES"
4341
buildForArchiving = "YES"
44-
buildForAnalyzing = "YES"
45-
hideIssues = "NO">
42+
buildForAnalyzing = "YES">
4643
<BuildableReference
4744
BuildableIdentifier = "primary"
4845
BlueprintIdentifier = "5BDC405B1BD6D83B00ED97BB"

Foundation.xcodeproj/xcshareddata/xcschemes/plutil.xcscheme

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
buildForRunning = "YES"
1212
buildForProfiling = "YES"
1313
buildForArchiving = "YES"
14-
buildForAnalyzing = "YES"
15-
hideIssues = "NO">
14+
buildForAnalyzing = "YES">
1615
<BuildableReference
1716
BuildableIdentifier = "primary"
1817
BlueprintIdentifier = "5B5D885C1BBC938800234F36"
19-
BuildableName = "SwiftFoundation.framework"
20-
BlueprintName = "SwiftFoundation"
18+
BuildableName = "PortableFoundation.framework"
19+
BlueprintName = "PortableFoundation"
2120
ReferencedContainer = "container:Foundation.xcodeproj">
2221
</BuildableReference>
2322
</BuildActionEntry>
@@ -26,8 +25,7 @@
2625
buildForRunning = "YES"
2726
buildForProfiling = "YES"
2827
buildForArchiving = "YES"
29-
buildForAnalyzing = "YES"
30-
hideIssues = "NO">
28+
buildForAnalyzing = "YES">
3129
<BuildableReference
3230
BuildableIdentifier = "primary"
3331
BlueprintIdentifier = "EA66F66E1BF56CCB00136161"

Foundation/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleExecutable</key>
8-
<string>SwiftFoundation</string>
8+
<string>PortableFoundation</string>
99
<key>CFBundleIdentifier</key>
1010
<string>org.swift.Foundation</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>
14-
<string>SwiftFoundation</string>
14+
<string>PortableFoundation</string>
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>

Foundation/NSObjCRuntime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ internal protocol _NSBridgable {
234234
}
235235

236236
#if os(OSX) || os(iOS)
237-
private let _SwiftFoundationModuleName = "SwiftFoundation"
237+
private let _SwiftFoundationModuleName = "PortableFoundation"
238238
#else
239239
private let _SwiftFoundationModuleName = "Foundation"
240240
#endif

Foundation/PortableFoundation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// This is a dummy umbrella header for the PortableFoundation.framework Xcode target

Foundation/SwiftFoundation.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

TestFoundation/TestNSAffineTransform.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import Foundation
1414
import XCTest
1515
#else
16-
import SwiftFoundation
16+
import PortableFoundation
1717
import SwiftXCTest
1818
#endif
1919

TestFoundation/TestNSArray.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import Foundation
1414
import XCTest
1515
#else
16-
import SwiftFoundation
16+
import PortableFoundation
1717
import SwiftXCTest
1818
#endif
1919

TestFoundation/TestNSAttributedString.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import Foundation
1414
import XCTest
1515
#else
16-
import SwiftFoundation
16+
import PortableFoundation
1717
import SwiftXCTest
1818
#endif
1919

TestFoundation/TestNSBundle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import Foundation
1414
import XCTest
1515
#else
16-
import SwiftFoundation
16+
import PortableFoundation
1717
import SwiftXCTest
1818
#endif
1919

TestFoundation/TestNSByteCountFormatter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import Foundation
1414
import XCTest
1515
#else
16-
import SwiftFoundation
16+
import PortableFoundation
1717
import SwiftXCTest
1818
#endif
1919

TestFoundation/TestNSCalendar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import Foundation
1212
import XCTest
1313
#else
14-
import SwiftFoundation
14+
import PortableFoundation
1515
import SwiftXCTest
1616
#endif
1717
import CoreFoundation

TestFoundation/TestNSCharacterSet.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import Foundation
1414
import XCTest
1515
#else
16-
import SwiftFoundation
16+
import PortableFoundation
1717
import SwiftXCTest
1818
#endif
1919

TestFoundation/TestNSCompoundPredicate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import Foundation
1212
import XCTest
1313
#else
14-
import SwiftFoundation
14+
import PortableFoundation
1515
import SwiftXCTest
1616
#endif
1717

TestFoundation/TestNSData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import Foundation
1212
import XCTest
1313
#else
14-
import SwiftFoundation
14+
import PortableFoundation
1515
import SwiftXCTest
1616
#endif
1717

0 commit comments

Comments
 (0)