I'm trying to build my Expo (managed workflow) app using EAS build:
eas build -p ios
and it's failing with the following error (expo.dev / build details):
Installing pods
Using Expo modules
Auto-linking React Native modules for target `livehere`: RNCClipboard, RNCMaskedView, RNDateTimePicker, RNGestureHandler, RNReanimated, RNSVG, RNScreens, RNSentry, react-native-maps, react-native-safe-area-context, and react-native-segmented-control
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
[!] Unable to add a source with url `https://cdn.cocoapods.org/` named `trunk`.
You can try adding it manually in `/Users/expo/.cocoapods/repos` or via `pod repo add`.
pod exited with non-zero code: 1
so the problem is in 3 last lines. My eas-cli, expo are updated to latest versions.
CodePudding user response:
Looks like there's a major CDN outage. https://status.cocoapods.org
CodePudding user response:
I have the same error do you think it will be solved soon ?
CodePudding user response:
Found workaround posted by @wkozyra95
https://github.com/expo/eas-cli/issues/1099#issuecomment-1123718613
But now I have problem with fastlane
› Linking myProject » myProject
1299
⚠️ ld: method ' UIDatePickerMode:' in category from /Users/expo/Library/Developer/Xcode/DerivedData/myProject-gjclvbkmvngunfeprqskrwgztchb/Build/Intermediates.noindex/ArchiveIntermediates/myProject/BuildProductsPath/Release-iphoneos/React-Core/libReact-Core.a(RCTDatePickerManager.o) conflicts with same method from another category
1300
› Copying ios/myProject/Supporting/Expo.plist ➜ ./Expo.plist
1301
› Compiling myProject » SplashScreen.storyboard
1302
› Preparing myProject » Info.plist
1303
› Executing myProject » Bundle React Native code and images
1304
the transform cache was reset.
1305
❌ error: API request failed
1306
the transform cache was reset.