-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Description
🐛 Bug Report
Building for macOS Catalyst platform produces this error:
/.../expo-image-picker/ios/EXImagePicker/EXImagePicker.m:5:9: AssetsLibrary is deprecated and is not available when building for Mac Catalyst. Consider migrating to Photos instead, or use `#if !TARGET_OS_MACCATALYST` to conditionally import this framework, first importing TargetConditionals.h if necessary.
Environment
Expo CLI 3.13.1 environment info:
System:
OS: macOS 10.15.3
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.11.1 - ~/.nvm/versions/node/v12.11.1/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.11.3 - ~/.nvm/versions/node/v12.11.1/bin/npm
Watchman: 4.9.4 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 11.2.1/11B53 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
react-navigation: 4.1.1 => 4.1.1
npmGlobalPackages:
expo-cli: 3.13.1
Steps to Reproduce
Install expo-image-picker
as dependency and build for macOS target.