EAS Build Error after upgrade to SDK44

I’m getting the following errors after Upgrading to SDK 44:


❌  (node_modules/expo-cellular/ios/CellularModule.swift:12:5)

  10 |     }
  11 | 
> 12 |     function("getCellularGenerationAsync") { () -> Int in
     |     ^ cannot find 'function' in scope
  13 |       Self.currentCellularGeneration().rawValue
  14 |     }
  15 | 
1456▸ ** ARCHIVE FAILED **
1457▸ The following build commands failed:
1458▸ 	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoLocalization' from project 'Pods')
1459▸ 	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoLinearGradient' from project 'Pods')
1460▸ 	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoCellular' from project 'Pods')
1461▸ 	CompileSwift normal arm64 /Users/expo/workingdir/build/node_modules/expo-cellular/ios/CellularModule.swift (in target 'ExpoCellular' from project 'Pods')
1462▸ (4 failures)
1463 ** ARCHIVE FAILED **
1464
1465
1466 The following build commands failed:
1467	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoLocalization' from project 'Pods')
1468	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoLinearGradient' from project 'Pods')
1469	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoCellular' from project 'Pods')
1470	CompileSwift normal arm64 /Users/expo/workingdir/build/node_modules/expo-cellular/ios/CellularModule.swift (in target 'ExpoCellular' from project 'Pods')
1471 (4 failures)
1472 Exit status: 65
  • Managed Workflow
  • eas-cli version: 0.41.1

No idea why this is happening.
The upgrade went well without any errors.

iOS and Android build are failing for the same modules

The solutions was to create a new project, copy the necessary files and upgrade to expo sdk 44.0.1

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.