Fix framework symlink resolution error by add -y to zip command in build_framework.sh#66
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix framework symlink resolution error by add -y to zip command in build_framework.sh
Description
The
CodeLanguagesContainer.xcframework.zipis currently generated using the following command:This method stores multiple copies of symlinked files, which may trigger warnings in recent versions of Xcode (I have observed this from Xcode 15.3), as well as in Xcode Cloud. It also fails AppStore Connect and TestFlight validations.
The solution is to simply add the
-yoption to the zip command, which also reduces the size of theCodeLanguagesContainer.xcframework.zipto about one-third of the original size. However, I have not updated the zip file in this pull request to avoid breaking anything.Reference:
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
Related errors:
Related Issues
Checklist
Screenshots