Closed supmanyu closed 2 years ago
I have the same issue
Firstly, you should install Lottie module!
Secondly, you should check this option in Xcode.
I added examples for ios and android today. Then I checked again, there was no problem!
Thank you!
My Bridging-Header file
And My AppDelegate.m file.
The location of the Bridging-Header file seems to be the problem.
Hi @HwangTaehyun, Please how did you come about this examples-Swift.h
import. I get an error: `fatal error: 'ten15-Swift.h' file not found
Hi @HwangTaehyun , I was able to resolve the issue.
I am running XCode v13
. so I have to create the Dynamic.swift
from XCode and allowed Xcode to add the bridging header file for me. I went ahead to copy and paste the code from the documentation for the Dynamic and bridging headers respectively. The screenshots you also provided above in the issue help alot.
Thank you @HwangTaehyun
@codeOlam I'm glad it worked well!
@codeOlam i am also facing the same issue, can you please share a screenshot of the project file structure, i tried all of it but it still throws an error file not found, and to which folder have you added the files from xcode?
@ramprakashreddy, I figured i had to create the Dynamic.swift
file directly from xcode instead of using VScode (in my case as code editor). Then i allowed xcode to create the bridging header file for me. Then I went ahead to copy and paste the code from the documentation for the Dynamic and bridging headers respectively.
attached is the screenshot of the file structure, it is still same as the one shared on this issue above.
let me know if this was clear enough.
@ramprakashreddy, I figured i had to create the
Dynamic.swift
file directly from xcode instead of using VScode (in my case as code editor). Then i allowed xcode to create the bridging header file for me. Then I went ahead to copy and paste the code from the documentation for the Dynamic and bridging headers respectively.attached is the screenshot of the file structure, it is still same as the one shared on this issue above.
let me know if this was clear enough.
@codeOlam thanks for the screenshot i had the same folder structure, still i get the file not found error, which version of xcode are you using?
Run
react-native info
in your project and share the content:What
react-native-splash-screen
version are you using?:v3.3.0
What platform does your issue occur on? (Android/iOS/Both): iOS (Cannot complete setup) / Android (App crashes when it's opened the second time)
Describe your issue as precisely as possible :
Hi @HwangTaehyun, I have tried to follow the implementation guide for iOS, but cannot complete the integration steps, since XCode gives me an error in the
Dynamic.swift
file that itCannot find RNSplashScreen in given scope
, and because of this the identifier Dynamic is not found in AppDelegate.m. I have read the older issues which were similar to mine and have tried the following fixes:Dynamic.swift
file from XCode instead of VSCodeAlso on Android the App builds successfully, but force closes the second time it is opened after installation
Join a screenshot or video of the problem on the simulator or device:
Directory structure:
Dynamic.swift:
AppDelegate.m
Show us the code you are using?
AppDelegate.m
: