The R2 prefix is now deprecated. The R2Shared, R2Streamer and R2Navigator packages were renamed as ReadiumShared, ReadiumStreamer and ReadiumNavigator.
You will need to update your imports, as well as the dependencies you include in your project:
Swift Package Manager: There's nothing to do.
Carthage:
Update the Carthage dependencies and make sure the new ReadiumShared.xcframework, ReadiumStreamer.xcframework and ReadiumNavigator.xcframework were built.
Replace the old frameworks with the new ones in your project.
CocoaPods:
Update the pod statements in your Podfile with the following, before running pod install:
pod 'ReadiumShared', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/3.0.0/Support/CocoaPods/ReadiumShared.podspec'
pod 'ReadiumStreamer', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/3.0.0/Support/CocoaPods/ReadiumStreamer.podspec'
pod 'ReadiumNavigator', podspec: 'https://raw.githubusercontent.com/readium/swift-toolkit/3.0.0/Support/CocoaPods/ReadiumNavigator.podspec'
The
R2
prefix is now deprecated. TheR2Shared
,R2Streamer
andR2Navigator
packages were renamed asReadiumShared
,ReadiumStreamer
andReadiumNavigator
.You will need to update your imports, as well as the dependencies you include in your project:
ReadiumShared.xcframework
,ReadiumStreamer.xcframework
andReadiumNavigator.xcframework
were built.pod
statements in yourPodfile
with the following, before runningpod install
: