Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build archive on xcode 14 #34760

Closed
waqas-ahmad762 opened this issue Sep 22, 2022 · 2 comments
Closed

Unable to build archive on xcode 14 #34760

waqas-ahmad762 opened this issue Sep 22, 2022 · 2 comments
Labels
Resolution: Issue in another tool or repo An issue that was opened against React Native but in reality is affecting another tool or library

Comments

@waqas-ahmad762
Copy link

waqas-ahmad762 commented Sep 22, 2022

Description

I am trying to build an archive of my app But it doesn’t been completed successfully. Following issues comes
error build: Build input file cannot be found: '/Users/myPCName/Library/Developer/Xcode/DerivedData/xyz-epljvllnlsnioqbzrozfbccnugpd/ArchiveIntermediates/Production/BuildProductsPath/GeneratedInfoPlistDotEnv.h'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

Version

react-native-cli: 2.0.1 react-native: 0.63.3

Output of npx react-native info

System:
OS: macOS 12.6
CPU: (8) arm64 Apple M1
Memory: 111.17 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.13.0 - /usr/local/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.1.0 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8309675
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 15.0.1 - /usr/bin/javac
Python: Not Found
npmPackages:
@react-native-community/cli: ^4.10.1 => 4.13.0
react: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

hen I try to build an app for the simulator and build an archive for distribution this error comes

Snack, code example, screenshot, or link to a repository

xcode-issue

@pnthach95
Copy link

It looks like react-native-config issue, not relate to react-native in general

@cortinico
Copy link
Contributor

Closing as the issue @pnthach95 seems like the correct one to follow over 👍

@cortinico cortinico added Resolution: Issue in another tool or repo An issue that was opened against React Native but in reality is affecting another tool or library and removed Needs: Triage 🔍 labels Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Issue in another tool or repo An issue that was opened against React Native but in reality is affecting another tool or library
Projects
None yet
Development

No branches or pull requests

3 participants