Repository navigation
Build the iOS package for arm64 watches and tvOS - #64
Merged
Merged
Conversation
Xcode builds watch apps for arm64_32 and arm64, but the watchOS device slice only had arm64_32, so any watch app linking Superscript failed with "found architecture 'arm64_32', required architecture 'arm64'". The device slice is now a fat arm64_32 + arm64 library. Also adds tvOS device (arm64) and simulator (arm64 + x86_64) slices, so SuperwallKit can evaluate audience filters on tvOS. All new targets are tier 3 and use the same nightly build-std setup as watchOS and visionOS, with panic_unwind kept. Bumps to 1.0.18 to publish it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
watchOS: watch apps couldn't link. Xcode builds watch apps for both
arm64_32andarm64, but the watchOS device slice only hadarm64_32. Any watch app using SuperwallKit failed to link:The device slice is now a fat
arm64_32+arm64library (watchos-arm64_arm64_32).tvOS: new slices. Adds tvOS device (
arm64) and simulator (arm64+x86_64) slices, so SuperwallKit can evaluate audience filters on tvOS. Today it leaves Superscript out on tvOS, so filters never match there.All four new targets are tier 3 and use the same nightly
build-stdsetup as watchOS and visionOS, withpanic_unwindkept.Release: bumps to 1.0.18 (crate, wasm package, changelog). The newest
superscript-ios-nexttag is 1.0.17, so the release won't be skipped. The evaluator itself is unchanged.Merge order
Package.swiftTesting
cargo test --lib: 114 passed../build_ios.shlocally produces all 10 slices.🤖 Generated with Claude Code