Skip to content

Commit 35577f8

Browse files
committed
fix: not support the minimum OS Version specified in the Info.plist (ITMS-90208)
1 parent 32e86cc commit 35577f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Sources/BuildScripts/XCFrameworkBuild/base.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,10 @@ class BaseBuild {
425425
}
426426
"""
427427
FileManager.default.createFile(atPath: frameworkDir.path + "/Modules/module.modulemap", contents: modulemap.data(using: .utf8), attributes: nil)
428-
createPlist(path: frameworkDir.path + "/Info.plist", name: framework, minVersion: platform.minVersion, platform: platform.sdk)
428+
// Setting the minimum version to 100.0 is required for uploading a static framework to the App Store after Xcode 15.4
429+
// Fix: ITMS-90208: "Invalid Bundle. The bundle xxx.framework does not support the minimum OS Version specified in the Info.plist."
430+
// It was originally using `platform.minVersion`
431+
createPlist(path: frameworkDir.path + "/Info.plist", name: framework, minVersion: "100.0", platform: platform.sdk)
429432
try fixShallowBundles(framework: framework, platform: platform, frameworkDir: frameworkDir)
430433
return frameworkDir.path
431434
}

0 commit comments

Comments
 (0)