-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Warnings when building with the Branch SDK on Xcode 26, targeting iOS 26.
It gives warnings on the latest version 3.13.1 on CocoaPods and SPM
warnings:
- "'SKProductsRequestDelegate' is deprecated: first deprecated in iOS 18.0 - Get products using Product.products(for:)"
- "'SKProductsRequestDelegate' is deprecated: first deprecated in iOS 18.0 - Get products using Product.products(for:)"
If the "Treat Warnings as Errors" build setting is enabled, the build will fail with this error:
- "failed to emit precompiled module '/Users/user/Library/Developer/Xcode/DerivedData/Pivot-cvnzkbtiruqtlcdgfnbcaocdnyaq/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules/BranchSDK-2NKP3CZV61A57PIJPGLFN3243.pcm' for module map '/Users/user/Library/Developer/Xcode/DerivedData/-cvnzkbtiruqtlcdgfnbcaocdnyaq/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/BranchSDK.modulemap'
Steps to reproduce
- Integrate the latest Branch SDK 3.13.1 into a project using SPM or CocoaPods
- Build on Xcode 26, targeting iOS 26 on an iPhone 17 simulator
- Warnings will show up, and the build should fail with the mentioned errors when the "Treat Warnings as Errors" build setting is enabled.
Expected behavior
The project should build without warnings
SDK Version
3.4.3 - 3.13.1
XCode Version
26
Device
iPhone 17 simulator
OS
iOS 26
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working