Skip to content

0.73.1 iOS build failed on Apple Silicon Mac(M1 Pro), but I can do build on 0.72.4 version of React Native #42147

Closed
@harbolaez

Description

@harbolaez

Old Version

0.72.4

New Version

0.73.1

Description

I'm trying to upgrade to latest version and getting

Generating Pods project
Setting USE_HERMES build settings
Setting REACT_NATIVE build settings
[!] An error occurred while processing the post-install hook of the Podfile.

[!] The plist file at path `/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/ios/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/ios/kepit-development-Info.plist` doesn't exist.


/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/xcodeproj-1.22.0/lib/xcodeproj/plist.rb:17:in `read_from_path'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/node_modules/react-native/scripts/cocoapods/utils.rb:553:in `block in update_ats_in_plist'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/node_modules/react-native/scripts/cocoapods/utils.rb:551:in `each'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/node_modules/react-native/scripts/cocoapods/utils.rb:551:in `update_ats_in_plist'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/node_modules/react-native/scripts/cocoapods/utils.rb:575:in `apply_ats_config'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/node_modules/react-native/scripts/react_native_pods.rb:310:in `react_native_post_install'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/ios/Podfile:99:in `block (3 levels) in from_ruby'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-core-1.12.1/lib/cocoapods-core/podfile.rb:196:in `post_install!'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:1013:in `run_podfile_post_install_hook'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:1001:in `block in run_podfile_post_install_hooks'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:149:in `message'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:1000:in `run_podfile_post_install_hooks'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:337:in `block (2 levels) in create_and_save_projects'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in `write!'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:336:in `block in create_and_save_projects'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:315:in `create_and_save_projects'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:307:in `generate_pods_project'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:183:in `integrate'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:170:in `install!'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/command/install.rb:52:in `run'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:52:in `run'
/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.12.1/bin/pod:55:in `<top (required)>'
/Users/harbolaez/.rvm/gems/ruby-3.2.1/bin/pod:25:in `load'
/Users/harbolaez/.rvm/gems/ruby-3.2.1/bin/pod:25:in `<main>'
/Users/harbolaez/.rvm/gems/ruby-3.2.1/bin/ruby_executable_hooks:22:in `eval'
/Users/harbolaez/.rvm/gems/ruby-3.2.1/bin/ruby_executable_hooks:22:in `<main>'

I'm not sure why is doing /Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/ios/Users/harbolaez/Desktop/code/personal/kepit-apps/kepit/ios/kepit-development-Info.plist

Steps to reproduce

I have deleted ndoe_modules, yarn.lock, Podfile.lock. and ran pod deintegrate; pod update; pod install

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 13.4.1
  CPU: (10) arm64 Apple M1 Pro
  Memory: 635.14 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.9.0
    path: ~/.nvm/versions/node/v20.9.0/bin/node
  Yarn:
    version: 1.22.21
    path: ~/.nvm/versions/node/v20.9.0/bin/yarn
  npm:
    version: 10.1.0
    path: ~/.nvm/versions/node/v20.9.0/bin/npm
  Watchman:
    version: 2023.08.14.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.12.1
    path: /Users/harbolaez/.rvm/gems/ruby-3.2.1/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 22.4
      - iOS 16.4
      - macOS 13.3
      - tvOS 16.4
      - watchOS 9.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.11090377
  Xcode:
    version: 14.3.1/14E300c
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 19.0.2
    path: /usr/bin/javac
  Ruby:
    version: 3.2.1
    path: /Users/harbolaez/.rvm/rubies/ruby-3.2.1/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found


### Stacktrace or Logs

```text
NA

Reproducer

na

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions