There is a Helloworld.xcworkspace file in the ios folder every time I use the typescript template.

This issue has been created since 2022-09-20.

Description

Recently, I created a new project using react-native 0.70 with this command: npx react-native init ExpenseTracker ---template react-native-template-typescript. After creating it, I checked the ios folder and found the Helloworld.xcworkspace file. And when I try to run the app, it shows this error:`
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening Helloworld.xcworkspace.
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace Helloworld.xcworkspace -configuration Debug -scheme Helloworld -destination id=1D32553F-4ADB-43DE-BD09-630294126564

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
`

Version

0.70

Output of npx react-native info

info Fetching system and libraries information...
System:
    OS: macOS 12.6
    CPU: (8) x64 Apple M1
    Memory: 39.34 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.15.0 - /usr/local/bin/npm
    Watchman: 2022.09.05.00 - /opt/homebrew/bin/watchman
  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.2 AI-212.5712.43.2112.8815526
    Xcode: 14.0/14A309 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.16.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0 
    react-native: 0.70.1 => 0.70.1 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

Run this command on terminal npx react-native init ExpenseTracker --template react-native-template-typescript
And check ios folder

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

https://github.com/younisrahman/react-native-70-issue
Screenshot 2022-09-20 at 6 56 48 PM

Screenshot 2022-09-21 at 12 00 35 AM

cortinico wrote this answer on 2022-09-20

You should open this same issue inside https://github.com/react-native-community/react-native-template-typescript

The typescript template is not part of this repo.

I have the suspect they're including the file:
https://github.com/react-native-community/react-native-template-typescript/blob/main/template/ios/Helloworld.xcworkspace/contents.xcworkspacedata
while they should not.

More Details About Repo
Owner Name facebook
Repo Name react-native
Full Name facebook/react-native
Language JavaScript
Created Date 2015-01-09
Updated Date 2022-10-07
Star Count 105180
Watcher Count 3671
Fork Count 22481
Issue Count 2230

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Untranslated strings in Flatseal 2 2022-05-20 2022-10-03
[Feature] Add web BDD UI Testing support 5 2022-01-20 2022-09-06
Each test re-run dose not take side effect import into account 2 2022-02-08 2022-07-20
Data assets for outdoor scene 1 2022-07-20 2022-09-23
Unable to click save even when required fields are populated 0 2021-07-22 2022-08-13
Investigate monorepo Node version upgrade blockers 0 2022-03-08 2022-07-05
Project: Vibrant Journeys broken json breaks RS entirely 4 2021-07-27 2022-08-10
Problem downloading NHANES 1 2021-04-07 2022-08-31
Cannot Find Modify Mapped Bones(Body State) Node 1 2022-01-05 2022-09-30
Make int128 work even without native support 0 2022-09-25 2022-10-04
@cputarget attribute 0 2022-09-24 2022-09-19
Implement @multitarget attribute 1 2022-09-24 2022-10-04
Bump os-conf to restrict gateway user access 0 2019-01-07 2022-09-19
Scrim setup 1 2021-10-21 2021-12-29
Windows宿主机重启后,docker内easyconnect识别的硬件码跟之前不一致 2 2022-06-28 2022-09-23
ErrorException in app/Http/Controllers/Agent/helpdesk/MailController.php:173 0 2022-06-08 2022-09-08
Mortal Kombat Android is not fucking Opening😭😭😭 0 2021-04-15 2022-09-20
Override Logic Transfrom Priority disables playing actions for objects, but not for amatures. 1 2022-05-14 2022-09-29
[BUG] Total network traffic stuck at 4GB on 32 bit systems 2 2022-01-12 2022-07-21
Abandoned? 7 2019-10-18 2021-12-30
Windows: write_vectored_cb() 3 2021-11-05 2022-09-22
Testing issue after upgrade 1 2021-09-22 2022-10-01
Live migration before Linux boots fail 1 2022-01-18 2022-09-20
Duplicate ID permission 0 2021-05-05 2022-09-25
Change the bit depth of audio 2 2021-05-19 2022-09-20
[TF2] [QoL] Make "tf_viewmodels_offset_override" a usable command outside of sv_cheats 1 2021-06-18 2022-09-20
Allow for creating multiple instances in one DB call 1 2021-03-09 2022-07-10
Revisit the implementation of the Time Dependent Variational Principle for VarQTE. 0 2022-08-09 2022-08-12
Deprecate Shor's algorithm. 0 2022-08-09 2022-09-18
[Linux] Engine register command provided by cmake build command error is missing file extension 1 2022-06-07 2022-09-28
Failed tests don't remove element from DOM 1 2022-05-26 2022-09-11
Respect the q-factor weighting in Accept header 2 2021-08-01 2022-07-05
Replace etcd queue library with postgres queue library 2 2022-07-19 2022-09-22
seata1.4.2加载registry.conf文件有bug 1 2022-05-18 2022-09-24
Why not to create a Rest Api for odysee !! 2 2021-11-26 2022-09-10
Audit non-infra applications for compatibility with the target version of Kubernetes 0 2021-03-05 2022-08-22
Incorrect Links in Leveraging SSP and Component Definition 11 2021-05-06 2022-09-28
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 1 2021-05-12 2022-10-06
Regenerate ACR package on stable/2021-07-01 rest api 1 2021-10-05 2022-10-02
[CredScan] Clean up baseline 1 2021-10-05 2022-09-24
Make “Accepting Contributions Workflow” guide ready for the public. 2 2022-02-10 2022-09-15
Translation 3 2021-01-13 2022-01-04
Bump y18n from 3.2.1 to 3.2.2 1 2021-03-29 2022-09-17
Example app is not working 2 2019-08-05 2022-07-23
Linksys EA8300 USB Device not loading drivers 0 2022-09-11 2022-09-20
migrate from 21.02 to 21.03.0 error 1 2022-09-11 2022-09-20
running vcf2maf with VEP installed as module 2 2016-04-15 2022-09-28
Incompatible with Airflow: 2.2 0 2021-11-02 2022-09-29
Create a CI to avoid wrong alias/metadata in Markdowns 8 2021-11-30 2022-10-06
By Protractor web page is not opening while the page is opening manually 2 2020-10-15 2022-09-28