diff --git a/.cargo/config.toml b/.cargo/config.toml index dbfa4063..d5b25edf 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,6 @@ [target.aarch64-apple-ios] runner = "cargo-box runner" + +[target.arm64_32-apple-watchos] +runner = "cargo-box runner" diff --git a/cargo-box/box/cfg.xcconfig b/cargo-box/box/cfg.xcconfig index 43945e5d..fc6286bf 100644 --- a/cargo-box/box/cfg.xcconfig +++ b/cargo-box/box/cfg.xcconfig @@ -20,7 +20,9 @@ ENABLE_HARDENED_RUNTIME = YES GENERATE_INFOPLIST_FILE = YES LD_RUNPATH_SEARCH_PATHS = @executable_path/Frameworks LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = @executable_path/../Frameworks -TARGETED_DEVICE_FAMILY = 1,2,7 +TARGETED_DEVICE_FAMILY = 1,2,4,7 + +INFOPLIST_KEY_WKWatchOnly = YES ALWAYS_SEARCH_USER_PATHS = NO @@ -47,3 +49,4 @@ BOX_ORG_ID = org.cidre PRODUCT_BUNDLE_IDENTIFIER = $(BOX_ORG_ID).$(BOX_ID) INFOPLIST_KEY_CFBundleDisplayName = $(PRODUCT_NAME) BOX_BIN_PATH = $(PRODUCT_NAME) +