This file contains 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
// | |
// PWFilePromise.h | |
// PWAppKit | |
// | |
// Created by Frank Illenberger on 09.01.18. | |
// Copyright © 2018 ProjectWizards. All rights reserved. | |
// | |
NS_ASSUME_NONNULL_BEGIN |
This file contains 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
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer | |
/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash [path to crashlog file] [paths to dSYMs] |
This file contains 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
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /path/to/MyApp.app |
This file contains 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
sudo xcrun xcscontrol --configure-email-transport 127.0.0.1 |
This file contains 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
defaults write com.apple.dt.Xcode ApplePersistenceIgnoreState YES |
This file contains 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
Has been moved to https://github.com/depth42/MEUnarchiver |
This file contains 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
@implementation NSManagedObjectContext (PWExtensions) | |
#ifndef NDEBUG | |
// Core Data uses exceptions to notify itself about optimistic locking failures. These exceptions are intercepted by | |
// Core Data and never reach the client code. Such an exception should not drop in the debugger because it is not raised | |
// due to a programming error. | |
// Since the exception is thrown inside -[NSManagedObjectContext save:], this category is a logical place to install | |
// the filter. | |
+ (void) load | |
{ |
This file contains 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
rm -f ${WORKSPACE}/test-report.xml | |
rm -rf /Users/jenkins/Library/Developer/Xcode/DerivedData | |
rm -rf ${WORKSPACE}/Build/Products | |
nice -n 20 /Users/jenkins/xctool/xctool -reporter pretty -reporter junit:${WORKSPACE}/test-report.xml -workspace MyWorkspace.xcworkspace -scheme MyScheme -configuration Debug SYMROOT=${WORKSPACE}/Build/Products test OTHER_CFLAGS='$(inherited) -Qunused-arguments -Werror' | |
# Note the -Qunused-arguments is needed because xcodebuild adds unused compiler arguments about which clang complains a lot. Together with -Werror this results in failed builds. So we have to silence this kind of warning. |
This file contains 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
rm -f ${WORKSPACE}/test-reports/*.xml | |
rm -rf /Users/jenkins/Library/Developer/Xcode/DerivedData | |
rm -rf ${WORKSPACE}/Build/Products | |
nice -n 20 xcodebuild -workspace MyWorkspace.xcworkspace -scheme MyScheme -configuration Debug SYMROOT=${WORKSPACE}/Build/Products clean test OTHER_CFLAGS='$(inherited) -Qunused-arguments -Werror' | ocunit2junit |
This file contains 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 "PWAssertionHandler.h" | |
#import "PWLog.h" | |
#import "Intercept_objc_exception_throw.h" | |
#import <objc/runtime.h> | |
#import "PWDispatch.h" | |
#ifndef NDEBUG | |
@interface NSAssertionHandler (PWExtensions) | |
@property (nonatomic, readonly) BOOL isPWHandler; |
NewerOlder