You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"I was able to compile to the iOS platform using Xcode 15.4 without issues, but when compiling for Android, I encountered a compilation error. I'm using the latest version of Scade for this compilation."
/Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/scd/bin/scd "build" "--scade-sdk" "/Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/ScadeSDK" "--android-sdk" "/Users/fangliao/Library/Android/sdk" "--configuration" "Debug" "--platform" "android-arm64-v8a" "--path" "/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket"
Building for debugging...
[1/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[2/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[3/40] Compiling InternalCollectionsUtilities Debugging.swift
[4/40] Compiling InternalCollectionsUtilities Specialize.swift
[5/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[8/40] Compiling Atomics Unmanaged extensions.swift
[9/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[11/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift:242:18: error: no exact matches in call to instance method 'initialize'
let i = self.initialize(fromContentsOf: source)
^
/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift:181:15: note: candidate expects value of type 'UnsafeMutableBufferPointer<C.Element>' for parameter #1 (got 'C')
public func initialize(
^
/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift:192:15: note: candidate expects value of type 'Slice<UnsafeMutableBufferPointer<C.Element>>' for parameter #1 (got 'C')
public func initialize(
^
[13/40] Compiling InternalCollectionsUtilities Descriptions.swift
[16/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[17/40] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[18/40] Compiling Atomics IntegerOperations.swift
[19/40] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[20/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[25/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[26/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[29/40] Compiling InternalCollectionsUtilities Integer rank.swift
[30/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/40] Compiling c-nioatomics.c
[33/40] Compiling c-atomics.c
Error: command 'AR="/Users/fangliao/Library/Android/sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar" /Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/scd/lib/swift-build --toolchain /Users/fangliao/Library/Developer/Scade/Toolchains/swift-android-compiler/5.10.1 --disable-build-manifest-caching --package-path /Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket --configuration debug --triple aarch64-none-linux-android24 --sdk /Users/fangliao/Library/Android/sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Xswiftc -Xlinker -Xswiftc --build-id=sha1 -Xswiftc -tools-directory -Xswiftc /Users/fangliao/Library/Android/sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/darwin-x86_64/bin -Xcc -fPIC -Xcxx -fPIC' failed with exit code 1
ERROR: command '/Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/scd/bin/scd-5.9 build --scade-sdk /Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/ScadeSDK --android-sdk /Users/fangliao/Library/Android/sdk --configuration Debug --platform android-arm64-v8a --path /Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket' failed with exit code 1
Process finished with exit code: 1
The text was updated successfully, but these errors were encountered:
Here is the translation:
"I was able to compile to the iOS platform using Xcode 15.4 without issues, but when compiling for Android, I encountered a compilation error. I'm using the latest version of Scade for this compilation."
/Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/scd/bin/scd "build" "--scade-sdk" "/Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/ScadeSDK" "--android-sdk" "/Users/fangliao/Library/Android/sdk" "--configuration" "Debug" "--platform" "android-arm64-v8a" "--path" "/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket"
Building for debugging...
[1/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[2/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[3/40] Compiling InternalCollectionsUtilities Debugging.swift
[4/40] Compiling InternalCollectionsUtilities Specialize.swift
[5/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[8/40] Compiling Atomics Unmanaged extensions.swift
[9/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[11/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift:242:18: error: no exact matches in call to instance method 'initialize'
let i = self.initialize(fromContentsOf: source)
^
/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift:181:15: note: candidate expects value of type 'UnsafeMutableBufferPointer<C.Element>' for parameter #1 (got 'C')
public func initialize(
^
/Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket/.build/checkouts/swift-collections/Sources/InternalCollectionsUtilities/autogenerated/UnsafeMutableBufferPointer+Extras.swift:192:15: note: candidate expects value of type 'Slice<UnsafeMutableBufferPointer<C.Element>>' for parameter #1 (got 'C')
public func initialize(
^
[13/40] Compiling InternalCollectionsUtilities Descriptions.swift
[16/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[17/40] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[18/40] Compiling Atomics IntegerOperations.swift
[19/40] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[20/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[25/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[26/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[29/40] Compiling InternalCollectionsUtilities Integer rank.swift
[30/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/40] Compiling c-nioatomics.c
[33/40] Compiling c-atomics.c
Error: command 'AR="/Users/fangliao/Library/Android/sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar" /Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/scd/lib/swift-build --toolchain /Users/fangliao/Library/Developer/Scade/Toolchains/swift-android-compiler/5.10.1 --disable-build-manifest-caching --package-path /Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket --configuration debug --triple aarch64-none-linux-android24 --sdk /Users/fangliao/Library/Android/sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Xswiftc -Xlinker -Xswiftc --build-id=sha1 -Xswiftc -tools-directory -Xswiftc /Users/fangliao/Library/Android/sdk/ndk/25.0.8775105/toolchains/llvm/prebuilt/darwin-x86_64/bin -Xcc -fPIC -Xcxx -fPIC' failed with exit code 1
ERROR: command '/Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/scd/bin/scd-5.9 build --scade-sdk /Applications/Scade.app/Contents/PlugIns/ScadeSDK.plugin/Contents/Resources/Libraries/ScadeSDK --android-sdk /Users/fangliao/Library/Android/sdk --configuration Debug --platform android-arm64-v8a --path /Volumes/T7/A-Moonlights/MoonLight/SharedPacakges/nio-socket' failed with exit code 1
Process finished with exit code: 1
The text was updated successfully, but these errors were encountered: