Initial release. This release adds the ability to generate optimized XCFrameworks from DiffMatchPatchObjC, which is necessary because Google's diff-match-patch Objective-C code uses manual memory management. Swift Packages using the -fno-objc-arc
"unsafe" C flag cannot be added to Swift Packages consumed by Xcode.
To use the XCFramework, copy the URL to DiffMatchPatchObjC-X.X.X.xcframework.zip from the release of DiffMatchPatchObjC you want to consume. Also, copy the related checksum from the release. Add the following to your Swift package's targets array:
.binaryTarget(
name: "DiffMatchPatchObjC",
url: "URL",
checksum: "CHECKSUM"
)