Skip to content
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

Share iOS Target Scheme (Carthage Support) #105

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 18 additions & 0 deletions CHCSVParser-iOS/CHCSVParser-iOS.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// CHCSVParser-iOS.h
// CHCSVParser-iOS
//
// Created by Toland Hon on 7/11/17.
//
//

#import <UIKit/UIKit.h>

//! Project version number for CHCSVParser-iOS.
FOUNDATION_EXPORT double CHCSVParser_iOSVersionNumber;

//! Project version string for CHCSVParser-iOS.
FOUNDATION_EXPORT const unsigned char CHCSVParser_iOSVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <CHCSVParser_iOS/PublicHeader.h>
#import "CHCSVParser.h"
24 changes: 24 additions & 0 deletions CHCSVParser-iOS/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>en</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>2.1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
173 changes: 173 additions & 0 deletions CHCSVParser.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
objects = {

/* Begin PBXBuildFile section */
4D61F40E1F157DF9000D1E7C /* CHCSVParser-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D61F40C1F157DF9000D1E7C /* CHCSVParser-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; };
4D61F4121F16BA4B000D1E7C /* CHCSVParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 55B9931F160E376100D6548A /* CHCSVParser.h */; settings = {ATTRIBUTES = (Public, ); }; };
4D61F4141F16BBB0000D1E7C /* CHCSVParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 55B99320160E376100D6548A /* CHCSVParser.m */; };
550ED4281973491500E7D173 /* Issue64.csv in Resources */ = {isa = PBXBuildFile; fileRef = 550ED4271973491500E7D173 /* Issue64.csv */; };
5515D4461AAB72FF00DC1D5B /* Issue79.csv in Resources */ = {isa = PBXBuildFile; fileRef = 5515D4451AAB72FF00DC1D5B /* Issue79.csv */; };
557FCEB61203F938009FCDBA /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 557FCEB51203F938009FCDBA /* CoreServices.framework */; };
Expand All @@ -22,6 +25,9 @@
/* Begin PBXFileReference section */
08FB7796FE84155DC02AAC07 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
08FB779EFE84155DC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
4D61F40A1F157DF9000D1E7C /* CHCSVParser_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CHCSVParser_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4D61F40C1F157DF9000D1E7C /* CHCSVParser-iOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CHCSVParser-iOS.h"; sourceTree = "<group>"; };
4D61F40D1F157DF9000D1E7C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
550ED4271973491500E7D173 /* Issue64.csv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Issue64.csv; sourceTree = "<group>"; };
5515D4451AAB72FF00DC1D5B /* Issue79.csv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Issue79.csv; sourceTree = "<group>"; };
5560A19E173743A300DDD1D3 /* UnitTestContent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UnitTestContent.h; sourceTree = "<group>"; };
Expand All @@ -38,6 +44,13 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
4D61F4061F157DF9000D1E7C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
557FD0501204A70D009FCDBA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -64,6 +77,7 @@
08FB7795FE84155DC02AAC07 /* Source */,
5560A19D1737433900DDD1D3 /* Unit Tests */,
08FB779DFE84155DC02AAC07 /* External Frameworks and Libraries */,
4D61F40B1F157DF9000D1E7C /* CHCSVParser-iOS */,
1AB674ADFE9D54B511CA2CBB /* Products */,
);
name = CHCSVParser;
Expand Down Expand Up @@ -94,10 +108,20 @@
children = (
8DD76FA10486AA7600D96B5E /* CHCSVParser */,
557FD0531204A70D009FCDBA /* Unit Tests.xctest */,
4D61F40A1F157DF9000D1E7C /* CHCSVParser_iOS.framework */,
);
name = Products;
sourceTree = "<group>";
};
4D61F40B1F157DF9000D1E7C /* CHCSVParser-iOS */ = {
isa = PBXGroup;
children = (
4D61F40C1F157DF9000D1E7C /* CHCSVParser-iOS.h */,
4D61F40D1F157DF9000D1E7C /* Info.plist */,
);
path = "CHCSVParser-iOS";
sourceTree = "<group>";
};
5516BCBA12578DA90025F235 /* CHCSVParser */ = {
isa = PBXGroup;
children = (
Expand All @@ -123,7 +147,37 @@
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
4D61F4071F157DF9000D1E7C /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
4D61F40E1F157DF9000D1E7C /* CHCSVParser-iOS.h in Headers */,
4D61F4121F16BA4B000D1E7C /* CHCSVParser.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
4D61F4091F157DF9000D1E7C /* CHCSVParser_iOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4D61F4111F157DF9000D1E7C /* Build configuration list for PBXNativeTarget "CHCSVParser_iOS" */;
buildPhases = (
4D61F4051F157DF9000D1E7C /* Sources */,
4D61F4061F157DF9000D1E7C /* Frameworks */,
4D61F4071F157DF9000D1E7C /* Headers */,
4D61F4081F157DF9000D1E7C /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = CHCSVParser_iOS;
productName = "CHCSVParser-iOS";
productReference = 4D61F40A1F157DF9000D1E7C /* CHCSVParser_iOS.framework */;
productType = "com.apple.product-type.framework";
};
557FD0521204A70D009FCDBA /* Unit Tests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 557FD0571204A70E009FCDBA /* Build configuration list for PBXNativeTarget "Unit Tests" */;
Expand Down Expand Up @@ -165,6 +219,12 @@
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0830;
TargetAttributes = {
4D61F4091F157DF9000D1E7C = {
CreatedOnToolsVersion = 8.3.3;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "CHCSVParser" */;
compatibilityVersion = "Xcode 3.2";
Expand All @@ -181,12 +241,20 @@
projectRoot = "";
targets = (
8DD76F960486AA7600D96B5E /* CHCSVParser */,
4D61F4091F157DF9000D1E7C /* CHCSVParser_iOS */,
557FD0521204A70D009FCDBA /* Unit Tests */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
4D61F4081F157DF9000D1E7C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
557FD04E1204A70D009FCDBA /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -200,6 +268,14 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
4D61F4051F157DF9000D1E7C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4D61F4141F16BBB0000D1E7C /* CHCSVParser.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
557FD04F1204A70D009FCDBA /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -302,6 +378,94 @@
};
name = Release;
};
4D61F40F1F157DF9000D1E7C /* 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++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_DYNAMIC_NO_PIC = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = "CHCSVParser-iOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.davedelong.CHCSVParser_iOS;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
4D61F4101F157DF9000D1E7C /* 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++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_NS_ASSERTIONS = NO;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = "CHCSVParser-iOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.davedelong.CHCSVParser_iOS;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
557FD0551204A70E009FCDBA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -377,6 +541,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4D61F4111F157DF9000D1E7C /* Build configuration list for PBXNativeTarget "CHCSVParser_iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4D61F40F1F157DF9000D1E7C /* Debug */,
4D61F4101F157DF9000D1E7C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
557FD0571204A70E009FCDBA /* Build configuration list for PBXNativeTarget "Unit Tests" */ = {
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 = "0830"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D61F4091F157DF9000D1E7C"
BuildableName = "CHCSVParser_iOS.framework"
BlueprintName = "CHCSVParser_iOS"
ReferencedContainer = "container:CHCSVParser.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 = "4D61F4091F157DF9000D1E7C"
BuildableName = "CHCSVParser_iOS.framework"
BlueprintName = "CHCSVParser_iOS"
ReferencedContainer = "container:CHCSVParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D61F4091F157DF9000D1E7C"
BuildableName = "CHCSVParser_iOS.framework"
BlueprintName = "CHCSVParser_iOS"
ReferencedContainer = "container:CHCSVParser.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>