Sunday, November 27, 2022
HomeIOS Developmentios - Expo - React Native Construct Failed (Ranging from Xcode 14,...

ios – Expo – React Native Construct Failed (Ranging from Xcode 14, useful resource bundles are signed by default….)


I am attempting to replace an software constructed with expo + react native and I encounter the final drawback.

expo.dev
enter image description here

Visible Code terminal

🍎 iOS construct failed:
Ranging from Xcode 14, useful resource bundles are signed by default, which requires 
setting the event crew for every useful resource bundle goal.
To resolve this subject, downgrade to an older Xcode model utilizing the "picture" subject in 
eas.json, or flip off signing useful resource bundles in your Podfile: 
https://expo.fyi/r/disable-bundle-resource-signing
Be taught extra: https://docs.expo.dev/build-reference/infrastructure/#ios-build-server- 
configurations

I attempted to unravel this drawback by cleansing cache and reinstalling all pods.
I went to the permissions in xcode, I attempted logging in with an apple developer account however nonetheless the identical.

I attempted to see the modifications on this hyperlink https://expo.fyi/r/disable-bundle-resource-signing however it is vitally completely different from mine, I made the modifications however

Expo Model: 43.00

cocoapods: “1.11.2”

eas cli model: “>= 0.38.1”

xCode Model: 13.2.1

Podfile

require File.be part of(File.dirname(`node --print 
"require.resolve('expo/bundle.json')"`), "scripts/autolinking")
require File.be part of(File.dirname(`node --print "require.resolve('react- 
native/bundle.json')"`), "scripts/react_native_pods")
require File.be part of(File.dirname(`node --print "require.resolve('@react-native- 
neighborhood/cli-platform-ios/bundle.json')"`), "native_modules")

platform :ios, '12.0'

require 'json'
podfile_properties = JSON.parse(File.learn('./Podfile.properties.json')) rescue {}

goal 'appName' do
  use_expo_modules!
 config = use_native_modules!

use_react_native!(
:path => config[:reactNativePath],
:hermes_enabled => podfile_properties['expo.jsEngine'] == 'hermes'
)

# Uncomment to opt-in to utilizing Flipper
#
# if !ENV['CI']
#   use_flipper!('Flipper' => '0.75.1', 'Flipper-Folly' => '2.5.3', 'Flipper-RSocket' 
=> '1.3.1')
# finish

 post_install do |installer|
react_native_post_install(installer)

# Workaround `Cycle inside FBReactNativeSpec` error for react-native 0.64
# Reference: https://github.com/software-mansion/react-native-screens/points/842#issuecomment-812543933
installer.pods_project.targets.every do |goal|
  if (goal.identify&.eql?('FBReactNativeSpec'))
    goal.build_phases.every do |build_phase|
      if (build_phase.respond_to?(:identify) && build_phase.identify.eql?('[CP-User] Generate Specs'))
        goal.build_phases.transfer(build_phase, 0)
      finish
    finish
  finish
finish
finish

finish

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments