oficina / memoria Public

Prepare sandboxed Mac and iOS TestFlight packaging

Paul Campbell pushed by codex agent, operated by paul@keymail.dev cc3b29ebebe23f9f2f645a550272596f568c7e35 parent 15e39ca
10 files changed, +505 −2
  • native/PrivacyInfo.xcprivacy +17 −0
  • native/apple/Sources/MemoriaApp/MemoriaApp.swift +4 −2
  • native/ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png binary
  • native/ios/project.yml +2 −0
  • native/macos/AppIcon.icns binary
  • native/macos/AppStore.entitlements +12 −0
  • native/macos/Info.plist +30 −0
  • native/macos/MemoriaMacStore.xcodeproj/project.pbxproj +385 −0
  • native/macos/MemoriaMacStore.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 −0
  • native/macos/project.yml +48 −0
diff --git a/native/PrivacyInfo.xcprivacy b/native/PrivacyInfo.xcprivacy
new file mode 100644
index 0000000..79bc9e2
--- /dev/null
+++ b/native/PrivacyInfo.xcprivacy
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>NSPrivacyAccessedAPITypes</key>
+ <array>
+ <dict>
+ <key>NSPrivacyAccessedAPIType</key>
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
+ <key>NSPrivacyAccessedAPITypeReasons</key>
+ <array>
+ <string>CA92.1</string>
+ </array>
+ </dict>
+ </array>
+</dict>
+</plist>
diff --git a/native/apple/Sources/MemoriaApp/MemoriaApp.swift b/native/apple/Sources/MemoriaApp/MemoriaApp.swift
index 52bf5bd..6f04218 100644
--- a/native/apple/Sources/MemoriaApp/MemoriaApp.swift
+++ b/native/apple/Sources/MemoriaApp/MemoriaApp.swift
@@ -1,4 +1,4 @@
-#if os(macOS)
+#if os(macOS) && canImport(RastrilloMacUpdates)
import RastrilloMacUpdates
#endif
import MemoriaKit
@@ -6,7 +6,7 @@ import RastrilloApple
import SwiftUI
@main struct MemoriaApp: App {
- #if os(macOS)
+ #if os(macOS) && canImport(RastrilloMacUpdates)
@State private var updater = NativeUpdater()
#endif
@StateObject private var connection = NativeConnection(defaultServer: "https://memoria.oficina.works")
@@ -22,7 +22,9 @@ import SwiftUI
}
#if os(macOS)
.defaultSize(width: 1120, height: 780)
+ #if canImport(RastrilloMacUpdates)
.commands { NativeUpdateCommands(updater: updater) }
+ #endif
#endif
}
}
diff --git a/native/ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png b/native/ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png
index d07f2d2..e17f06f 100644
Binary files a/native/ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png and b/native/ios/Assets.xcassets/AppIcon.appiconset/AppIcon.png differ
diff --git a/native/ios/project.yml b/native/ios/project.yml
index 53f67c7..2479aaf 100644
--- a/native/ios/project.yml
+++ b/native/ios/project.yml
@@ -24,6 +24,8 @@ targets:
- Assets.xcassets
- path: ../LICENSE.lucide
buildPhase: resources
+ - path: ../PrivacyInfo.xcprivacy
+ buildPhase: resources
dependencies:
- package: MemoriaNative
product: MemoriaKit
diff --git a/native/macos/AppIcon.icns b/native/macos/AppIcon.icns
new file mode 100644
index 0000000..4ec9387
Binary files /dev/null and b/native/macos/AppIcon.icns differ
diff --git a/native/macos/AppStore.entitlements b/native/macos/AppStore.entitlements
new file mode 100644
index 0000000..a046386
--- /dev/null
+++ b/native/macos/AppStore.entitlements
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.app-sandbox</key>
+ <true/>
+ <key>com.apple.security.files.user-selected.read-write</key>
+ <true/>
+ <key>com.apple.security.network.client</key>
+ <true/>
+</dict>
+</plist>
diff --git a/native/macos/Info.plist b/native/macos/Info.plist
new file mode 100644
index 0000000..3396f10
--- /dev/null
+++ b/native/macos/Info.plist
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleDisplayName</key>
+ <string>Oficina Memoria</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIconFile</key>
+ <string>AppIcon</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>Oficina Memoria</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>$(MARKETING_VERSION)</string>
+ <key>CFBundleVersion</key>
+ <string>$(CURRENT_PROJECT_VERSION)</string>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.productivity</string>
+ <key>NSHighResolutionCapable</key>
+ <true/>
+</dict>
+</plist>
diff --git a/native/macos/MemoriaMacStore.xcodeproj/project.pbxproj b/native/macos/MemoriaMacStore.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..ee3a5c9
--- /dev/null
+++ b/native/macos/MemoriaMacStore.xcodeproj/project.pbxproj
@@ -0,0 +1,385 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 77;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 62DAD2737A3C489AC01DA5D7 /* LICENSE.lucide in Resources */ = {isa = PBXBuildFile; fileRef = 9A56E94BD4B8215F7359A9EF /* LICENSE.lucide */; };
+ 6C181173E9F153CB10AC9C10 /* RastrilloApple in Frameworks */ = {isa = PBXBuildFile; productRef = 10B21F5A56D5FDB14A18B81E /* RastrilloApple */; };
+ 8917A467DB772024001F12FA /* MemoriaKit in Frameworks */ = {isa = PBXBuildFile; productRef = 9C9EC15ECF1B08451E6F4D99 /* MemoriaKit */; };
+ 96D62D320618E499EEC42999 /* AppIcon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 07D844CB47948D9F08D1BBE4 /* AppIcon.icns */; };
+ B42C2D3B4218B52EB93066A2 /* MemoriaApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 955DE6794044930B7FEE691F /* MemoriaApp.swift */; };
+ CC8BA388D51FF071E33D2EE3 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 9F596C466533E05218DA78DD /* PrivacyInfo.xcprivacy */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 07D844CB47948D9F08D1BBE4 /* AppIcon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = AppIcon.icns; sourceTree = "<group>"; };
+ 179F99A5AA2353D77ADAD28B /* MemoriaMacStore.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MemoriaMacStore.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 955DE6794044930B7FEE691F /* MemoriaApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MemoriaApp.swift; sourceTree = "<group>"; };
+ 9A56E94BD4B8215F7359A9EF /* LICENSE.lucide */ = {isa = PBXFileReference; path = LICENSE.lucide; sourceTree = "<group>"; };
+ 9F596C466533E05218DA78DD /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
+ EFB8261B3D7DC1506012C788 /* apple */ = {isa = PBXFileReference; lastKnownFileType = folder; name = apple; path = ../apple; sourceTree = SOURCE_ROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ E94C68A160366E00FD1D95E9 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8917A467DB772024001F12FA /* MemoriaKit in Frameworks */,
+ 6C181173E9F153CB10AC9C10 /* RastrilloApple in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 07070BD307DF08DE6755DC34 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 179F99A5AA2353D77ADAD28B /* MemoriaMacStore.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 0B7BAA8EEBD1388F86DE7253 /* native */ = {
+ isa = PBXGroup;
+ children = (
+ 9A56E94BD4B8215F7359A9EF /* LICENSE.lucide */,
+ 9F596C466533E05218DA78DD /* PrivacyInfo.xcprivacy */,
+ );
+ name = native;
+ path = ..;
+ sourceTree = "<group>";
+ };
+ 252F1015CAD7DAEF5C482367 = {
+ isa = PBXGroup;
+ children = (
+ 07D844CB47948D9F08D1BBE4 /* AppIcon.icns */,
+ A06AF80C45B5A59E2D66B1DF /* MemoriaApp */,
+ 0B7BAA8EEBD1388F86DE7253 /* native */,
+ E17EA329D125C08C0F9AF57B /* Packages */,
+ 07070BD307DF08DE6755DC34 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ A06AF80C45B5A59E2D66B1DF /* MemoriaApp */ = {
+ isa = PBXGroup;
+ children = (
+ 955DE6794044930B7FEE691F /* MemoriaApp.swift */,
+ );
+ name = MemoriaApp;
+ path = ../apple/Sources/MemoriaApp;
+ sourceTree = "<group>";
+ };
+ E17EA329D125C08C0F9AF57B /* Packages */ = {
+ isa = PBXGroup;
+ children = (
+ EFB8261B3D7DC1506012C788 /* apple */,
+ );
+ name = Packages;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 83DE8808CCA1A168399FB6FC /* MemoriaMacStore */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 57ADFA183096CFA4602F98F0 /* Build configuration list for PBXNativeTarget "MemoriaMacStore" */;
+ buildPhases = (
+ DEFC8F480094B010D4A5DEBD /* Sources */,
+ 945A5122174701921FD88511 /* Resources */,
+ E94C68A160366E00FD1D95E9 /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = MemoriaMacStore;
+ packageProductDependencies = (
+ 9C9EC15ECF1B08451E6F4D99 /* MemoriaKit */,
+ 10B21F5A56D5FDB14A18B81E /* RastrilloApple */,
+ );
+ productName = MemoriaMacStore;
+ productReference = 179F99A5AA2353D77ADAD28B /* MemoriaMacStore.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 69A61D0B3CEA0C6E0DB50B0D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ BuildIndependentTargetsInParallel = YES;
+ LastUpgradeCheck = 1430;
+ TargetAttributes = {
+ 83DE8808CCA1A168399FB6FC = {
+ ProvisioningStyle = Automatic;
+ };
+ };
+ };
+ buildConfigurationList = DFA67E8B739823AD736230E9 /* Build configuration list for PBXProject "MemoriaMacStore" */;
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ Base,
+ en,
+ );
+ mainGroup = 252F1015CAD7DAEF5C482367;
+ minimizedProjectReferenceProxies = 1;
+ packageReferences = (
+ B6548C7DA0D264D8E589362C /* XCRemoteSwiftPackageReference "native" */,
+ 5AFF96632CB1DD74F2084D4F /* XCLocalSwiftPackageReference "../apple" */,
+ );
+ preferredProjectObjectVersion = 77;
+ productRefGroup = 07070BD307DF08DE6755DC34 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 83DE8808CCA1A168399FB6FC /* MemoriaMacStore */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 945A5122174701921FD88511 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 96D62D320618E499EEC42999 /* AppIcon.icns in Resources */,
+ 62DAD2737A3C489AC01DA5D7 /* LICENSE.lucide in Resources */,
+ CC8BA388D51FF071E33D2EE3 /* PrivacyInfo.xcprivacy in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ DEFC8F480094B010D4A5DEBD /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ B42C2D3B4218B52EB93066A2 /* MemoriaApp.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 080ADA156252E99EA33551AF /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = 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_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGN_STYLE = Automatic;
+ COPY_PHASE_STRIP = NO;
+ CURRENT_PROJECT_VERSION = 3;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_HARDENED_RUNTIME = YES;
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 14.0;
+ MARKETING_VERSION = 0.1.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+ 5598028F569F6C698F09BEA5 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_ENTITLEMENTS = AppStore.entitlements;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = net.amadan.oficina.memoria;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ 6BA81B41116C122946AAA17A /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_ENTITLEMENTS = AppStore.entitlements;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = net.amadan.oficina.memoria;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ CEA30C05BEF7755643137A64 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_ENABLE_OBJC_WEAK = 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = 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_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGN_STYLE = Automatic;
+ COPY_PHASE_STRIP = NO;
+ CURRENT_PROJECT_VERSION = 3;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_HARDENED_RUNTIME = YES;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "$(inherited)",
+ "DEBUG=1",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 14.0;
+ MARKETING_VERSION = 0.1.0;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = macosx;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 57ADFA183096CFA4602F98F0 /* Build configuration list for PBXNativeTarget "MemoriaMacStore" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 5598028F569F6C698F09BEA5 /* Debug */,
+ 6BA81B41116C122946AAA17A /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Debug;
+ };
+ DFA67E8B739823AD736230E9 /* Build configuration list for PBXProject "MemoriaMacStore" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ CEA30C05BEF7755643137A64 /* Debug */,
+ 080ADA156252E99EA33551AF /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Debug;
+ };
+/* End XCConfigurationList section */
+
+/* Begin XCLocalSwiftPackageReference section */
+ 5AFF96632CB1DD74F2084D4F /* XCLocalSwiftPackageReference "../apple" */ = {
+ isa = XCLocalSwiftPackageReference;
+ relativePath = ../apple;
+ };
+/* End XCLocalSwiftPackageReference section */
+
+/* Begin XCRemoteSwiftPackageReference section */
+ B6548C7DA0D264D8E589362C /* XCRemoteSwiftPackageReference "native" */ = {
+ isa = XCRemoteSwiftPackageReference;
+ repositoryURL = "https://amadan.net/rastrillo/native";
+ requirement = {
+ kind = revision;
+ revision = 4c61d6283a188c95647e1d0e609e69d29c2e7fa1;
+ };
+ };
+/* End XCRemoteSwiftPackageReference section */
+
+/* Begin XCSwiftPackageProductDependency section */
+ 10B21F5A56D5FDB14A18B81E /* RastrilloApple */ = {
+ isa = XCSwiftPackageProductDependency;
+ package = B6548C7DA0D264D8E589362C /* XCRemoteSwiftPackageReference "native" */;
+ productName = RastrilloApple;
+ };
+ 9C9EC15ECF1B08451E6F4D99 /* MemoriaKit */ = {
+ isa = XCSwiftPackageProductDependency;
+ productName = MemoriaKit;
+ };
+/* End XCSwiftPackageProductDependency section */
+ };
+ rootObject = 69A61D0B3CEA0C6E0DB50B0D /* Project object */;
+}
diff --git a/native/macos/MemoriaMacStore.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/native/macos/MemoriaMacStore.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..919434a
--- /dev/null
+++ b/native/macos/MemoriaMacStore.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:">
+ </FileRef>
+</Workspace>
diff --git a/native/macos/project.yml b/native/macos/project.yml
new file mode 100644
index 0000000..c371057
--- /dev/null
+++ b/native/macos/project.yml
@@ -0,0 +1,48 @@
+name: MemoriaMacStore
+options:
+ deploymentTarget:
+ macOS: '14.0'
+packages:
+ MemoriaNative:
+ path: ../apple
+ RastrilloNative:
+ url: https://amadan.net/rastrillo/native
+ revision: 4c61d6283a188c95647e1d0e609e69d29c2e7fa1
+settings:
+ base:
+ SWIFT_VERSION: '5.0'
+ CODE_SIGN_STYLE: Automatic
+ MARKETING_VERSION: '0.1.0'
+ CURRENT_PROJECT_VERSION: '3'
+ ENABLE_HARDENED_RUNTIME: YES
+targets:
+ MemoriaMacStore:
+ type: application
+ platform: macOS
+ sources:
+ - ../apple/Sources/MemoriaApp
+ - path: AppIcon.icns
+ buildPhase: resources
+ - path: ../LICENSE.lucide
+ buildPhase: resources
+ - path: ../PrivacyInfo.xcprivacy
+ buildPhase: resources
+ dependencies:
+ - package: MemoriaNative
+ product: MemoriaKit
+ - package: RastrilloNative
+ product: RastrilloApple
+ info:
+ path: Info.plist
+ properties:
+ CFBundleDisplayName: Oficina Memoria
+ CFBundleName: Oficina Memoria
+ CFBundleShortVersionString: $(MARKETING_VERSION)
+ CFBundleVersion: $(CURRENT_PROJECT_VERSION)
+ CFBundleIconFile: AppIcon
+ LSApplicationCategoryType: public.app-category.productivity
+ NSHighResolutionCapable: true
+ settings:
+ base:
+ PRODUCT_BUNDLE_IDENTIFIER: net.amadan.oficina.memoria
+ CODE_SIGN_ENTITLEMENTS: AppStore.entitlements