There is an error in using xcode 13 according to the operation in the video
zuqiu123 opened this issue · comments
video link: https://twitter.com/sir_kif/status/1368644206789615617
xcode: Version 13.0 (13A233)
Multiple commands produce '/Users/admin/Library/Developer/Xcode/DerivedData/HotSwiftUI-bphptxjidulartdyzngcqjbfxuid/Build/Intermediates.noindex/HotSwiftUI.build/Debug-iphonesimulator/HotSwiftUI.build/Objects-normal/arm64/HotSwiftUI.swiftmodule':
- Target 'HotSwiftUI' (project 'HotSwiftUI') has compile command for Swift source files
- Target 'HotSwiftUI' (project 'HotSwiftUI') has compile command for Swift source files
build fail
Hi, It's difficult to say what the problem is here without knowing more about your project. I have used "HotSwiftUI" with Xcode 13 without seeing this problem. Have you used it before with Xcode 12?
No, I use the xcode13 beat version. I cleared the cache and reset it.
I feel that this will refresh automatically. I must set
#if debug for the view to be modified in advance
@ObservedObject var iO = injectionObserver
#
Then set debug view
. erasetoanyview ()
to debug it dynamically. If a view is not set, it will still be a little troublesome to run it again
All I can suggest is trying, getting it working in Xcode 12 before trying Xcode 13 again.
Thank you idol, I will close this video