Closed zahoorahmadgorsi closed 3 years ago
Hi @zahoorahmadgorsi thanks for reporting the problem. Could you attache the error message please?
Aww I am sorry, it wasn't the framework issue.
I fixed it by following these steps
Went to Build Phases. Click the + icon in the top-left of the editor and select New Run Script Phase. Add the following command to the block of code under Run Script:
/usr/local/bin/carthage copy-frameworks
Click the + icon under Input Files and add an entry for each framework: $(SRCROOT)/Carthage/Build/iOS/Cosmos.framework
Issue is solved.
Thank you so much for sharing the solution. Have a great day!
Please consider submitting the following information (if relevant):
When running in debug mode from Xcode with debug session active, the app launches in the simulator and I am able to debug. But when I am trying to launch the app in the simulator without debug session (by double clicking on the icon), it crashes with the log message below.
Everything is fine on the real device.
Can you please build the framework for the Simulator?