Skip to content

0.17.7

Latest

Choose a tag to compare

@balthazar balthazar released this 29 Oct 19:56

Swift Package Manager autolinking works on React Native 0.88. No API change, CocoaPods users have nothing to do.

Fixed

  • iOS: React Native 0.88 takes a library's SwiftPM product name from swiftpmConfig.name in package.json, falling back to the podspec name (react-native-zeroconf). The product is ReactNativeZeroconf, so 0.17.4 to 0.17.6 failed at package resolution there. package.json now declares the name. With SwiftPM, run npx react-native spm update after upgrading and rebuild, see Installation on iOS. Thanks @chrfalch (#201).

Tested

  • A fresh React Native 0.88.0 app with the fix, set up with npx react-native spm add --deintegrate: Release build on the iOS 27.1 simulator, the package resolved and new Zeroconf() ran. Without the fix the build fails at package resolution.
  • CI: lint, tests and types, the iOS, Android and Windows builds, the iOS (macOS) and Windows harnesses.

The same fix for the 1.0 C++ module is in 1.0.0-rc.3 (npm install react-native-zeroconf@next).

Full Changelog: 0.17.6...0.17.7