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

[BUG]: Template doesn't work successfully from Documentation #266

Closed
2 of 3 tasks
thertzelle opened this issue Jan 31, 2022 · 3 comments
Closed
2 of 3 tasks

[BUG]: Template doesn't work successfully from Documentation #266

thertzelle opened this issue Jan 31, 2022 · 3 comments
Labels
🐛 bug Something isn't working

Comments

@thertzelle
Copy link

react-native environment setup

  • I verified that I have not react-native-cli installed globally and be up to date about the React Native environment setup.

Description

Followed the usage instructions, when it goes to build the xcode project it fails. The error inside xcode says that it's missing a swift file, added an empty swift file and then the project runs successfully.

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 MyApp.xcworkspace.

Within Xcode:

Undefined symbol: __swift_FORCE_LOAD_$_swiftDataDetection
Undefined symbol: __swift_FORCE_LOAD_$_swiftFileProvider

Add an empty .swift file to the project, and then the project builds within xcode...i get a screen with the project logo on it and all that stuff....But the project will still not build with yarn ios

Version

latest

On which OS this issue appear on?

  • IOS
  • Android

Desktop OS

Monterey

@thertzelle thertzelle added the 🐛 bug Something isn't working label Jan 31, 2022
@JeremyDolle
Copy link
Collaborator

Hello @thertzelle, thanks for your issue. Unfortunately it's seems to be related to your environment: there is an issues here about it. There is a lot of solutions. On my side I can't reproduce. Did you have a M1 ?

@thertzelle
Copy link
Author

Interesting. npx react-native init MyApp --template react-native-template-typescript works just fine though. I do not have an M1.

@JeremyDolle
Copy link
Collaborator

I will go deeper in your issue.

The react-native-typescript template is really really light...

Maybe it's related with Pods.

Did you have any trouble with Android ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants