Superwall-iOS
Superwall-iOS copied to clipboard
[BUG] Release doesn't compile in Xcode
New issue checklist
- [x] I have reviewed the
READMEand documentation - [x] I have searched existing issues and this is not a duplicate
- [ ] I have attempted to reproduce the issue and include an example project.
General information
Superwallversion: 4.2.0- iOS version(s): 18.4
- Xcode version: 16.3
Describe the bug
I am trying to create a MAUI iOS binding for this library by adding header files to it but when I try to build this in Xcode or using make-xcframework.sh it gives me error
error: Build input files cannot be found: '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Models/Assignment/AssignmentPostback.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Models/Assignment/ConfirmedAssignment.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Models/Assignment/ConfirmedAssignmentResponse.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Models/Geo/GeoInfo.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Models/Geo/GeoWrapper.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Models/Product/ProductItem.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Analytics/Superwall Placement/SuperwallPlacement.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Analytics/Superwall Placement/SuperwallPlacementObjc.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Analytics/Internal Tracking/Trackable Events/TrackableSuperwallPlacement.swift', '/Users/h/Work/Superwall-iOS-4.2.0/Sources/SuperwallKit/Paywall/Presentation/Internal/Operators/WaitForEntitlementsAndConfig.swift'. Did you forget to declare these files as outputs of any script phases or custom build rules which produce them?
Steps to reproduce
Download the release 4.2.0 and use make-xcframework.sh or use xcode to build.
Does the example app build for you?
+1 on this, there are missing build files. Using Xcode 16.2. @yusuftor
Build input files cannot be found: '/Superwall-iOS-develop/Sources/SuperwallKit/Paywall/Presentation/Internal/Operators/WaitForEntitlementsAndConfig.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Analytics/Internal Tracking/Trackable Events/TrackableSuperwallPlacement.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Analytics/Superwall Placement/SuperwallPlacementObjc.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Analytics/Superwall Placement/SuperwallPlacement.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Models/Product/ProductItem.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Models/Geo/GeoWrapper.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Models/Geo/GeoInfo.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Models/Assignment/ConfirmedAssignmentResponse.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Models/Assignment/ConfirmedAssignment.swift', '/Superwall-iOS-develop/Sources/SuperwallKit/Models/Assignment/AssignmentPostback.swift'. Did you forget to declare these files as outputs of any script phases or custom build rules which produce them? (in target 'SuperwallKit' from project 'SuperwallKit')
None of those files exist anymore in that release so I'm not sure why it's still expecting to see them. I can't reproduce it. Maybe you can try clearing your DerivedData and removing/reinstalling the package?
Sorry, I'm referring to the example project in Examples/Advanced. Sounds like a recent update removed the files for the SDK but the changes weren't pushed for the example projects?
We use the advanced example app when working on the SDK. It works for us and I can't reproduce this issue. Did you try cleaning DerivedData?
I haven't heard back for a while and can't reproduce so I'm gonna close this.