- 
                Notifications
    
You must be signed in to change notification settings  - Fork 396
 
Open
Labels
Description
Describe the bug
I can not compile for physical devices. Building for simulator still works.
Platform
iOS
SDK version
5.34.0
StoreKit version
StoreKit 2 (default on versions >=5.0.0)
OS version
iOS 26b6
Xcode version
Xcode 26b5
Device and/or simulator
Device
Environment
Sandbox
How widespread is the issue
100%
Debug logs
Showing All Errors Only
Ld /Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/RevenueCat.build/Debug-watchos/RevenueCat.build/Objects-normal-asan/armv7k/Binary/RevenueCat.o normal armv7k (in target 'RevenueCat' from project 'RevenueCat')
    cd /Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/SourcePackages/checkouts/purchases-ios
    /Applications/Xcode-26.0.0-beta.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target armv7k-apple-watchos6.2 -r -isysroot /Applications/Xcode-26.0.0-beta.5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -O0 -w -L/Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Products/Debug-watchos -L/Applications/Xcode-26.0.0-beta.5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Products/Debug-watchos -iframework /Applications/Xcode-26.0.0-beta.5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.0.0-beta.5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk/Developer/Library/Frameworks -filelist /Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/RevenueCat.build/Debug-watchos/RevenueCat.build/Objects-normal/armv7k/RevenueCat.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/RevenueCat.build/Debug-watchos/RevenueCat.build/Objects-normal-asan/armv7k/RevenueCat_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/RevenueCat.build/Debug-watchos/RevenueCat.build/Objects-normal-asan/armv7k/RevenueCat_dependency_info.dat -fobjc-link-runtime -fsanitize\=address -L/Applications/Xcode-26.0.0-beta.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/RevenueCat.build/Debug-watchos/RevenueCat.build/Objects-normal-asan/armv7k/RevenueCat.swiftmodule @/Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/RevenueCat.build/Debug-watchos/RevenueCat.build/Objects-normal-asan/armv7k/RevenueCat-linker-args.resp -o /Users/willbishop/Library/Developer/Xcode/DerivedData/Pestle-cueuvzgegrvupdemloxrfsuieawv/Build/Intermediates.noindex/RevenueCat.build/Debug-watchos/RevenueCat.build/Objects-normal-asan/armv7k/Binary/RevenueCat.o
ld: scattered reloc r_address too large for architecture armv7k
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Scattered reloc r_address too large for architecture armv7k
Linker command failed with exit code 1 (use -v to see invocation)Steps to reproduce
Unclear, but I am using Packages to share dependencies across targets without inflating build size. So I have a dependency called PestleDependencies which depends on RevenueCat (along with others).
Other information
Additional context
Disabling Address Sanitizer in my main apps scheme fixes this issue also.