Skip to content

Commit

Permalink
WatchOS deployment target
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyxo committed Sep 10, 2015
1 parent 6f794aa commit 4cfef1b
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 1 deletion.
148 changes: 148 additions & 0 deletions src/ProtocolBuffers/ProtocolBuffers.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@
3F1422981A07FDBF0090CEE9 /* ProtocolBuffers.framework in Copy Framework */ = {isa = PBXBuildFile; fileRef = 3F85569919C71BCF003802F2 /* ProtocolBuffers.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
3F26F7471B909AD300428569 /* delimitedFile.dat in Resources */ = {isa = PBXBuildFile; fileRef = 3F26F7461B909AD300428569 /* delimitedFile.dat */; };
3F26F7481B909AD300428569 /* delimitedFile.dat in Resources */ = {isa = PBXBuildFile; fileRef = 3F26F7461B909AD300428569 /* delimitedFile.dat */; };
3F31A1B11BA19A9B00F477C1 /* Google.Protobuf.Descriptor.proto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FF8D3E11B121FF7008D40C3 /* Google.Protobuf.Descriptor.proto.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B21BA19A9B00F477C1 /* Google.Protobuf.SwiftDescriptor.proto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FF8D3E21B121FF7008D40C3 /* Google.Protobuf.SwiftDescriptor.proto.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B31BA19A9B00F477C1 /* AbstractMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF29581A4CD00F00133274 /* AbstractMessage.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B41BA19A9B00F477C1 /* CodedInputStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF29591A4CD00F00133274 /* CodedInputStream.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B51BA19A9B00F477C1 /* CodedOutputStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF295A1A4CD00F00133274 /* CodedOutputStream.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B61BA19A9B00F477C1 /* ConcreateExtensionField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF295B1A4CD00F00133274 /* ConcreateExtensionField.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B71BA19A9B00F477C1 /* ExtendableMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF295D1A4CD00F00133274 /* ExtendableMessage.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B81BA19A9B00F477C1 /* ExtensionRegistry.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF295E1A4CD01000133274 /* ExtensionRegistry.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1B91BA19A9B00F477C1 /* Field.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF295F1A4CD01000133274 /* Field.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1BA1BA19A9B00F477C1 /* GeneratedMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF29601A4CD01000133274 /* GeneratedMessage.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1BB1BA19A9B00F477C1 /* ProtocolBuffers.h in Headers */ = {isa = PBXBuildFile; fileRef = 3FCF29611A4CD01000133274 /* ProtocolBuffers.h */; settings = {ATTRIBUTES = (Public, ); }; };
3F31A1BC1BA19A9B00F477C1 /* RingBuffer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF29621A4CD01000133274 /* RingBuffer.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1BD1BA19A9B00F477C1 /* UnknownFieldSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF29641A4CD01000133274 /* UnknownFieldSet.swift */; settings = {ASSET_TAGS = (); }; };
3F31A1BE1BA19A9B00F477C1 /* WireFormat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FCF29661A4CD01000133274 /* WireFormat.swift */; settings = {ASSET_TAGS = (); }; };
3F4106271A1A667800742090 /* ProtocolBuffers.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F41061C1A1A667700742090 /* ProtocolBuffers.framework */; };
3F4106471A1A677A00742090 /* CodedInputStreamTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F8556CE19C71C05003802F2 /* CodedInputStreamTests.swift */; };
3F4106481A1A677A00742090 /* CodedOuputStreamTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F8556CF19C71C05003802F2 /* CodedOuputStreamTests.swift */; };
Expand Down Expand Up @@ -151,6 +165,9 @@

