Click to toggle contents of `code`
CODE!
CODE!
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<!-- All Exceptions --> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint"> | |
<BreakpointContent |
#!/usr/bin/env bash | |
# Build Phase Script for removing NSAppTransportSecurity exceptions from Info.plist | |
# https://gist.github.com/Ashton-W/07654259322e43a2b6a50bb289e72627 | |
set -o errexit | |
set -o nounset | |
if [[ -z "${REMOVE_ATS_EXCEPTIONS+SET}" ]]; then | |
echo "error: User Defined Build Setting REMOVE_ATS_EXCEPTIONS must be set" | |
exit 1 |
<?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"> | |
<!-- iOS 10, macOS Sierra, and friends bring a new logging subsystem that's | |
supposed to scale from the kernel, up to frameworks, and up to apps. It defaults | |
to a more regimented, privacy-focused approach that large apps and complex | |
systems need. | |
It, along with Activity Tracing introduced in iOS 8 and macOS Yosemite and the | |
Console app in macOS Sierra, hope to help you graduate from caveman debugging to |
#!/usr/bin/env bash | |
# Build Phase Script for copying and signing libReveal based on Configuration | |
# https://gist.github.com/Ashton-W/6db611ac93be2f8bad7f | |
set -o errexit | |
set -o nounset | |
LIBREVEAL_PATH="/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib" | |
INJECT_REVEAL="${INJECT_REVEAL:-NO}" |
#!/usr/bin/env bash | |
# Build Phase Script for use in Xcode | |
# Copy Resources based on Configuration | |
# | |
# https://gist.github.com/Ashton-W/a47ec8b128ecbe470632 | |
set -o nounset | |
# From Build Environment |
- (instancetype)initWithFrame:(CGRect)frame | |
{ | |
self = [super initWithFrame:frame]; | |
if (!self) { | |
return nil; | |
} | |
[self inspectableDefaults]; | |
#import <Foundation/Foundation.h> | |
#import <XCTest/XCTest.h> | |
NS_ASSUME_NONNULL_BEGIN | |
@interface ExpectationDelegateProxy : NSProxy | |
@property (nonatomic) SEL selector; | |
@property (nonatomic) Protocol *protocol; | |
@property (nonatomic) XCTestExpectation *expectation; |
command alias sim_location expr (void)NSLog(@"Printing Simulator App Paths:\n\nBundle:\n%@\n\nDocuments:\n%@\n\n", [[NSBundle mainBundle] resourcePath], [[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject] resourceSpecifier]); |
function pi --description 'pod install' | |
if test -e Gemfile | |
command bundle exec pod install --no-repo-update | |
else | |
command pod install --no-repo-update | |
end | |
end |