-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
I found a problem on an EXPO project. If the minimum iOS version isn't specified, eas build --profile development --platform ios --local --clear-cache
fails with the following error:
⚠️ Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: CocoaPods could not find compatible versions for pod "ViroKit":
In Podfile:
ViroKit (from `../node_modules/@reactvision/react-viro/ios/dist/ViroRenderer/`)
Specs satisfying the `ViroKit (from `../node_modules/@reactvision/react-viro/ios/dist/ViroRenderer/`)` dependency were found, but they required a higher minimum deployment target.
pod install --repo-update --ansi exited with non-zero code: 1
$ eas build --profile development --platform ios --local --clear-cache
However, if I specify "deploymentTarget": "17.6"
, the eas build --profile development --platform ios --local --clear-cache
command completes without any errors. The problem is that when I try to open the app after the build is finished, it crashes immediately.
Furthermore, when I try to run the project using the expo run:ios
command, I get the following error:
› Copying ios/ARDev/GoogleService-Info.plist ➜ ./GoogleService-Info.plist
› Copying ./PrivacyInfo.xcprivacy ➜ ios/ARDev/PrivacyInfo.xcprivacy
› Compiling ARDev » SplashScreen.storyboard
› Copying ios/ARDev/Supporting/Expo.plist ➜ ./Expo.plist
❌ (/Users/viro/mobile-app/ios/ARDev/AppDelegate.swift:1:8)
> 1 | import Expo
| ^ no such module 'Expo'
2 | import React
3 | import ReactAppDependencyProvider
4 |
› 1 error(s), and 1 warning(s)
anxheloo, papate13, ardasnturk, iArchin, yahya-valus and 1 more
Metadata
Metadata
Assignees
Labels
No labels