iOS simulator: assertion failed (various other errors)
Somehow I managed to break it.. If I create the sample app, run it on the simulator and log-ios I get plenty of error messages. The project still compiles, but this can't be good 😏
excerpt:
Aug 4 21:02:51 Davids-iMac assertiond[79149] <Error>: assertion failed: 16A254g 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Aug 4 21:02:51 Davids-iMac Unknown[79149] <Error>:
Aug 4 21:02:51 Davids-iMac assertiond[79149] <Error>: assertion failed: 16A254g 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Aug 4 21:02:51 Davids-iMac Unknown[79149] <Error>:
Aug 4 21:04:01 Davids-iMac routined[79135] <Error>: CoreLocation: Error occurred while trying to retrieve motion state update: CMErrorDomain Code:104
My version of rn: react-native-cli: 1.0.0 react-native: 0.30.0
I've tried running it with react-native start -- -reset-cache, tried different simulators.. no luck yet
- [x] Are you using Mac, Linux or Windows? -Mac
appreciate any tips! thanks
I have the same issue and the compilation takes for ever because of this.
My version of rn: react-native-cli: 1.0.0 react-native: 0.31.0
Same.
$react-native -v
react-native-cli: 1.0.0
react-native: 0.29.2
The same for me My version of rn: react-native-cli: 1.0.0 react-native: 0.31.0
Same Here. RN 0.30
Me as well..
Same here!
react-native-cli: 1.0.0 react-native: 0.32.0
Samsies
react-native-cli: 1.0.0 react-native: 0.32.0
Hey Team, I was able to get this to work for me. I had the Xcode-Beta 8v6 installed and I believe it switched my 'iOS Deployment Target' to '10'.
Open up Xcode 7 and change the 'iOS Deployment Target' to '9.3' ('Info' tab of your project) and go ahead and run the app. You should now be able to go back and use react-native run-iso again from the terminal.
Stay native my friends, Gentry
Same here. I am not able to find 'iOS Deployment Target' in info tab of Xcode either
The problem turned out to be that I was missing an entry in /etc/hosts
127.0.0.1 localhost
Also discussed here
@GentryRiggen don't know as for Xcode 8, but for Xcode 7 setting target to 9.3 don't fix the problem.
react-native: 0.34.1
Seems like this related to animations or input handling. (Assertions occurs when react-native-button clicked, when tabs on TabBarIOS clicked, etc...)
react-native-cli: 1.0.0 react-native: 0.36.0
the 127.0.0.1 localhost hack does not fix the issue. My code compiles, but it makes my log file hard to read. I can't say that it affects app performance.
Same for me. My apps runs from CLI but don't run in Xcode.
react-native: 0.39.2 react-native-cli: 2.0.0
Example app starts with react-native run-ios but every time a TouchableHighlight is clicked, log-ios reports:
Feb 7 17:01:38 Iggys-MacBook-Air Unknown[63820] <Error>:
Feb 7 17:01:38 Iggys-MacBook-Air assertiond[63820] <Error>: assertion failed: 15F34 13A344: assertiond + 12188 [93893311-6962-33A7-A734-E36F946D8EBA]: 0x1
as well as:
Feb 7 17:01:49 Iggys-MacBook-Air CoreSimulatorBridge[63824] <Warning>: Pasteboard change listener callback port <NSMachPort: 0x7faeb2707b60> registered
react-native: 0.41.2 react-native-cli: 2.0.1
@idrougge ...
Feb 14 10:42:01 localhost CoreSimulatorBridge[6978] <Warning>: Pasteboard change listener callback port <NSMachPort: 0x7fbd07c0a390> registered
... seems to be caused by connecting to log-ios - it is always the most recent message immediately after i connect.
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
- Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
- If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
- Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
Same here, my RN version is: react-native-cli: 2.0.1 react-native: 0.52.2