-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I tried using PlaydateKit, it works fine when I compile it with swift package pdc on the shell, but in Xcode it fails with:
CompileSwift normal arm64 (in target 'PlaydateKit' from project 'PlaydateKit')
cd <HOME>workspaces/playdate/playdate-test-01/.swiftpm/xcode
<HOME>Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-03-13-a.xctoolchain/usr/bin/swift-frontend -c <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/Display.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/Easing.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/File.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/Graphics.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/JSON.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/Lua.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/Scoreboards.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/Sound.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/Sprite.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/System.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Core/UI/UI.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Geometry/AffineTransform.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Geometry/Line.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Geometry/Point.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Geometry/Polygon.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Geometry/Rect.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Playdate.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/PlaydateGame.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Utils/Comparable+Extensions.swift <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/PlaydateKit/Utils/FloatingPoint+CustomStringConvertible.swift -supplementary-output-file-map <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Intermediates.noindex/PlaydateKit.build/Debug/PlaydateKit.build/Objects-normal/arm64/supplementaryOutputs-7 -target arm64-apple-macos14.0 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -I <HOME>Developer/PlaydateSDK/C_API -I <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Products/Debug -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Products/Debug/PackageFrameworks -F <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Products/Debug/PackageFrameworks -F <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Products/Debug -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path <HOME>Library/Developer/Xcode/DerivedData/ModuleCache.noindex -suppress-warnings -swift-version 6 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -disable-objc-interop -disable-stack-protector -function-sections -gline-tables-only -serialize-debugging-options -const-gather-protocols-file <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Intermediates.noindex/PlaydateKit.build/Debug/PlaydateKit.build/Objects-normal/arm64/PlaydateKit_const_extract_protocols.json -enable-experimental-feature Embedded -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -empty-abi-descriptor -plugin-path <HOME>Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-03-13-a.xctoolchain/usr/lib/swift/host/plugins -external-plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing\#/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file <HOME>Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc <HOME>workspaces/playdate/playdate-test-01/.swiftpm/xcode -resource-dir <HOME>Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-03-13-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir <HOME>workspaces/playdate/playdate-test-01/.swiftpm/xcode -Xcc -fmodule-map-file\=<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Intermediates.noindex/GeneratedModuleMaps/SwiftUnicodeDataTables.modulemap -Xcc -DTARGET_EXTENSION -Xcc -I -Xcc /usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi/9.2.1/include -Xcc -I -Xcc /usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi/9.2.1/include-fixed -Xcc -I -Xcc /usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/include -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -I<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Intermediates.noindex/PlaydateKit.build/Debug/PlaydateKit.build/swift-overrides.hmap -Xcc -I<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/SwiftUnicodeDataTables/include -Xcc -I<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/SourcePackages/checkouts/PlaydateKit/Sources/CPlaydate/include -Xcc -I<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Products/Debug/include -Xcc -I<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Intermediates.noindex/PlaydateKit.build/Debug/PlaydateKit.build/DerivedSources-normal/arm64 -Xcc -I<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Intermediates.noindex/PlaydateKit.build/Debug/PlaydateKit.build/DerivedSources/arm64 -Xcc -I<HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Build/Intermediates.noindex/PlaydateKit.build/Debug/PlaydateKit.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name PlaydateKit -package-name playdatekit -frontend-parseable-output -disable-clang-spi -plugin-path <HOME>Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-03-13-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path <HOME>Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-03-13-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 15.2 -target-sdk-name macosx15.2 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -o <HOME>workspaces/playdate/playdate-test-01/.swiftpm/xcode/PlaydateKit.o -index-store-path <HOME>Library/Developer/Xcode/DerivedData/playdate-test-01-cbsruatrapxpmmbczdxiagqrfdam/Index.noindex/DataStore -index-system-modules
<unknown>:0: error: index output filenames do not match input source files
Unfortunately I have no idea how to debug this further.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels