14.2 C
New York
Sunday, September 8, 2024

react native – Expo Ios construct set up pods error: pod set up exited with non-zero code: 1


I’m attempting to get a construct utilizing expo and eas however I get the next error whereas getting a construct. What I actually need to do is create an .IPA file for my software that I made in order that it may be used on actual units. I can create an .ipa in EAS developer mode, however I get errors when making a native software. I attempt to construct with Xcode, however I get numerous errors, so I attempt to construct utilizing Expo. How can I resolve it?

rm -rf ios/
expo prebuild –platform ios

npx pod-install

I re-installed by operating these instructions. I additionally added this command to eas.json “cocoapods”: “1.15.2”

eas.json

{
  "cli": {
    "model": ">= 7.8.4"
  },
  "construct": {
    "development-simulator": {
      "developmentClient": true,
      "distribution": "inside",
      "ios": {
        "simulator": true
      }
    },
    "improvement": {
      "ios": {
        "simulator": true
      },
      "android": {
        "buildType": "apk"
      }
    },
    "manufacturing": {
      "ios": {
        "simulator": false,
        "cocoapods": "1.15.2",
        "picture": "newest"
      },
      "android": {
        "buildType": "apk"
      }
    },

    "preview": {
      "distribution": "inside"
    },

    "simulator": {
        "ios" : {
          "simulator": true,
          "picture": "newest"
        }

      }

    },
  "submit": {
    "manufacturing": {}
  }
}

drawback log:


Utilizing Expo modules
[Expo] Enabling modular headers for pod ExpoModulesCore
[Expo] Enabling modular headers for pod ZXingObjC
[Expo] Enabling modular headers for pod React-Core
[Expo] Enabling modular headers for pod React-RCTAppDelegate
[Expo] Enabling modular headers for pod expo-dev-menu-interface
[Expo] Enabling modular headers for pod EXManifests
[Expo] Enabling modular headers for pod EXUpdatesInterface
[Expo] Enabling modular headers for pod expo-dev-menu
[Expo] Enabling modular headers for pod React-jsinspector
[Expo] Enabling modular headers for pod RCT-Folly
[Expo] Enabling modular headers for pod glog
[Expo] Enabling modular headers for pod React-RCTFabric
[Expo] Enabling modular headers for pod ReactCodegen
[Expo] Enabling modular headers for pod RCTRequired
[Expo] Enabling modular headers for pod RCTTypeSafety
[Expo] Enabling modular headers for pod ReactCommon
[Expo] Enabling modular headers for pod React-NativeModulesApple
[Expo] Enabling modular headers for pod Yoga
[Expo] Enabling modular headers for pod React-Material
[Expo] Enabling modular headers for pod React-graphics
[Expo] Enabling modular headers for pod React-utils
[Expo] Enabling modular headers for pod React-featureflags
[Expo] Enabling modular headers for pod React-debug
[Expo] Enabling modular headers for pod React-ImageManager
[Expo] Enabling modular headers for pod React-rendererdebug
[Expo] Enabling modular headers for pod DoubleConversion
[Expo] Enabling modular headers for pod hermes-engine
[Expo] Enabling modular headers for pod expo-dev-launcher
Discovered 13 modules for goal `calorieAppDevop`
link_native_modules! {:ios_packages=>[{:configurations=>[], :identify=>"@react-native-async-storage/async-storage", :path=>"../node_modules/@react-native-async-storage/async-storage", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"@react-native-community/masked-view", :path=>"../node_modules/@react-native-community/masked-view", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/@react-native-community/masked-view/RNCMaskedView.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"@react-native-community/slider", :path=>"../node_modules/@react-native-community/slider", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/@react-native-community/slider/react-native-slider.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"@react-native-firebase/app", :path=>"../node_modules/@react-native-firebase/app", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/@react-native-firebase/app/RNFBApp.podspec", :script_phases=>[{"name"=>"[RNFB] Core Configuration", "path"=>"./ios_config.sh", "execution_position"=>"after_compile", "input_files"=>["$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"]}]}, {:configurations=>[], :identify=>"@react-native-firebase/auth", :path=>"../node_modules/@react-native-firebase/auth", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/@react-native-firebase/auth/RNFBAuth.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"expo", :path=>"../node_modules/expo", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/expo/Expo.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"react-native-gesture-handler", :path=>"../node_modules/react-native-gesture-handler", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/react-native-gesture-handler/RNGestureHandler.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"react-native-linear-gradient", :path=>"../node_modules/react-native-linear-gradient", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/react-native-linear-gradient/BVLinearGradient.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"react-native-localize", :path=>"../node_modules/react-native-localize", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/react-native-localize/RNLocalize.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"react-native-safe-area-context", :path=>"../node_modules/react-native-safe-area-context", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"react-native-screens", :path=>"../node_modules/react-native-screens", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/react-native-screens/RNScreens.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"react-native-vector-icons", :path=>"../node_modules/react-native-vector-icons", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/react-native-vector-icons/RNVectorIcons.podspec", :script_phases=>[]}, {:configurations=>[], :identify=>"react-native-view-shot", :path=>"../node_modules/react-native-view-shot", :podspec_path=>"/Customers/expo/workingdir/construct/node_modules/react-native-view-shot/react-native-view-shot.podspec", :script_phases=>[]}], :ios_project_root_path=>"/Customers/expo/workingdir/construct/ios", :react_native_path=>"../node_modules/react-native"}
Including a customized script section for Pod RNFBApp: [RNFB] Core Configuration
Auto-linking React Native modules for goal `calorieAppDevop`: BVLinearGradient, RNCAsyncStorage, RNCMaskedView, RNFBApp, RNFBAuth, RNGestureHandler, RNLocalize, RNScreens, RNVectorIcons, react-native-safe-area-context, react-native-slider, and react-native-view-shot
Framework construct kind is static framework
[Codegen] Including script_phases to ReactCodegen.
[Codegen] Producing ./construct/generated/ios/ReactCodegen.podspec.json
[Codegen] Analyzing /Customers/expo/workingdir/construct/package deal.json
[Codegen] Looking for codegen-enabled libraries within the app.
[Codegen] The "codegenConfig" discipline will not be outlined in package deal.json. Assuming there's nothing to generate on the app stage.
[Codegen] Looking for codegen-enabled libraries within the undertaking dependencies.
[Codegen] Discovered @react-native-async-storage/async-storage
[Codegen] Discovered @react-native-community/slider
[Codegen] Discovered react-native
[Codegen] Discovered react-native-gesture-handler
[Codegen] Discovered react-native-localize
[Codegen] Discovered react-native-safe-area-context
[Codegen] Discovered react-native-screens
[Codegen] Discovered react-native-vector-icons
[Codegen] >>>>> Looking for codegen-enabled libraries in react-native.config.js
[Codegen] Processing rnasyncstorage
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnasyncstorage
[Codegen] Processing RNCSlider
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Supported Apple platforms: ios, visionos for RNCSlider
[Codegen] Processing FBReactNativeSpec
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Processing rncore
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Processing rngesturehandler_codegen
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rngesturehandler_codegen
[Codegen] Processing RNLocalizeSpec
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for RNLocalizeSpec
[Codegen] Processing safeareacontext
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Supported Apple platforms: ios, tvos, visionos for safeareacontext
[Codegen] Processing rnscreens
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Supported Apple platforms: ios, tvos, visionos for rnscreens
[Codegen] Processing RNVectorIconsSpec
[Codegen] Looking for podspec within the undertaking dependencies.
[Codegen] Supported Apple platforms: ios, tvos, visionos for RNVectorIconsSpec
[Codegen] Producing Native Code for rnasyncstorage - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen] Producing Native Code for RNCSlider - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen] Producing Native Code for FBReactNativeSpec - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen - rncore] Skipping iOS code technology for rncore because it has been generated already.
[Codegen] Producing Native Code for rngesturehandler_codegen - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen] Producing Native Code for RNLocalizeSpec - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen] Producing Native Code for safeareacontext - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen] Producing Native Code for rnscreens - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen] Producing Native Code for RNVectorIconsSpec - ios
[Codegen] Generated artifacts: /Customers/expo/workingdir/construct/ios/construct/generated/ios
[Codegen] Creating part supplier.
[Codegen] Generated supplier in: /Customers/expo/workingdir/construct/node_modules/react-native/React/Material
[Codegen] Finished.
Analyzing dependencies
[!] [Codegen] warn: utilizing experimental new codegen integration
/Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/user_interface/error_report.rb:34:in `force_encoding': cannot modify frozen String: "[Xcodeproj] Unknown object model (63)." (FrozenError)
    from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/user_interface/error_report.rb:34:in `report'
    from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:66:in `report_error'
    from /Customers/expo/.gems/arm64/gems/claide-1.1.0/lib/claide/command.rb:396:in `handle_exception'
    from /Customers/expo/.gems/arm64/gems/claide-1.1.0/lib/claide/command.rb:337:in `rescue in run'
    from /Customers/expo/.gems/arm64/gems/claide-1.1.0/lib/claide/command.rb:324:in `run'
    from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
    from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/bin/pod:55:in `'
    from /Customers/expo/.gems/arm64/bin/pod:25:in `load'
    from /Customers/expo/.gems/arm64/bin/pod:25:in `
' /Customers/expo/.gems/arm64/gems/xcodeproj-1.24.0/lib/xcodeproj/undertaking.rb:228:in `initialize_from_file': [Xcodeproj] Unknown object model (63). (RuntimeError) from /Customers/expo/.gems/arm64/gems/xcodeproj-1.24.0/lib/xcodeproj/undertaking.rb:113:in `open' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1194:in `block (2 ranges) in inspect_targets_to_integrate' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1193:in `every' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1193:in `block in inspect_targets_to_integrate' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `part' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:1188:in `inspect_targets_to_integrate' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer/analyzer.rb:107:in `analyze' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:422:in `analyze' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `part' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:243:in `resolve_dependencies' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:162:in `set up!' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/command/set up.rb:52:in `run' from /Customers/expo/.gems/arm64/gems/claide-1.1.0/lib/claide/command.rb:334:in `run' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run' from /Customers/expo/.gems/arm64/gems/cocoapods-1.15.2/bin/pod:55:in `' from /Customers/expo/.gems/arm64/bin/pod:25:in `load' from /Customers/expo/.gems/arm64/bin/pod:25:in `
'

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles