react-native icon indicating copy to clipboard operation
react-native copied to clipboard

iOS simulator: assertion failed (various other errors)

Open ackdav opened this issue 10 years ago • 17 comments

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

ackdav avatar Aug 04 '16 19:08 ackdav

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

ghost avatar Aug 08 '16 19:08 ghost

Same.

$react-native -v
react-native-cli: 1.0.0
react-native: 0.29.2

FMCorz avatar Aug 09 '16 17:08 FMCorz

The same for me My version of rn: react-native-cli: 1.0.0 react-native: 0.31.0

zephoon avatar Aug 20 '16 02:08 zephoon

Same Here. RN 0.30

AugustoL avatar Aug 23 '16 16:08 AugustoL

Me as well..

cyphire avatar Aug 25 '16 21:08 cyphire

Same here!

react-native-cli: 1.0.0 react-native: 0.32.0

uronly14me avatar Sep 01 '16 10:09 uronly14me

Samsies

react-native-cli: 1.0.0 react-native: 0.32.0

GentryRiggen avatar Sep 03 '16 22:09 GentryRiggen

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

GentryRiggen avatar Sep 05 '16 15:09 GentryRiggen

Same here. I am not able to find 'iOS Deployment Target' in info tab of Xcode either

sathyakumarseshachalam avatar Sep 12 '16 15:09 sathyakumarseshachalam

The problem turned out to be that I was missing an entry in /etc/hosts 127.0.0.1 localhost Also discussed here

sathyakumarseshachalam avatar Sep 13 '16 01:09 sathyakumarseshachalam

@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...)

vovkasm avatar Oct 11 '16 16:10 vovkasm

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.

silesky avatar Nov 07 '16 17:11 silesky

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

lucianomlima avatar Dec 16 '16 17:12 lucianomlima

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 avatar Feb 07 '17 16:02 idrougge

@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.

steveliles avatar Feb 14 '17 10:02 steveliles

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.

hramos avatar Jul 21 '17 05:07 hramos

Same here, my RN version is: react-native-cli: 2.0.1 react-native: 0.52.2

JooLuiz avatar Jun 20 '18 12:06 JooLuiz