alias xcbuild=$(xcode-select -p)/../SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild
# THIS DOESNT WORK YET: xcbuild openIDEConsole # … then switch to Xcode ➡️
xcbuild showSpecs
xcbuild build <foo.pif> [—target <target>]
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
| #!/bin/bash | |
| # MIT License | |
| # | |
| # Copyright (c) 2018 Derek Selander (@LOLgrep) | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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
| #import <Foundation/Foundation.h> | |
| #import <assert.h> | |
| //Compile with `clang -Os -framework Foundation -fno-objc-arc inlinestorage.m -o inline, run with `inline clever` or `inline naive` | |
| /* | |
| NaiveArray implements a simple immutable NSArray-like interface in probably the most obvious way: store a pointer to a C array of objects | |
| */ | |
| @interface NaiveArray : NSObject { | |
| NSUInteger count; |
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
| package statemachine | |
| import debug | |
| import fail | |
| import io.reactivex.Observable | |
| import kotlinx.coroutines.experimental.channels.Channel | |
| import kotlinx.coroutines.experimental.channels.produce | |
| import kotlinx.coroutines.experimental.delay | |
| import kotlinx.coroutines.experimental.launch | |
| import kotlinx.coroutines.experimental.runBlocking |
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
| # Enable timings on build operations | |
| defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES | |
| # Enable extensive per-task timings | |
| defaults write com.apple.dt.Xcode IDEBuildOperationTimingLogLevel -int 3 | |
| # Enable old build system logging for "implicit dependencies" | |
| defaults write com.apple.dt.Xcode IDEBuildOperationDependenciesLogLevel -int 3 | |
| # Show logs from the "prebuild" step |
This is a curated list of iOS (Swift & ObjC) frameworks which are inspired by React and Elm.
- ReactSwift by @ColinEberhardt
- https://github.com/ColinEberhardt/ReactSwift
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
| """ | |
| Prerequisites: | |
| $ pip install biplist | |
| $ pip install requests | |
| Usage: | |
| python dsym_symbolizer.py --dsym_url https://www.example.com/MyStuff.framework.dSYM.zip \ | |
| --source_path /Users/MeMySelfAndI/MyStuffSources \ | |
| --binary_path /Users/MeMySelfAndI/MyProject/Pods/MyStuff/MyStuff.framework | |
| """ |
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
| // clang -cc1 -analyzer-checker-help | |
| // OVERVIEW: Clang Static Analyzer Checkers List | |
| // USAGE: -analyzer-checker <CHECKER or PACKAGE,...> | |
| // | |
| // CHECKERS: | |
| // alpha.core.BoolAssignment Warn about assigning non-{0,1} values to Boolean variables | |
| // alpha.core.CallAndMessageUnInitRefArg | |
| // Check for logical errors for function calls and Objective-C message expressions (e.g., uninitialized arguments, null function pointers, and pointer to undefined variables) | |
| // alpha.core.CastSize Check when casting a malloc'ed type T, whether the size is a multiple of the size of T | |
| // alpha.core.CastToStruct Check for cast from non-struct pointer to struct pointer |
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
| PLATFORM AND VERSION | |
| iOS | |
| Xcode 8b6 | |
| DESCRIPTION OF PROBLEM | |
| I'm trying to customize ASAN_OPTIONS based on | |
| https://github.com/google/sanitizers/wiki/AddressSanitizer | |
| Specifically, I am trying to run without the new odr detection because this seems to be buggy: |