Skip to content

Commit

Permalink
chore: manually build app
Browse files Browse the repository at this point in the history
  • Loading branch information
marmos91 committed Jan 19, 2024
1 parent 189c7d1 commit 6bafe62
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 13 deletions.
40 changes: 28 additions & 12 deletions CubbitDS3Sync.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1290,10 +1290,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = CubbitDS3Sync/CubbitDS3Sync.entitlements;
CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_ASSET_PATHS = "\"CubbitDS3Sync/Preview Content\"";
DEVELOPMENT_TEAM = X889956QSM;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = X889956QSM;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1319,11 +1321,13 @@
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = io.cubbit.CubbitDS3Sync;
PRODUCT_NAME = "Cubbit DS3";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "Cubbit DS3Sync";
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
SUPPORTED_PLATFORMS = macosx;
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
Expand All @@ -1334,10 +1338,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = CubbitDS3Sync/CubbitDS3Sync.entitlements;
CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_ASSET_PATHS = "\"CubbitDS3Sync/Preview Content\"";
DEVELOPMENT_TEAM = X889956QSM;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = X889956QSM;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1363,11 +1369,13 @@
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = io.cubbit.CubbitDS3Sync;
PRODUCT_NAME = "Cubbit DS3";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "Cubbit DS3Sync";
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
SUPPORTED_PLATFORMS = macosx;
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
Expand Down Expand Up @@ -1448,9 +1456,11 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Provider/Provider.entitlements;
CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = X889956QSM;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = X889956QSM;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Provider/Info.plist;
Expand All @@ -1465,6 +1475,8 @@
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = io.cubbit.CubbitDS3Sync.Provider;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "Cubbit DS3Sync Provider";
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -1476,9 +1488,11 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Provider/Provider.entitlements;
CODE_SIGN_STYLE = Automatic;
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = X889956QSM;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = X889956QSM;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Provider/Info.plist;
Expand All @@ -1493,6 +1507,8 @@
MARKETING_VERSION = 1.2;
PRODUCT_BUNDLE_IDENTIFIER = io.cubbit.CubbitDS3Sync.Provider;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "Cubbit DS3Sync Provider";
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
3 changes: 2 additions & 1 deletion Provider/FileProviderExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,14 @@ class FileProviderExtension: NSObject, NSFileProviderReplicatedExtension /* TODO
}

if newContents == nil {
// TODO: Handle metadata changes
completionHandler(item, NSFileProviderItemFields(), false, nil)
return Progress()
}

// TODO: Handle versioning
// TODO: Handle metadata changes
// TODO: Is it handling folders?
// TODO: Handle renaming

self.logger.debug("Should upload modified file \(item.filename, privacy: .public)")

Expand Down

0 comments on commit 6bafe62

Please sign in to comment.