Issue after updating to Xcode 15
nouraraar91 opened this issue · 0 comments
nouraraar91 commented
I'm using this library in my SwiftUI project and everything was fine till I updated to Xcode 15, now preview is not working for me
== PREVIEW UPDATE ERROR:
SchemeBuildError: Failed to build the scheme ”Phoenix-Example”
Build input file cannot be found: '/Users/nouralden/Library/Developer/Xcode/DerivedData/Phoenix-cqpkyyaptoqosdbwkjutepgdzimn/Build/Products/Debug-iphonesimulator/PreviewSnapshots.o'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'Phoenix_Tests' from project 'Phoenix')
Build target Phoenix_Tests:
/Users/nouralden/Documents/Development/phoenix-ios/ios/Example/Phoenix.xcodeproj: warning: Unable to find a target which creates the host product for value of $(TEST_HOST) '/Users/nouralden/Library/Developer/Xcode/DerivedData/Phoenix-cqpkyyaptoqosdbwkjutepgdzimn/Build/Products/Debug-iphonesimulator/Phoenix_Example.app/Phoenix_Example' (in target 'Phoenix_Tests' from project 'Phoenix')
Link Phoenix_Tests (arm64):
error: Build input file cannot be found: '/Users/nouralden/Library/Developer/Xcode/DerivedData/Phoenix-cqpkyyaptoqosdbwkjutepgdzimn/Build/Products/Debug-iphonesimulator/PreviewSnapshots.o'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'Phoenix_Tests' from project 'Phoenix')
Project is running and test is working fine, but not the preview
I tried to re-install the library using SPM, and cleared derived data and cleaned the project many times but still couldn't get it working, any idea?