ITMS-90433: Invalid Swift Support

发布时间 2023-04-20 17:57:59作者: IOS&JAVA开发

ITMS-90433: Invalid Swift Support

ITMS-90433: Invalid Swift Support - The file libswiftAVFoundation.dylib doesn’t have the correct code signature. Make sure you’re using the correct signature, rebuild your app using the current public (GM) version of Xcode, and resubmit it. Don’t just modify the code signature of libswiftAVFoundation.dylib.

提交AppStore审核,遇到了上述问题,看了大部分的解决方案,大部分都是修改两个属性

TARGETS--> Build Settings-->搜索:

1ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES 

如果该属性设置为NO,则修改为YES

2SWIFT_VERSION 

如果版本低于5.0,则修改为5.0

ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES

SWIFT_VERSION = 5.0