Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

SwiftRuntimeSupport 0.2.1 give empty SwiftSupport folder #1358

@quentinR0bert

Description

@quentinR0bert

Since i have updated to the 0.2.1 version of SwiftRuntimeSupport, we have this following error from Apple :

"ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it."

I have check into the SwiftSupport folder of my .xcarchive and it contains an iphoneos but this one is empty.

So i have search into the logs on an archive, into the task of the SwiftRuntimeSupport : "_SRSCopySwiftDependencies"

I can see that the 0.2.0 copy the required dylib and the 0.2.1 not.
The difference beetween the two is the path of the swift version :
"Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos" for the 0.2.0
"Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/iphoneos" for the 0.2.1
It's consistent with this modification onto the iOS/SwiftRuntimeSupport/source/SwiftRuntimeSupport.targets.

But if we look into the swift-5.5/iphoneos folder we can see that all the dylib of Apple is missing and only contains "libswift_Concurrency.dylib"

So it's seems that Apple have changed the SwiftSupport systeme and that the _SRSCopySwiftDependencies actually not adapted for this new system

PS : The logs
log_2_0.txt
log_2_1.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions