mirror of
https://github.com/rive-app/rive-ios.git
synced 2026-01-18 17:11:28 +01:00
Since fp32 has finite precision, a segment may reasonably become degenerate with length 0, and we need to be robust enough to handle this. Asserting that the distance is non-negative is still a good test. Fixes #7210. Diffs= 806ae1fae Fix an assert in contour_measure.cpp (#7232) 7d03c3faf Add strokes, gradients, and blend modes to path_fuzz (#7230) 4342a3f04 Wasm fallback and min safari version (#7214) 4c23759b6 Add privacy manifest for Apple platforms (#7194) Co-authored-by: Philip Chung <philterdesign@gmail.com> diff=\n\ndiff --cc RiveRuntime.podspec index 4f684ca,d485ee4..0000000 --- a/RiveRuntime.podspec +++ b/RiveRuntime.podspec @@@ -27,12 -27,12 +27,16 @@@ Pod::Spec.new do |spec LICENSE } spec.authors = { "Luigi Rosso" => "luigi@rive.app" } - spec.platform = :ios, '14.0' spec.ios.deployment_target = '14.0' + spec.osx.deployment_target = '13.1' spec.swift_version = '5.0' spec.source = { - :http => "https://github.com/rive-app/rive-ios/releases/download/3.0.1/RiveRuntime.xcframework.zip", + :http => "https://github.com/rive-app/rive-ios/releases/download/5.11.2/RiveRuntime.xcframework.zip", } spec.ios.vendored_frameworks = 'RiveRuntime.xcframework' ++<<<<<<< ours + spec.osx.vendored_frameworks = 'RiveRuntime.xcframework' ++======= + spec.resource_bundles = {'runtime_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']} ++>>>>>>> theirs end
24 lines
692 B
Swift
24 lines
692 B
Swift
// swift-tools-version:5.3
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "RiveRuntime",
|
|
platforms: [.iOS("14.0"), .macOS("13.1")],
|
|
products: [
|
|
.library(
|
|
name: "RiveRuntime",
|
|
targets: ["RiveRuntime"])],
|
|
targets: [
|
|
.binaryTarget(
|
|
name: "RiveRuntime",
|
|
url: "https://github.com/rive-app/rive-ios/releases/download/5.11.2/RiveRuntime.xcframework.zip",
|
|
checksum: "06364ac2dc326dd3b62cbc6de266b118fafedbe216652228f053d6eb98d3bd1f"
|
|
),
|
|
.target(
|
|
name: "RiveRuntime",
|
|
path: "Resources",
|
|
resources: [.copy("PrivacyInfo.xcprivacy")]
|
|
)
|
|
]
|
|
)
|