Skip to content

Commit

Permalink
enable apple watch runner
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Dec 29, 2024
1 parent 5d8fd20 commit 1a9ed67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

[target.aarch64-apple-ios]
runner = "cargo-box runner"

[target.arm64_32-apple-watchos]
runner = "cargo-box runner"
5 changes: 4 additions & 1 deletion cargo-box/box/cfg.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)

0 comments on commit 1a9ed67

Please # to comment.