-com.apple.CoreData.SQLDebug 1-3
- print all SQL queries called by Core Data-com.apple.CoreData.Logging.stderr 1-3
- needed alongside with theSQLDebug
from iOS 10+ because of new logging system, more on that in changelog
-com.apple.CoreData.SyntaxtColoredLogging YES
- probably syntax colored logging (not tried)-com.apple.CoreData.SQLiteDebugSynchronous 1
- preference controls some aspects of the SQLite store. See the "Configuring a SQLite Store's Save Behavior" section of the Core Data Programming Guide for details-com.apple.CoreData.SQLiteIntegrityCheck 1
- the SQLite store does extra integrity checking-com.apple.CoreData.MigrationDebug 1
- Core Data will log information about exceptional cases as it migrates data-com.apple.CoreData.ThreadingDebug
- preference enables assertions to enforce Core Data's multi-threading policy. It is a number, where incre
// Old using NSLock. | |
#import "XYZManager+Additions.h" | |
@implementation XYZManager (Additions_old) | |
static BOOL setup = NO; | |
static NSLock *setupLock = [NSLock new]; | |
+ (void)xyz_setupSuccessful:(BOOL)success { | |
[setupLock lock]; |
me.kon @ ~/workspace/janrain-demo/JanrainPodDemo $ pod install | |
Analyzing dependencies | |
Pre-downloading: `Janrain` from `https://github.com/janrain/jump.ios.git`, tag `5.0.3` | |
Downloading dependencies | |
Installing AppAuth (0.7.1) | |
Installing GTMAppAuth (0.5.0) | |
Installing GTMSessionFetcher (1.1.9) | |
Installing Janrain (5.0.3) | |
Installing libextobjc (0.4.1) | |
Generating Pods project |
# This script is a modified version of this: https://github.com/jverkoey/nimbus/blob/master/scripts/generate_namespace_header | |
header=$SRCROOT/ext/NamespacedDependencies.h | |
prefix="YOUR_PREFIX_HERE" | |
echo "Generating $header from $CODESIGNING_FOLDER_PATH..." | |
echo "// Namespaced Header | |
#ifndef __NS_SYMBOL |
https://www.raywenderlich.com/72021/supercharging-xcode-efficiency | |
---------- | |
# Close Xcode & the iOS Simulator | |
# http://stackoverflow.com/a/30940055 | |
# Remove any old runtimes from this directory. | |
cd /Library/Developer/CoreSimulator/Profiles/Runtimes | |
# e.g. |
NSZombieEnabled
is an environment variable which controls whether the Foundation runtime will use zombies. When zombies are enabled, a deallocated object's class is dynamically changed to be _NSZombie, and by default, the memory region is never marked as free, although this can be controlled separately(so, remember to disable NSZombieEnabled for Archived Release Build).
The end result is that, with zombies enabled, messages to deallocated objects will no longer behave strangely or crash in difficult-to-understand ways, but will instead log a message and die in a predictable and debugger-breakpointable way. This is the tool to use when trying to track down over-releases and premature releases.
Zombies will take effect for all Objective-C objects that are deallocated through normal means, including most Cocoa classes as well as user-created classes. On 10.4 and earlier, a rather important exception to this is most/all TollFreeBridged classes, as they are deallocated using CoreFoundation which NSZombieEnab
#!/bin/bash | |
killall Xcode | |
xcrun -k | |
xcodebuild -alltargets clean | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
rm -rf ~/Library/Developer/Xcode/DerivedData/* | |
rm -rf ~/Library/Caches/com.apple.dt.Xcode/* | |
open /Applications/Xcode.app |
ACTION = build | |
AD_HOC_CODE_SIGNING_ALLOWED = NO | |
ALTERNATE_GROUP = staff | |
ALTERNATE_MODE = u+w,go-w,a+rX | |
ALTERNATE_OWNER = grantdavis | |
ALWAYS_SEARCH_USER_PATHS = NO | |
ALWAYS_USE_SEPARATE_HEADERMAPS = YES | |
APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer | |
APPLE_INTERNAL_DIR = /AppleInternal | |
APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation |
Xcode 12.4 | |
Build version 12D4e | |
Ld /Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/IntermediateBuildFilesPath/DocuSignSDK.build/Release-iphoneos/DocuSignSDK.build/Objects-normal/armv7/Binary/DocuSignSDK normal armv7 (in target 'DocuSignSDK' from project 'DocuSignSDK') | |
cd /Users/first.last/workspace/DocuSign-IOS-SDK-V2 | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target armv7-apple-ios10.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk -L/Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/DocuSignSDK/BuildProductsPath/Release-iphoneos -F/Users/first.last/Library/Developer/Xcode/DerivedData/DocuSignSDK-evtegtvqebfzzyftcqhotbjymzfa/Build/Intermediates.noindex/ArchiveIntermediates/Doc |