Closed neriusv closed 1 year ago
Thanks, looking into it
I think this might be a swift data build thing? not really sure but having troubles reliably reproducing this. Could you point to branch GH-382 and let me know if it resolves it for you?
I just pushed another change with a fix, was able to reproduce finally after wiping derived data.
I tried using GH-382 but now it doesn't build at all:
CompileC....Library/Developer/Xcode/DerivedData/AirshipError-diuzgsxrjdspltebuyenceppjsau/Build/Intermediates.noindex/Airship.build/Debug-iphonesimulator/AirshipCore.build/Objects-normal/arm64/UAirshipCacheData+CoreDataClass.o /Users/neriuswork/Library/Developer/Xcode/DerivedData/AirshipError-diuzgsxrjdspltebuyenceppjsau/Build/Intermediates.noindex/Airship.build/Debug-iphonesimulator/AirshipCore.build/DerivedSources/CoreDataGenerated/UAirshipCache/UAirshipCacheData+CoreDataClass.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'AirshipCore' from project 'Airship')
error: Build input file cannot be found: '....Library/Developer/Xcode/DerivedData/AirshipError-diuzgsxrjdspltebuyenceppjsau/Build/Intermediates.noindex/Airship.build/Debug-iphonesimulator/AirshipCore.build/DerivedSources/resource_bundle_accessor.h'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'AirshipCore' from project 'Airship')
CompileC ...Library/Developer/Xcode/DerivedData/AirshipError-diuzgsxrjdspltebuyenceppjsau/Build/Intermediates.noindex/Airship.build/Debug-iphonesimulator/AirshipCore.build/Objects-normal/arm64/UAirshipCacheData+CoreDataProperties.o /Users/neriuswork/Library/Developer/Xcode/DerivedData/AirshipError-diuzgsxrjdspltebuyenceppjsau/Build/Intermediates.noindex/Airship.build/Debug-iphonesimulator/AirshipCore.build/DerivedSources/CoreDataGenerated/UAirshipCache/UAirshipCacheData+CoreDataProperties.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'AirshipCore' from project 'Airship')
error: Build input file cannot be found: '...Library/Developer/Xcode/DerivedData/AirshipError-diuzgsxrjdspltebuyenceppjsau/Build/Intermediates.noindex/Airship.build/Debug-iphonesimulator/AirshipCore.build/DerivedSources/resource_bundle_accessor.h'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'AirshipCore' from project 'Airship')
Clearing DerivedData does not help.
@neriusv i just pushed another change, it was a codegen issue with the new coredata files
I believe this is fixed in 17.6.1
I can confirm this is fixed in 17.6.1. Thanks!
Preliminary Info
What Airship dependencies are you using?
Airship 17.6.0
What are the versions of any relevant development tools you are using?
Xcode 15.0
Report
What unexpected behavior are you seeing?
Project fails to build for previews when using Airship 17.6.0. Airship 17.5.1 work fine.
What is the expected behavior?
SwiftUI Previews should build successfully with Airship 17.6.0.
What are the steps to reproduce the unexpected behavior?
ContentView
(which is created by default when creating a new project);4 duplicate symbols for architecture arm64
Everything works correctly after downgrading to Airship 17.5.1;Do you have logging for the issue?