Skip to content

Commit

Permalink
fix: try change for icon (#2272)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Leach <[email protected]>
  • Loading branch information
jleach authored Nov 14, 2024
1 parent feea0c1 commit c4298f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/ios/AriesBifold.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@
baseConfigurationReference = 6228B39BEBDEB177D0C79D99 /* Pods-AriesBifold.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = AriesBifold/AriesBifold.entitlements;
CURRENT_PROJECT_VERSION = 444;
Expand Down Expand Up @@ -573,7 +573,7 @@
baseConfigurationReference = CD48035C19AD8C07DE719567 /* Pods-AriesBifold.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = AriesBifold/AriesBifold.entitlements;
CURRENT_PROJECT_VERSION = 1;
Expand Down
8 changes: 6 additions & 2 deletions app/ios/AriesBifold/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// They will be passed down to the ViewController used by React Native.
self.initialProps = @{};

// Because certain file operations can reset resource values, we
// excluded file’s resource values each time the application starts.
[self excludeDotAFJFolderFromBackup];

return [super application:application didFinishLaunchingWithOptions:launchOptions];
Expand Down Expand Up @@ -68,8 +70,10 @@ - (void)excludeDotAFJFolderFromBackup {
forKey:NSURLIsExcludedFromBackupKey
error:&error];

if (!success) {
NSLog(@"Error excluding folder %@ from backup: %@", folderName, error);
if (success) {
NSLog(@"Excluded folder %@ from backup.", folderName);
} else {
NSLog(@"Error excluding folder %@ from backup: %@", folderName, error);
}
}

Expand Down

0 comments on commit c4298f7

Please sign in to comment.