Skip to content

Commit

Permalink
Upgrade Xcode to 14.x and app release 2.8.0
Browse files Browse the repository at this point in the history
* successful compilation iOS 8.0

* successful compilation iOS 10.0

* successful compilation iOS 11.0

* successful compilation iOS 12.1

* update project document format to Xcode 10.0-compatible

* Xcode: 10.1 Target: iOS 9.0 Tested on: 12.1 - builds, runs, crashes eventually

* update gitignore and remove rvm file

* Xcode 13.0 compatibility

* Xcode 14.0.1 MacOS 12.6 target iOS 8.x - build failing

* set ruby version via rbenv

* update podfile and remove Fabirc and Crashlytics pods

* Bump version to 2.8.0:1

* Remove legacy analytics

* improve centering and fullscreen image placement

* Improve text, image, and button placement for fullscreen viewing

* Improve image position for fullscreen viewing on larger phones

* Add a small vertical offset to move the toolbar further away from the screen's edge for easier to reach touch zones.

* raise the priority of the version label

* add prefix to each log message to make them filterable in the console

* change icons to to JPG to remove the alpha channel

* update version and build number for the app store Archive process

* let Xcode handle code signing

* replace deprecated method running in the background

* set pList value to declare no use of non-exempt encryption

* add plist permission keys for: NSPhotoLibraryAddUsageDescription, NSCameraUsageDescription, NSLocationWhenInUseUsageDescription

* Set build number to 9

* Install and configure Sentry.io analytics

* update minimum target to iOS 14.x

* bump build number to 10 and set min deploy target to 14 in some project files

* update todo list
  • Loading branch information
