iOS Examplex always crash
wyxy2005 opened this issue · comments
iOS Examples always crash: Terminated due to signal 9
I use safari download source code, run command cartfile bootstrap
and open Telegraph.xcworkspace, select project "iOS Example" run at the iPhone device (version 11.4.1),(project default config don't worker in the devices, show not found framework, so I'm change Link Binary With Libraries: set Telegraph.framework status equal "Optional", run Simulators is ok. Very good result! But it's always show crash in the iPhone 6 plus device. "iOS Example" always show crash: Message from debugger: Terminated due to signal 9
I'm first test by Swift 5 version, the next test by Swift 4.2, but no difference.
It's demo bug?
Sorry for taking a while to get back to you. Dependency management for libraries can be a bit of a pain. I've made a few changes that should fix the annoying dylib errors.
Can you try the following for me?
-
Make sure you have the latest Git and Carthage installed
brew install git carthage
-
Clone the repository
git clone git@github.com:Building42/Telegraph.git
-
Run Carthage to fetch the dependencies (this no longer builds, so it is a lot quicker)
carthage bootstrap --use-submodules --no-build
-
Enter the folder and then open the Workspace
open Telegraph.xcworkspace
-
Build the project and you should be able to run the examples (after selecting the right Scheme)
The CocoaAsyncSocket project might give you a warning, but you can ignore that.
Please let me know if this fixes the problem for you.
Sorry for taking a while to get back to you. Dependency management for libraries can be a bit of a pain. I've made a few changes that should fix the annoying dylib errors.
Can you try the following for me?
- Make sure you have the latest Git and Carthage installed
brew install git carthage
- Clone the repository
git clone git@github.com:Building42/Telegraph.git
- Run Carthage to fetch the dependencies (this no longer builds, so it is a lot quicker)
carthage bootstrap --use-submodules --no-build
- Enter the folder and then open the Workspace
open Telegraph.xcworkspace
- Build the project and you should be able to run the examples (after selecting the right Scheme)
The CocoaAsyncSocket project might give you a warning, but you can ignore that.
Please let me know if this fixes the problem for you.
Thanks! You can fixes this problem! Demo can running!
@wyxy2005 Great! Glad it is working!