Skip to content

[4.2] Bring the new PlaygroundLogger implementation into swift-4.2-branch #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 81 commits into from
Jul 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
24a6a1b
Introduced a new PlaygroundRuntime framework.
cwakamo Nov 7, 2017
6fb02e3
Moved the current implementation of PlaygroundLogger into a Legacy di…
cwakamo Nov 7, 2017
9e31a02
Added a prototype of my playground quick look API. This will ultimate…
cwakamo Nov 10, 2017
4267195
Created a new PlaygroundLogger framework project.
cwakamo Nov 10, 2017
f290e56
Removed a bad build setting from PlaygroundRuntime's Xcode project.
cwakamo Nov 10, 2017
084a506
Established a dependency on PlaygroundRuntime from PlaygroundLogger.
cwakamo Nov 10, 2017
7c8f742
Created a function for initializing the PlaygroundLogger framework.
cwakamo Nov 10, 2017
aaa029e
Implemented `printHook` and part of `logPostPrint`.
cwakamo Nov 10, 2017
a14a95c
Introduced `LogEntry` and `LogPacket` types.
cwakamo Nov 10, 2017
d5a6e6e
Began hooking more things up in the new PlaygroundLogger.
cwakamo Nov 10, 2017
ae0e4b6
Added a `sendData` function pointer, which is used by PlaygroundLogge…
cwakamo Nov 11, 2017
ef824e2
Introduced an unimplemented method to encode a `LogPacket`, and adopt…
cwakamo Nov 11, 2017
2a64184
Began implementing log data encoding.
cwakamo Nov 11, 2017
c078860
Implemented encoding for most kinds of `LogEntry` values.
cwakamo Nov 11, 2017
2b1a3e5
Implemented the initial version of `LogEntry(describing:name:)`.
cwakamo Nov 13, 2017
a626386
Began replacing `LogEntry.OpaqueRepresentation` with a protocol.
cwakamo Nov 21, 2017
397606e
Fully replaced the old `OpaqueRepresentation` enum with the `OpaqueLo…
cwakamo Nov 21, 2017
2569d75
Removed an unnecessary `Color` type alias.
cwakamo Nov 21, 2017
201f876
Moved the `PlaygroundQuickLook` extension out of LogEntry+Reflection.…
cwakamo Nov 21, 2017
fbf70ae
Fixed a comment and reordered some declarations.
cwakamo Nov 21, 2017
39a3e04
Introduced a `CustomOpaqueLoggable` protocol.
cwakamo Nov 21, 2017
df49c2c
Provided a default implementation of `CustomOpaqueLoggable` for types…
cwakamo Nov 21, 2017
a5b47a8
Implemented `CustomOpaqueLoggable` for types in the Swift standard li…
cwakamo Nov 22, 2017
886b2ac
Implemented `CustomOpaqueLoggable` for types in Foundation.
cwakamo Nov 22, 2017
4af82dc
Implemented custom logging for a handful of CoreGraphics types.
cwakamo Nov 29, 2017
9c7d6ae
Added a missing CoreGraphics import.
cwakamo Nov 29, 2017
2d016f3
Implemented `CustomOpaqueLoggable` for CIColor and CIImage.
cwakamo Nov 29, 2017
2ecbe04
Implemented `CustomOpaqueLoggable` for NSBezierPath, NSColor, NSCurso…
cwakamo Nov 29, 2017
5283fc2
Implemented `CustomOpaqueLoggable` for UIBezierPath, UIColor, UIImage…
cwakamo Nov 29, 2017
a8ebbbd
Implemented `CustomOpaqueLoggable` and `OpaqueImageRepresentable` for…
cwakamo Nov 30, 2017
2ee6ee2
Implemented `CustomOpaqueLoggable` for a handful of String-related ty…
cwakamo Nov 30, 2017
62d0cbf
Implemented `CustomOpaqueLoggable` for the SpriteKit types.
cwakamo Nov 30, 2017
29cb1da
Properly implemented support for -debugQuickLookObject by just passin…
cwakamo Nov 30, 2017
18e03e9
Introduced an `unimplemented` function to explicitly call out what's …
cwakamo Dec 10, 2017
e6f2cf4
Fixed a bug in `LogPacket`'s initializer.
cwakamo Dec 17, 2017
e5a11de
Fixed a bug in number encoding.
cwakamo Jan 3, 2018
230ac68
Replace `initializePlaygroundLogger()` with a modern initialization f…
cwakamo Jan 3, 2018
586d7ba
Implemented "legacy" entrypoints for PlaygroundLogger.
cwakamo Jan 3, 2018
527f6a6
Fix a bug in `LogPacket.encode(inFormat:)`.
cwakamo Jan 3, 2018
7ae3142
Removed the deprecations from the legacy entrypoints.
cwakamo Jan 3, 2018
6ce9a75
Ported the tests from the legacy PlaygroundLogger implementation to t…
cwakamo Jan 3, 2018
7cae572
Broke PlaygroundLogger's dependency on PlaygroundRuntime.
cwakamo Feb 6, 2018
d335754
[PlaygroundRuntime] Moved PlaygroundRuntime into an Experimental subd…
cwakamo Feb 6, 2018
10dc22d
[PlaygroundLogger] Removed an effectively empty XCTestCase subclass.
cwakamo Feb 6, 2018
98b9dce
[PlaygroundLogger] Unwrap optionality when generating log entries.
cwakamo Feb 7, 2018
fcb0399
[PlaygroundLogger] Implemented support for logging a synthetic child …
cwakamo Feb 7, 2018
7d33d3a
[PlaygroundLogger] Implemented support for normalizing type names.
cwakamo Feb 9, 2018
d3f9a33
[PlaygroundLogger] Added support for logging CGFloat instances as the…
cwakamo Feb 15, 2018
f9d63c8
Fixed warnings due to usage of the now-deprecated `UnsafeMutablePoint…
cwakamo Feb 22, 2018
7079964
[PlaygroundLogger] Introduced test targets for iOS and tvOS.
cwakamo Feb 23, 2018
0fa7101
[PlaygroundLogger] Implemented support for logging images, views, and…
cwakamo Feb 23, 2018
14243c5
[PlaygroundLogger] Introduced `LogPolicy`, with support for capping t…
cwakamo Feb 23, 2018
f4e6a96
[PlaygroundLogger] Implemented support for capping the depth of log e…
cwakamo Feb 24, 2018
4804597
[PlaygroundLogger] Introduced a temporary `loggingError` function.
cwakamo Feb 24, 2018
cffd458
[PlaygroundLogger] Began introducing limited error handling.
cwakamo Feb 24, 2018
610af1b
[PlaygroundLogger] Updated LegacyPlaygroundLoggerTests.testTypenameMa…
cwakamo Feb 24, 2018
2e7510a
[PlaygroundLogger] Updated everything to throw errors instead of call…
cwakamo Feb 24, 2018
ca75e78
[PlaygroundLogger] Updated the places where errors are caught to appr…
cwakamo Feb 24, 2018
6958a83
[PlaygroundLogger] Replaced the last `unimplemented` with an error an…
cwakamo Feb 24, 2018
92b7e16
[PlaygroundLogger] Implemented support for the `CustomPlaygroundDispl…
cwakamo Feb 24, 2018
e517361
[PlaygroundLogger] Implemented exception handling around potentially …
cwakamo Feb 24, 2018
b56eda5
[PlaygroundLogger] Adopted the XcodeConfig files in the new Playgroun…
cwakamo Feb 24, 2018
5c981ef
Automatic change made to PlaygroundLogger (macOS) scheme.
cwakamo Feb 24, 2018
d335bcb
[PlaygroundSupport] Deleted PlaygroundSupport's current schemes.
cwakamo Feb 24, 2018
ddd7c05
[PlaygroundSupport] Recreated per-platform schemes for PlaygroundSupp…
cwakamo Feb 24, 2018
54a4244
[workspace] Updated the workspace to reference the new PlaygroundLogg…
cwakamo Feb 24, 2018
e7d664f
[PlaygroundRuntime] Removed the prototype version of what became `Cus…
cwakamo Feb 25, 2018
db774c6
[PlaygroundLogger] Added a test of logging a nil implicitly-unwrapped…
cwakamo Feb 25, 2018
639db65
[PlaygroundLogger] When unwrapping optionals, don't propagate the typ…
cwakamo Feb 25, 2018
8bc37c7
[PlaygroundLogger] Mark `legacyLogPostPrint` as public.
cwakamo Feb 25, 2018
9866e69
[PlaygroundLogger] Reimplemented the proper rules for summaries.
cwakamo Feb 25, 2018
1df2ab8
Merge branch 'master' into runtime-framework-and-improved-logger
cwakamo Apr 19, 2018
f2aa282
Switch off of String SPI (which is going away) in the legacy tests fo…
cwakamo Apr 19, 2018
7db972b
Addressed an issue with `testImageLogging()` which prevented it from …
cwakamo Jun 27, 2018
f6ef1d8
Skip PlaygroundLogger's LegacyPlaygroundLoggerTests.testSKShapeNode().
cwakamo Jul 3, 2018
063a4b0
Merge pull request #23 from cwakamo/runtime-framework-and-improved-lo…
cwakamo Jul 5, 2018
9177474
Better handle some cases where PlaygroundLogger previously failed to …
cwakamo Jul 5, 2018
5f820dd
Merge pull request #27 from cwakamo/fix-empty-views-and-images
cwakamo Jul 6, 2018
91efe3d
Use `prefix` and `suffix` when getting the first and last n children.
cwakamo Jul 4, 2018
80d27f6
Added some comments to testLargeSet() to explain some assertions.
cwakamo Jul 6, 2018
f2e299a
Merge pull request #26 from cwakamo/fix-large-sets
cwakamo Jul 6, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,342 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 48;
objects = {

/* Begin PBXBuildFile section */
5EB7829A1FAE6CD700ADE84E /* PlaygroundTransformRuntime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EB782991FAE6CD700ADE84E /* PlaygroundTransformRuntime.swift */; };
5EEA48FA1FAFD9920020682B /* PCMacroRuntime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EEA48F91FAFD9920020682B /* PCMacroRuntime.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
5EB7828B1FAE6B6F00ADE84E /* PlaygroundRuntime.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PlaygroundRuntime.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5EB7828F1FAE6B6F00ADE84E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5EB782991FAE6CD700ADE84E /* PlaygroundTransformRuntime.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaygroundTransformRuntime.swift; sourceTree = "<group>"; };
5EEA48F91FAFD9920020682B /* PCMacroRuntime.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PCMacroRuntime.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5EB782871FAE6B6F00ADE84E /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
5EB782811FAE6B6F00ADE84E = {
isa = PBXGroup;
children = (
5EB7828D1FAE6B6F00ADE84E /* PlaygroundRuntime */,
5EB7828C1FAE6B6F00ADE84E /* Products */,
);
sourceTree = "<group>";
};
5EB7828C1FAE6B6F00ADE84E /* Products */ = {
isa = PBXGroup;
children = (
5EB7828B1FAE6B6F00ADE84E /* PlaygroundRuntime.framework */,
);
name = Products;
sourceTree = "<group>";
};
5EB7828D1FAE6B6F00ADE84E /* PlaygroundRuntime */ = {
isa = PBXGroup;
children = (
5EB782991FAE6CD700ADE84E /* PlaygroundTransformRuntime.swift */,
5EEA48F91FAFD9920020682B /* PCMacroRuntime.swift */,
5EB7829F1FAE777900ADE84E /* Supporting Files */,
);
path = PlaygroundRuntime;
sourceTree = "<group>";
};
5EB7829F1FAE777900ADE84E /* Supporting Files */ = {
isa = PBXGroup;
children = (
5EB7828F1FAE6B6F00ADE84E /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
5EB782881FAE6B6F00ADE84E /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
5EB7828A1FAE6B6F00ADE84E /* PlaygroundRuntime */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5EB782931FAE6B6F00ADE84E /* Build configuration list for PBXNativeTarget "PlaygroundRuntime" */;
buildPhases = (
5EB782861FAE6B6F00ADE84E /* Sources */,
5EB782871FAE6B6F00ADE84E /* Frameworks */,
5EB782881FAE6B6F00ADE84E /* Headers */,
5EB782891FAE6B6F00ADE84E /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = PlaygroundRuntime;
productName = PlaygroundRuntime;
productReference = 5EB7828B1FAE6B6F00ADE84E /* PlaygroundRuntime.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
5EB782821FAE6B6F00ADE84E /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0910;
LastUpgradeCheck = 0910;
ORGANIZATIONNAME = "Apple Inc. and the Swift project authors";
TargetAttributes = {
5EB7828A1FAE6B6F00ADE84E = {
CreatedOnToolsVersion = 9.1;
LastSwiftMigration = 0910;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 5EB782851FAE6B6F00ADE84E /* Build configuration list for PBXProject "PlaygroundRuntime" */;
compatibilityVersion = "Xcode 8.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 5EB782811FAE6B6F00ADE84E;
productRefGroup = 5EB7828C1FAE6B6F00ADE84E /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
5EB7828A1FAE6B6F00ADE84E /* PlaygroundRuntime */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
5EB782891FAE6B6F00ADE84E /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
5EB782861FAE6B6F00ADE84E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5EEA48FA1FAFD9920020682B /* PCMacroRuntime.swift in Sources */,
5EB7829A1FAE6CD700ADE84E /* PlaygroundTransformRuntime.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
5EB782911FAE6B6F00ADE84E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TVOS_DEPLOYMENT_TARGET = 10.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
5EB782921FAE6B6F00ADE84E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
TVOS_DEPLOYMENT_TARGET = 10.0;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
5EB782941FAE6B6F00ADE84E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
DEFINES_MODULE = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PlaygroundRuntime/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_SWIFT_FLAGS = "-Xfrontend -debugger-support";
PRODUCT_BUNDLE_IDENTIFIER = org.swift.PlaygroundRuntime;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
SWIFT_INSTALL_OBJC_HEADER = NO;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
};
name = Debug;
};
5EB782951FAE6B6F00ADE84E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
DEFINES_MODULE = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PlaygroundRuntime/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_SWIFT_FLAGS = "-Xfrontend -debugger-support";
PRODUCT_BUNDLE_IDENTIFIER = org.swift.PlaygroundRuntime;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos";
SWIFT_INSTALL_OBJC_HEADER = NO;
SWIFT_VERSION = 4.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
5EB782851FAE6B6F00ADE84E /* Build configuration list for PBXProject "PlaygroundRuntime" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5EB782911FAE6B6F00ADE84E /* Debug */,
5EB782921FAE6B6F00ADE84E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5EB782931FAE6B6F00ADE84E /* Build configuration list for PBXNativeTarget "PlaygroundRuntime" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5EB782941FAE6B6F00ADE84E /* Debug */,
5EB782951FAE6B6F00ADE84E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 5EB782821FAE6B6F00ADE84E /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions Experimental/PlaygroundRuntime/PlaygroundRuntime/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//===--- PCMacroRuntime.swift ---------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

fileprivate func unsetPCFunction(_: Int, _: Int, _: Int, _: Int) {
fatalError("PC macro runtime uninitialized")
}

public var __builtin_pc_before: @convention(thin) (Int, Int, Int, Int) -> Void = unsetPCFunction
public var __builtin_pc_after: @convention(thin) (Int, Int, Int, Int) -> Void = unsetPCFunction
Loading