theInternauts authored Oct 9, 2022
1 parent 2a83c55 commit 7bb124e
Show file tree
Hide file tree
Showing 154 changed files with 329 additions and 240 deletions.
2 changes: 2 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ Pods/
Podfile.lock
*.ipa
img
Marketing
Notes.txt
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.6
Empty file modified AppIcon1024.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified CODE_OF_CONDUCT.md
100644 → 100755
Empty file.
Empty file modified CONTRIBUTING.md
100644 → 100755
Empty file.
104 changes: 79 additions & 25 deletions CrossProcess.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 55;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -55,6 +55,7 @@
40B81FC91440939900842FD9 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 40B81FC71440939900842FD9 /* [email protected] */; };
40B81FCC144093EE00842FD9 /* pickphoto.png in Resources */ = {isa = PBXBuildFile; fileRef = 40B81FCB144093EE00842FD9 /* pickphoto.png */; };
40E9C647144477AC002B6D25 /* image_assets.plist in Resources */ = {isa = PBXBuildFile; fileRef = 40E9C646144477AC002B6D25 /* image_assets.plist */; };
6D2C0C2A28E3458A00B775A7 /* CoreImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6D2C0C2928E3458A00B775A7 /* CoreImage.framework */; };
786615661C9B4A87007810FA /* Photos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 786615651C9B4A87007810FA /* Photos.framework */; };
78AD68A91D52664000D137C5 /* ImageMetadata.m in Sources */ = {isa = PBXBuildFile; fileRef = 78AD68A81D52664000D137C5 /* ImageMetadata.m */; };
78B018151C9C49D9001132E0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 78B018141C9C49D9001132E0 /* Images.xcassets */; };
Expand Down Expand Up @@ -160,6 +161,7 @@
40B81FC71440939900842FD9 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
40B81FCB144093EE00842FD9 /* pickphoto.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = pickphoto.png; sourceTree = "<group>"; };
40E9C646144477AC002B6D25 /* image_assets.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = image_assets.plist; sourceTree = "<group>"; };
6D2C0C2928E3458A00B775A7 /* CoreImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreImage.framework; path = System/Library/Frameworks/CoreImage.framework; sourceTree = SDKROOT; };
7809E2941C99AD2400DD8EB4 /* libfacebook_ios_sdk.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libfacebook_ios_sdk.a; path = facebook_ios_sdk_built/libfacebook_ios_sdk.a; sourceTree = "<group>"; };
786615651C9B4A87007810FA /* Photos.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Photos.framework; path = System/Library/Frameworks/Photos.framework; sourceTree = SDKROOT; };
786615671C9B60EB007810FA /* todo.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = todo.md; sourceTree = "<group>"; };
Expand Down Expand Up @@ -249,6 +251,7 @@
F7BAF7AB144D171A00A6B845 /* MessageUI.framework in Frameworks */,
40A04CDD144DA4A4004F62F6 /* Twitter.framework in Frameworks */,
403E0A20145F3144009B32A0 /* ImageIO.framework in Frameworks */,
6D2C0C2A28E3458A00B775A7 /* CoreImage.framework in Frameworks */,
F782DACE16552F1300A03901 /* Accounts.framework in Frameworks */,
F782DB0416552F8000A03901 /* Social.framework in Frameworks */,
F782DB0616552FBE00A03901 /* AdSupport.framework in Frameworks */,
Expand Down Expand Up @@ -420,6 +423,7 @@
F79DB6071438F017004E4CA0 /* Frameworks */ = {
isa = PBXGroup;
children = (
6D2C0C2928E3458A00B775A7 /* CoreImage.framework */,
786615651C9B4A87007810FA /* Photos.framework */,
7809E2941C99AD2400DD8EB4 /* libfacebook_ios_sdk.a */,
F782DAC616552A3000A03901 /* libfacebook_ios_sdk.a */,
Expand Down Expand Up @@ -488,13 +492,13 @@
isa = PBXNativeTarget;
buildConfigurationList = F79DB6221438F017004E4CA0 /* Build configuration list for PBXNativeTarget "CrossProcess" */;
buildPhases = (
984E3746E0211AD56E8CF92C /* [CP] Check Pods Manifest.lock */,
DB45622AD3421C85DB440DEE /* Check Pods Manifest.lock */,
F79DB6001438F017004E4CA0 /* Sources */,
F79DB6011438F017004E4CA0 /* Frameworks */,
F79DB6021438F017004E4CA0 /* Resources */,
16485BD2195675B7FE80816F /* Embed Pods Frameworks */,
380BC3C4AD6CBC0C94D4024E /* Copy Pods Resources */,
782AADCA1CA1AD5500C3839C /* ShellScript */,
75413D5E3E773CB4EFEEA870 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -512,19 +516,15 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = CP;
LastUpgradeCheck = 0720;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = "Zinc Collective LLC";
TargetAttributes = {
F79DB6031438F017004E4CA0 = {
DevelopmentTeam = G8R2KJ59DE;
};
};
};
buildConfigurationList = F79DB5FE1438F017004E4CA0 /* Build configuration list for PBXProject "CrossProcess" */;
compatibilityVersion = "Xcode 3.2";
compatibilityVersion = "Xcode 13.0";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
fr,
ja,
Expand Down Expand Up @@ -617,48 +617,54 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
16485BD2195675B7FE80816F /* Embed Pods Frameworks */ = {
75413D5E3E773CB4EFEEA870 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-CrossProcess/Pods-CrossProcess-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "Embed Pods Frameworks";
outputPaths = (
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-CrossProcess/Pods-CrossProcess-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CrossProcess/Pods-CrossProcess-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CrossProcess/Pods-CrossProcess-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
380BC3C4AD6CBC0C94D4024E /* Copy Pods Resources */ = {
782AADCA1CA1AD5500C3839C /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CrossProcess/Pods-CrossProcess-resources.sh\"\n";
showEnvVarsInLog = 0;
shellScript = "
";
};
782AADCA1CA1AD5500C3839C /* ShellScript */ = {
984E3746E0211AD56E8CF92C /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-CrossProcess-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Fabric/run\" 6a09c19815c2f7f42d12f74f97f8f87c0f139e62 d29b37ba3305e7a136158c7684175a69995c401705890454f260b5b758d91816";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
DB45622AD3421C85DB440DEE /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -758,12 +764,23 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ENABLE_OBJC_ARC = 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_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_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
Expand All @@ -788,7 +805,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
ONLY_ACTIVE_ARCH = YES;
PROVISIONING_PROFILE = "";
SDKROOT = iphoneos;
Expand All @@ -799,12 +816,23 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ENABLE_OBJC_ARC = 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_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_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
Expand All @@ -821,7 +849,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PROVISIONING_PROFILE = "";
SDKROOT = iphoneos;
Expand All @@ -834,13 +862,26 @@
baseConfigurationReference = C4C28E970671C24D9076E159 /* Pods-CrossProcess.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 10;
DEVELOPMENT_TEAM = 5GGD34ZNFU;
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "CrossProcess/CrossProcess-Prefix.pch";
INFOPLIST_FILE = "CrossProcess/CrossProcess-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
INFOPLIST_KEY_CFBundleDisplayName = "Cross Process";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.photography";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 2.8.0;
PRODUCT_BUNDLE_IDENTIFIER = com.greyscalegorilla.CrossProcess;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Debug;
Expand All @@ -850,13 +891,26 @@
baseConfigurationReference = CEA698B7A533C7200460AE76 /* Pods-CrossProcess.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 10;
DEVELOPMENT_TEAM = 5GGD34ZNFU;
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "CrossProcess/CrossProcess-Prefix.pch";
INFOPLIST_FILE = "CrossProcess/CrossProcess-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
INFOPLIST_KEY_CFBundleDisplayName = "Cross Process";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.photography";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 2.8.0;
PRODUCT_BUNDLE_IDENTIFIER = com.greyscalegorilla.CrossProcess;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Release;
Expand Down
Empty file modified CrossProcess/BCAppDelegate.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCGrowlView.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCGrowlView.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImage.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImage.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageCaptureController.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageCaptureController.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageCurve.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageCurve.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageLevels.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageLevels.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageScrollView.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageScrollView.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCImageView.h
100644 → 100755
Empty file.
10 changes: 5 additions & 5 deletions CrossProcess/BCImageView.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ - (void) pUseImageURL: (NSURL*) imageURL
}
else if(error)
{
NSLog(@"%@", [error description]);
NSLog(@"###---> %@", [error description]);
}
}
else
Expand All @@ -255,12 +255,12 @@ - (void) pUseImageURL: (NSURL*) imageURL
}
else
{
NSLog(@"Failed to load asset");
NSLog(@"###---> Failed to load asset");
}
}
failureBlock:^(NSError *error)
{
NSLog(@"%@", [error description]);
NSLog(@"###---> %@", [error description]);
}];
}
}
Expand Down Expand Up @@ -290,7 +290,7 @@ - (UIImage*) pLoadPlaceholderBorderImage
if(!image)
{
#if DEBUG
NSLog(@"[pLoadPlaceholderBorderImage] Using -imageNamed old school");
NSLog(@"###---> [pLoadPlaceholderBorderImage] Using -imageNamed old school");
#endif
image = [UIImage imageNamed: [@"preview_border" stringByAppendingPathExtension: @"png"]];
}
Expand Down Expand Up @@ -351,7 +351,7 @@ - (UIImage*) pLoadPlaceholderImage: (CPPlaceholderType) placeholderType
if(!image)
{
#if DEBUG
NSLog(@"[pLoadPlaceholderImage] Using -imageNamed old school");
NSLog(@"###---> [pLoadPlaceholderImage] Using -imageNamed old school");
#endif
image = [UIImage imageNamed: [placeholderName stringByAppendingPathExtension: @"jpg"]];
}
Expand Down
Empty file modified CrossProcess/BCMiscellaneous.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCMiscellaneous.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCTimer.h
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions CrossProcess/BCTimer.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ - (CGFloat) timeElapsedInMinutes

- (void) logElapsedInSeconds: (NSString*) prefix
{
NSLog(@"%@: %lf seconds", prefix ? prefix : @"Total time was", [self timeElapsedInSeconds]);
NSLog(@"###---> %@: %lf seconds", prefix ? prefix : @"Total time was", [self timeElapsedInSeconds]);
}

- (void) logElapsedInMilliseconds: (NSString*) prefix
{
NSLog(@"%@: %lf milliseconds", prefix ? prefix : @"Total time was", [self timeElapsedInMilliseconds]);
NSLog(@"###---> %@: %lf milliseconds", prefix ? prefix : @"Total time was", [self timeElapsedInMilliseconds]);
}

- (void) logElapsedInMinutes: (NSString*) prefix
{
NSLog(@"%@: %lf minutes", prefix ? prefix : @"Total time was", [self timeElapsedInMinutes]);
NSLog(@"###---> %@: %lf minutes", prefix ? prefix : @"Total time was", [self timeElapsedInMinutes]);
}

@end
Empty file modified CrossProcess/BCUtilities.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/BCUtilities.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/CPAppConstants.h
100644 → 100755
Empty file.
Empty file modified CrossProcess/CPAppConstants.m
100644 → 100755
Empty file.
Empty file modified CrossProcess/CPAppDelegate.h
100644 → 100755
Empty file.
26 changes: 20 additions & 6 deletions CrossProcess/CPAppDelegate.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
#import <CoreLocation/CoreLocation.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import "UIImageAdditions.h"
#import <Fabric/Fabric.h>
#import <Crashlytics/Crashlytics.h>

@interface CPAppDelegate()
- (BOOL) pManageFirstLaunchScenario;
@end

@import Sentry;
@implementation CPAppDelegate

@synthesize window = _window;
Expand All @@ -41,10 +40,25 @@ - (NSString*)version {

- (BOOL) application: (UIApplication*) application didFinishLaunchingWithOptions: (NSDictionary*) launchOptions
{

[Fabric with:@[[Crashlytics class]]];

NSLog(@"[CPAppDelegate] didFinishLaunchingWithOptions - %@", [self version]);
//Add Sentry
[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
options.dsn = @"https://[email protected]/4503925805613056";
options.debug = false; // Enabled debug when first installing is always helpful
// Example uniform sample rate: capture 100% of transactions for performance monitoring
options.tracesSampleRate = @1.0;

// Features turned off by default, but worth checking out
options.enableAppHangTracking = true;
options.enableFileIOTracking = true;
options.enableCoreDataTracking = true;

// Enable all experimental features
options.enableUserInteractionTracing = true;
options.attachScreenshot = true;
options.attachViewHierarchy = true;
}];

NSLog(@"###---> [CPAppDelegate] didFinishLaunchingWithOptions - %@", [self version]);

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.viewController = [[CPViewController alloc] initWithNibName:@"CPViewController" bundle:nil];
Expand Down
Empty file modified CrossProcess/CPImageProcessor.h
100644 → 100755
Empty file.
Loading

0 comments on commit 7bb124e

Please sign in to comment.