-
Notifications
You must be signed in to change notification settings - Fork 19
Support building on Mac with Apple Xcode #12
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
Open
Motti-Shneor
wants to merge
1
commit into
hessu:master
Choose a base branch
from
Motti-Shneor:mac_xcode_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,288 @@ | ||
| // !$*UTF8*$! | ||
| { | ||
| archiveVersion = 1; | ||
| classes = { | ||
| }; | ||
| objectVersion = 50; | ||
| objects = { | ||
|
|
||
| /* Begin PBXBuildFile section */ | ||
| 886F7ACC260329A40040CA65 /* bchunk.c in Sources */ = {isa = PBXBuildFile; fileRef = 886F7ACB260329A40040CA65 /* bchunk.c */; }; | ||
| /* End PBXBuildFile section */ | ||
|
|
||
| /* Begin PBXCopyFilesBuildPhase section */ | ||
| 886F7ABF2603298A0040CA65 /* CopyFiles */ = { | ||
| isa = PBXCopyFilesBuildPhase; | ||
| buildActionMask = 2147483647; | ||
| dstPath = /usr/share/man/man1/; | ||
| dstSubfolderSpec = 0; | ||
| files = ( | ||
| ); | ||
| runOnlyForDeploymentPostprocessing = 1; | ||
| }; | ||
| /* End PBXCopyFilesBuildPhase section */ | ||
|
|
||
| /* Begin PBXFileReference section */ | ||
| 886F7AC12603298A0040CA65 /* bchunk */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = bchunk; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 886F7ACB260329A40040CA65 /* bchunk.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bchunk.c; sourceTree = SOURCE_ROOT; }; | ||
| /* End PBXFileReference section */ | ||
|
|
||
| /* Begin PBXFrameworksBuildPhase section */ | ||
| 886F7ABE2603298A0040CA65 /* Frameworks */ = { | ||
| isa = PBXFrameworksBuildPhase; | ||
| buildActionMask = 2147483647; | ||
| files = ( | ||
| ); | ||
| runOnlyForDeploymentPostprocessing = 0; | ||
| }; | ||
| /* End PBXFrameworksBuildPhase section */ | ||
|
|
||
| /* Begin PBXGroup section */ | ||
| 886F7AB82603298A0040CA65 = { | ||
| isa = PBXGroup; | ||
| children = ( | ||
| 886F7AC32603298A0040CA65 /* bchunk */, | ||
| 886F7AC22603298A0040CA65 /* Products */, | ||
| ); | ||
| sourceTree = "<group>"; | ||
| }; | ||
| 886F7AC22603298A0040CA65 /* Products */ = { | ||
| isa = PBXGroup; | ||
| children = ( | ||
| 886F7AC12603298A0040CA65 /* bchunk */, | ||
| ); | ||
| name = Products; | ||
| sourceTree = "<group>"; | ||
| }; | ||
| 886F7AC32603298A0040CA65 /* bchunk */ = { | ||
| isa = PBXGroup; | ||
| children = ( | ||
| 886F7ACB260329A40040CA65 /* bchunk.c */, | ||
| ); | ||
| path = bchunk; | ||
| sourceTree = "<group>"; | ||
| }; | ||
| /* End PBXGroup section */ | ||
|
|
||
| /* Begin PBXNativeTarget section */ | ||
| 886F7AC02603298A0040CA65 /* bchunk */ = { | ||
| isa = PBXNativeTarget; | ||
| buildConfigurationList = 886F7AC82603298A0040CA65 /* Build configuration list for PBXNativeTarget "bchunk" */; | ||
| buildPhases = ( | ||
| 886F7ABD2603298A0040CA65 /* Sources */, | ||
| 886F7ABE2603298A0040CA65 /* Frameworks */, | ||
| 886F7ABF2603298A0040CA65 /* CopyFiles */, | ||
| ); | ||
| buildRules = ( | ||
| ); | ||
| dependencies = ( | ||
| ); | ||
| name = bchunk; | ||
| productName = bchunk; | ||
| productReference = 886F7AC12603298A0040CA65 /* bchunk */; | ||
| productType = "com.apple.product-type.tool"; | ||
| }; | ||
| /* End PBXNativeTarget section */ | ||
|
|
||
| /* Begin PBXProject section */ | ||
| 886F7AB92603298A0040CA65 /* Project object */ = { | ||
| isa = PBXProject; | ||
| attributes = { | ||
| LastUpgradeCheck = 1130; | ||
| ORGANIZATIONNAME = "Motti Shneor"; | ||
| TargetAttributes = { | ||
| 886F7AC02603298A0040CA65 = { | ||
| CreatedOnToolsVersion = 11.3.1; | ||
| }; | ||
| }; | ||
| }; | ||
| buildConfigurationList = 886F7ABC2603298A0040CA65 /* Build configuration list for PBXProject "bchunk" */; | ||
| compatibilityVersion = "Xcode 9.3"; | ||
| developmentRegion = en; | ||
| hasScannedForEncodings = 0; | ||
| knownRegions = ( | ||
| en, | ||
| Base, | ||
| ); | ||
| mainGroup = 886F7AB82603298A0040CA65; | ||
| productRefGroup = 886F7AC22603298A0040CA65 /* Products */; | ||
| projectDirPath = ""; | ||
| projectRoot = ""; | ||
| targets = ( | ||
| 886F7AC02603298A0040CA65 /* bchunk */, | ||
| ); | ||
| }; | ||
| /* End PBXProject section */ | ||
|
|
||
| /* Begin PBXSourcesBuildPhase section */ | ||
| 886F7ABD2603298A0040CA65 /* Sources */ = { | ||
| isa = PBXSourcesBuildPhase; | ||
| buildActionMask = 2147483647; | ||
| files = ( | ||
| 886F7ACC260329A40040CA65 /* bchunk.c in Sources */, | ||
| ); | ||
| runOnlyForDeploymentPostprocessing = 0; | ||
| }; | ||
| /* End PBXSourcesBuildPhase section */ | ||
|
|
||
| /* Begin XCBuildConfiguration section */ | ||
| 886F7AC62603298A0040CA65 /* 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_ENABLE_OBJC_WEAK = YES; | ||
| CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
| CLANG_WARN_BOOL_CONVERSION = YES; | ||
| CLANG_WARN_COMMA = YES; | ||
| CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_IMPLICIT_RETAIN_SELF = 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; | ||
| COPY_PHASE_STRIP = NO; | ||
| 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; | ||
| MACOSX_DEPLOYMENT_TARGET = 10.9; | ||
| MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | ||
| MTL_FAST_MATH = YES; | ||
| ONLY_ACTIVE_ARCH = YES; | ||
| SDKROOT = macosx; | ||
| }; | ||
| name = Debug; | ||
| }; | ||
| 886F7AC72603298A0040CA65 /* 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_ENABLE_OBJC_WEAK = YES; | ||
| CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
| CLANG_WARN_BOOL_CONVERSION = YES; | ||
| CLANG_WARN_COMMA = YES; | ||
| CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_IMPLICIT_RETAIN_SELF = 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; | ||
| COPY_PHASE_STRIP = NO; | ||
| 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; | ||
| MACOSX_DEPLOYMENT_TARGET = 10.9; | ||
| MTL_ENABLE_DEBUG_INFO = NO; | ||
| MTL_FAST_MATH = YES; | ||
| SDKROOT = macosx; | ||
| }; | ||
| name = Release; | ||
| }; | ||
| 886F7AC92603298A0040CA65 /* Debug */ = { | ||
| isa = XCBuildConfiguration; | ||
| buildSettings = { | ||
| CODE_SIGN_STYLE = Automatic; | ||
| DEVELOPMENT_TEAM = ZS9C3JAHWB; | ||
| ENABLE_HARDENED_RUNTIME = YES; | ||
| GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; | ||
| GCC_WARN_PEDANTIC = YES; | ||
| PRODUCT_BUNDLE_IDENTIFIER = com.Tchelet.bchunk; | ||
| PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| }; | ||
| name = Debug; | ||
| }; | ||
| 886F7ACA2603298A0040CA65 /* Release */ = { | ||
| isa = XCBuildConfiguration; | ||
| buildSettings = { | ||
| CODE_SIGN_STYLE = Automatic; | ||
| DEVELOPMENT_TEAM = ZS9C3JAHWB; | ||
| ENABLE_HARDENED_RUNTIME = YES; | ||
| GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; | ||
| GCC_WARN_PEDANTIC = YES; | ||
| PRODUCT_BUNDLE_IDENTIFIER = com.Tchelet.bchunk; | ||
| PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| }; | ||
| name = Release; | ||
| }; | ||
| /* End XCBuildConfiguration section */ | ||
|
|
||
| /* Begin XCConfigurationList section */ | ||
| 886F7ABC2603298A0040CA65 /* Build configuration list for PBXProject "bchunk" */ = { | ||
| isa = XCConfigurationList; | ||
| buildConfigurations = ( | ||
| 886F7AC62603298A0040CA65 /* Debug */, | ||
| 886F7AC72603298A0040CA65 /* Release */, | ||
| ); | ||
| defaultConfigurationIsVisible = 0; | ||
| defaultConfigurationName = Release; | ||
| }; | ||
| 886F7AC82603298A0040CA65 /* Build configuration list for PBXNativeTarget "bchunk" */ = { | ||
| isa = XCConfigurationList; | ||
| buildConfigurations = ( | ||
| 886F7AC92603298A0040CA65 /* Debug */, | ||
| 886F7ACA2603298A0040CA65 /* Release */, | ||
| ); | ||
| defaultConfigurationIsVisible = 0; | ||
| defaultConfigurationName = Release; | ||
| }; | ||
| /* End XCConfigurationList section */ | ||
| }; | ||
| rootObject = 886F7AB92603298A0040CA65 /* Project object */; | ||
| } | ||
7 changes: 7 additions & 0 deletions
7
bchunk.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
bchunk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?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>IDEDidComputeMac32BitWarning</key> | ||
| <true/> | ||
| </dict> | ||
| </plist> |
14 changes: 14 additions & 0 deletions
14
bchunk.xcodeproj/xcuserdata/motti.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <?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>SchemeUserState</key> | ||
| <dict> | ||
| <key>bchunk.xcscheme_^#shared#^_</key> | ||
| <dict> | ||
| <key>orderHint</key> | ||
| <integer>0</integer> | ||
| </dict> | ||
| </dict> | ||
| </dict> | ||
| </plist> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just "com.bchunk", I guess Tchelet refers to yourself?