Avatar
なんかうちと違うけどリンクエラーは出てるな。 [omochi@omochi-mbp swift-deps-rebuild-bug (main =)]$ ./repro.bash + pwd /Users/omochi/github/omochi/swift-deps-rebuild-bug + cd AppPackage + swift package clean + swift build Building for debugging... [24/24] Applying app Build complete! (0.95s) + cd .. + cd ToyboxPackage/Sources/ToyboxCore + sed 's/a: Int = 0/a: Int = 0, b: Int = 0/' Debug.swift + mv -f Debug.2.swift Debug.swift + cd ../../../AppPackage + swift build Building for debugging... error: link command failed with exit code 1 (use -v to see invocation) Undefined symbols for architecture arm64: "ToyboxCore.toyDebug(a: Swift.Int) -> ()", referenced from: AppModule.App.main() -> () in App.swift.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) error: fatalError [9/14] Linking app