/* Begin PBXFileReference section */
3F26F7461B909AD300428569 /* delimitedFile.dat */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = delimitedFile.dat; sourceTree = "<group>"; };
3F31A19E1BA1993200F477C1 /* PBW.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PBW.h; sourceTree = "<group>"; };
3F31A1A01BA1993200F477C1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3F31A1A91BA199C000F477C1 /* ProtocolBuffers.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ProtocolBuffers.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3F41061C1A1A667700742090 /* ProtocolBuffers.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ProtocolBuffers.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3F4106261A1A667800742090 /* UnitTesting(OSX).xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "UnitTesting(OSX).xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
3F41062C1A1A667800742090 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -207,6 +224,13 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
3F31A1A51BA199C000F477C1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
3F4106181A1A667700742090 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -271,6 +295,15 @@
path = pbTests;
sourceTree = "<group>";
};
3F31A19D1BA1993200F477C1 /* PBW */ = {
isa = PBXGroup;
children = (
3F31A19E1BA1993200F477C1 /* PBW.h */,
3F31A1A01BA1993200F477C1 /* Info.plist */,
);
path = PBW;
sourceTree = "<group>";
};
3F41061E1A1A667800742090 /* Supporting Files */ = {
isa = PBXGroup;
children = (
Expand All @@ -293,6 +326,7 @@
children = (
3F85569B19C71BCF003802F2 /* ProtocolBuffers */,
3F8556A519C71BCF003802F2 /* ProtocolBuffersTests */,
3F31A19D1BA1993200F477C1 /* PBW */,
3F85569A19C71BCF003802F2 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -304,6 +338,7 @@
3F8556A419C71BCF003802F2 /* ProtocolBuffersTests.xctest */,
3F41061C1A1A667700742090 /* ProtocolBuffers.framework */,
3F4106261A1A667800742090 /* UnitTesting(OSX).xctest */,
3F31A1A91BA199C000F477C1 /* ProtocolBuffers.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -410,6 +445,14 @@
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
3F31A1A61BA199C000F477C1 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
3F31A1BB1BA19A9B00F477C1 /* ProtocolBuffers.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
3F4106191A1A667700742090 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -429,6 +472,24 @@
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
3F31A1A81BA199C000F477C1 /* ProtocolBuffers(watchOS) */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3F31A1AE1BA199C000F477C1 /* Build configuration list for PBXNativeTarget "ProtocolBuffers(watchOS)" */;
buildPhases = (
3F31A1A41BA199C000F477C1 /* Sources */,
3F31A1A51BA199C000F477C1 /* Frameworks */,
3F31A1A61BA199C000F477C1 /* Headers */,
3F31A1A71BA199C000F477C1 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "ProtocolBuffers(watchOS)";
productName = "ProtocolBuffers(watchOS)";
productReference = 3F31A1A91BA199C000F477C1 /* ProtocolBuffers.framework */;
productType = "com.apple.product-type.framework";
};
3F41061B1A1A667700742090 /* ProtocolBuffers(OSX) */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3F41062F1A1A667800742090 /* Build configuration list for PBXNativeTarget "ProtocolBuffers(OSX)" */;
Expand Down Expand Up @@ -513,6 +574,9 @@
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = alexeyxo;
TargetAttributes = {
3F31A1A81BA199C000F477C1 = {
CreatedOnToolsVersion = 7.0;
};
3F41061B1A1A667700742090 = {
CreatedOnToolsVersion = 6.1.1;
};
Expand Down Expand Up @@ -543,11 +607,19 @@
3F8556A319C71BCF003802F2 /* UnitTesting */,
3F41061B1A1A667700742090 /* ProtocolBuffers(OSX) */,
3F4106251A1A667800742090 /* UnitTesting(OSX) */,
3F31A1A81BA199C000F477C1 /* ProtocolBuffers(watchOS) */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
3F31A1A71BA199C000F477C1 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
3F41061A1A1A667700742090 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -589,6 +661,26 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
3F31A1A41BA199C000F477C1 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3F31A1B81BA19A9B00F477C1 /* ExtensionRegistry.swift in Sources */,
3F31A1B71BA19A9B00F477C1 /* ExtendableMessage.swift in Sources */,
3F31A1B51BA19A9B00F477C1 /* CodedOutputStream.swift in Sources */,
3F31A1B41BA19A9B00F477C1 /* CodedInputStream.swift in Sources */,
3F31A1BD1BA19A9B00F477C1 /* UnknownFieldSet.swift in Sources */,
3F31A1BC1BA19A9B00F477C1 /* RingBuffer.swift in Sources */,
3F31A1B31BA19A9B00F477C1 /* AbstractMessage.swift in Sources */,
3F31A1BA1BA19A9B00F477C1 /* GeneratedMessage.swift in Sources */,
3F31A1BE1BA19A9B00F477C1 /* WireFormat.swift in Sources */,
3F31A1B91BA19A9B00F477C1 /* Field.swift in Sources */,
3F31A1B21BA19A9B00F477C1 /* Google.Protobuf.SwiftDescriptor.proto.swift in Sources */,
3F31A1B11BA19A9B00F477C1 /* Google.Protobuf.Descriptor.proto.swift in Sources */,
3F31A1B61BA19A9B00F477C1 /* ConcreateExtensionField.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
3F4106171A1A667700742090 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -715,6 +807,49 @@
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
3F31A1AF1BA199C000F477C1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = ProtocolBuffers/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.alexeyxo.ProtocolBuffers;
PRODUCT_NAME = ProtocolBuffers;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Debug;
};
3F31A1B01BA199C000F477C1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = ProtocolBuffers/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.alexeyxo.ProtocolBuffers;
PRODUCT_NAME = ProtocolBuffers;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Release;
};
3F4106301A1A667800742090 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -852,6 +987,7 @@
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Debug;
};
Expand Down Expand Up @@ -892,6 +1028,7 @@
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Release;
};
Expand All @@ -913,6 +1050,7 @@
PRODUCT_NAME = ProtocolBuffers;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Debug;
};
Expand All @@ -934,6 +1072,7 @@
PRODUCT_NAME = ProtocolBuffers;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
name = Release;
};
Expand Down Expand Up @@ -986,6 +1125,15 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
3F31A1AE1BA199C000F477C1 /* Build configuration list for PBXNativeTarget "ProtocolBuffers(watchOS)" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3F31A1AF1BA199C000F477C1 /* Debug */,
3F31A1B01BA199C000F477C1 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
3F41062F1A1A667800742090 /* Build configuration list for PBXNativeTarget "ProtocolBuffers(OSX)" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3F31A1A81BA199C000F477C1"
BuildableName = "ProtocolBuffers.framework"
BlueprintName = "ProtocolBuffers(watchOS)"
ReferencedContainer = "container:ProtocolBuffers.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3F31A1A81BA199C000F477C1"
BuildableName = "ProtocolBuffers.framework"
BlueprintName = "ProtocolBuffers(watchOS)"
ReferencedContainer = "container:ProtocolBuffers.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3F31A1A81BA199C000F477C1"
BuildableName = "ProtocolBuffers.framework"
BlueprintName = "ProtocolBuffers(watchOS)"
ReferencedContainer = "container:ProtocolBuffers.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion src/ProtocolBuffers/ProtocolBuffers/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.1</string>
<string>2.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 4cfef1b

Please sign in to comment.