Uppercase All String According to Locale - Swift - ios

I'm trying to uppercase all string according to 'Locale' but it is not working.
var text = "istanbul, izmir"
println(text.uppercaseStringWithLocale(NSLocale.currentLocale()))
In Turkish language the uppercase for i is İ not I. My Result is ISTANBUL, IZMIR but It should returns İSTANBUL, İZMİR.
Please where would be my issue?

NSLocale.currentLocale() is the locale which was selected in the
Settings of the device. If that is "en_US" then
text.uppercaseStringWithLocale(NSLocale.currentLocale())
will use the english language rules and the result is "ISTANBUL, IZMIR".
You can either select the turkish language in the device settings, or
specify the turkish locale explicitly:
let text = "istanbul, izmir"
text.uppercaseStringWithLocale(NSLocale(localeIdentifier: "tr"))
// İSTANBUL, İZMİR
Swift 3:
text.uppercased(with: Locale(identifier: "tr"))

If you want to use the current locale, you can use:
text.localizedUppercaseString

SWIFT 3.x, 4.x, 5.0
regardless of ISO standards, Apple using "tr" for Turkish language without country shortcode. you must explicitly set an identifier (if you don't care device settings from 'Local.current')
"istanbul, izmir, ateştuğla".uppercased(with: Locale(identifier: "tr"))
// Output is:
// "İSTANBUL, İZMİR, ATEŞTUĞLA"
to see all available identifiers i suggest to print them all, to your debugging console by:
po Locale.availableIdentifiers
..
Here is an example output from LLDB of XCode.10.2 by swift5:
(lldb) po Locale.availableIdentifiers
▿ 797 elements
- 0 : "eu"
- 1 : "hr_BA"
- 2 : "en_CM"
- 3 : "en_BI"
- 4 : "rw_RW"
- 5 : "ast"
- 6 : "en_SZ"
- 7 : "he_IL"
- 8 : "ar"
- 9 : "uz_Arab"
- 10 : "en_PN"
- 11 : "as"
- 12 : "en_NF"
- 13 : "ks_IN"
- 14 : "es_KY"
- 15 : "rwk_TZ"
- 16 : "zh_Hant_TW"
- 17 : "en_CN"
- 18 : "gsw_LI"
- 19 : "ta_IN"
- 20 : "th_TH"
- 21 : "es_EA"
- 22 : "fr_GF"
- 23 : "ar_001"
- 24 : "en_RW"
- 25 : "tr_TR"
- 26 : "de_CH"
- 27 : "ee_TG"
- 28 : "en_NG"
- 29 : "fr_TG"
- 30 : "az"
- 31 : "fr_SC"
- 32 : "es_HN"
- 33 : "en_AG"
- 34 : "ccp_IN"
- 35 : "ru_KZ"
- 36 : "gsw"
- 37 : "dyo"
- 38 : "so_ET"
- 39 : "zh_Hant_MO"
- 40 : "de_BE"
- 41 : "nus_SS"
- 42 : "km_KH"
- 43 : "my_MM"
- 44 : "mgh_MZ"
- 45 : "ee_GH"
- 46 : "es_EC"
- 47 : "kw_GB"
- 48 : "rm_CH"
- 49 : "en_ME"
- 50 : "nyn"
- 51 : "mk_MK"
- 52 : "bs_Cyrl_BA"
- 53 : "ar_MR"
- 54 : "es_GL"
- 55 : "en_BM"
- 56 : "ms_Arab"
- 57 : "en_AI"
- 58 : "gl_ES"
- 59 : "en_PR"
- 60 : "ff_CM"
- 61 : "ne_IN"
- 62 : "or_IN"
- 63 : "khq_ML"
- 64 : "en_MG"
- 65 : "pt_TL"
- 66 : "en_LC"
- 67 : "iu_CA"
- 68 : "ta_SG"
- 69 : "jmc_TZ"
- 70 : "om_ET"
- 71 : "lv_LV"
- 72 : "es_US"
- 73 : "en_PT"
- 74 : "vai_Latn_LR"
- 75 : "en_NL"
- 76 : "to_TO"
- 77 : "cgg_UG"
- 78 : "en_MH"
- 79 : "ta"
- 80 : "zu_ZA"
- 81 : "shi_Latn_MA"
- 82 : "es_FK"
- 83 : "ar_KM"
- 84 : "en_AL"
- 85 : "brx_IN"
- 86 : "te"
- 87 : "chr_US"
- 88 : "yo_BJ"
- 89 : "fr_VU"
- 90 : "pa"
- 91 : "tg"
- 92 : "kea"
- 93 : "ksh_DE"
- 94 : "sw_CD"
- 95 : "te_IN"
- 96 : "fr_RE"
- 97 : "th"
- 98 : "ur_IN"
- 99 : "yo_NG"
- 100 : "ti"
- 101 : "es_HT"
- 102 : "es_GP"
- 103 : "guz_KE"
- 104 : "tk"
- 105 : "kl_GL"
- 106 : "ksf_CM"
- 107 : "mua_CM"
- 108 : "lag_TZ"
- 109 : "lb"
- 110 : "fr_TN"
- 111 : "es_PA"
- 112 : "pl_PL"
- 113 : "to"
- 114 : "hi_IN"
- 115 : "dje_NE"
- 116 : "es_GQ"
- 117 : "en_BR"
- 118 : "kok_IN"
- 119 : "pl"
- 120 : "fr_GN"
- 121 : "bem"
- 122 : "ha"
- 123 : "ckb"
- 124 : "es_CA"
- 125 : "lg"
- 126 : "tr"
- 127 : "en_PW"
- 128 : "tt"
- 129 : "en_NO"
- 130 : "nyn_UG"
- 131 : "sr_Latn_RS"
- 132 : "gsw_FR"
- 133 : "pa_Guru"
- 134 : "he"
- 135 : "qu_BO"
- 136 : "ps_AF"
- 137 : "lu_CD"
- 138 : "mgo_CM"
- 139 : "sn_ZW"
- 140 : "en_BS"
- 141 : "da"
- 142 : "ps"
- 143 : "ln"
- 144 : "pt"
- 145 : "hi"
- 146 : "lo"
- 147 : "ebu"
- 148 : "de"
- 149 : "gu_IN"
- 150 : "wo_SN"
- 151 : "seh"
- 152 : "en_CX"
- 153 : "en_ZM"
- 154 : "fr_HT"
- 155 : "fr_GP"
- 156 : "pt_GQ"
- 157 : "lt"
- 158 : "lu"
- 159 : "es_TT"
- 160 : "ln_CD"
- 161 : "vai_Latn"
- 162 : "el_GR"
- 163 : "lv"
- 164 : "en_KE"
- 165 : "sbp"
- 166 : "hr"
- 167 : "en_CY"
- 168 : "es_GT"
- 169 : "twq_NE"
- 170 : "zh_Hant_HK"
- 171 : "kln_KE"
- 172 : "fr_GQ"
- 173 : "chr"
- 174 : "hu"
- 175 : "es_UY"
- 176 : "fr_CA"
- 177 : "ms_BN"
- 178 : "en_NR"
- 179 : "mer"
- 180 : "shi"
- 181 : "es_PE"
- 182 : "fr_SN"
- 183 : "bez"
- 184 : "sw_TZ"
- 185 : "wae_CH"
- 186 : "kkj"
- 187 : "hy"
- 188 : "dz_BT"
- 189 : "en_CZ"
- 190 : "teo_KE"
- 191 : "teo"
- 192 : "en_AR"
- 193 : "ar_JO"
- 194 : "yue_Hans_CN"
- 195 : "mer_KE"
- 196 : "khq"
- 197 : "ln_CF"
- 198 : "nn_NO"
- 199 : "es_SR"
- 200 : "en_MO"
- 201 : "ar_TD"
- 202 : "dz"
- 203 : "ses"
- 204 : "en_BW"
- 205 : "en_AS"
- 206 : "ar_IL"
- 207 : "es_BB"
- 208 : "bo_CN"
- 209 : "nnh"
- 210 : "teo_UG"
- 211 : "hy_AM"
- 212 : "ln_CG"
- 213 : "sr_Latn_BA"
- 214 : "en_MP"
- 215 : "ksb_TZ"
- 216 : "ar_SA"
- 217 : "smn_FI"
- 218 : "ar_LY"
- 219 : "en_AT"
- 220 : "so_KE"
- 221 : "fr_CD"
- 222 : "af_NA"
- 223 : "en_NU"
- 224 : "es_PH"
- 225 : "en_KI"
- 226 : "en_JE"
- 227 : "lkt"
- 228 : "en_AU"
- 229 : "fa_IR"
- 230 : "pt_FR"
- 231 : "uz_Latn_UZ"
- 232 : "zh_Hans_CN"
- 233 : "ewo_CM"
- 234 : "fr_PF"
- 235 : "ca_IT"
- 236 : "es_GY"
- 237 : "en_BZ"
- 238 : "ar_KW"
- 239 : "pt_GW"
- 240 : "fr_FR"
- 241 : "am_ET"
- 242 : "en_VC"
- 243 : "es_DM"
- 244 : "fr_DJ"
- 245 : "fr_CF"
- 246 : "es_SV"
- 247 : "en_MS"
- 248 : "pt_ST"
- 249 : "ar_SD"
- 250 : "luy_KE"
- 251 : "gd_GB"
- 252 : "de_LI"
- 253 : "it_VA"
- 254 : "fr_CG"
- 255 : "pt_CH"
- 256 : "ckb_IQ"
- 257 : "zh_Hans_SG"
- 258 : "en_MT"
- 259 : "ha_NE"
- 260 : "en_ID"
- 261 : "ewo"
- 262 : "af_ZA"
- 263 : "os_GE"
- 264 : "om_KE"
- 265 : "nl_SR"
- 266 : "es_ES"
- 267 : "es_DO"
- 268 : "ar_IQ"
- 269 : "fr_CH"
- 270 : "nnh_CM"
- 271 : "es_SX"
- 272 : "es_419"
- 273 : "en_MU"
- 274 : "en_US_POSIX"
- 275 : "yav_CM"
- 276 : "luo_KE"
- 277 : "dua_CM"
- 278 : "et_EE"
- 279 : "en_IE"
- 280 : "ak_GH"
- 281 : "rwk"
- 282 : "es_CL"
- 283 : "kea_CV"
- 284 : "fr_CI"
- 285 : "ckb_IR"
- 286 : "fr_BE"
- 287 : "se"
- 288 : "en_NZ"
- 289 : "en_MV"
- 290 : "en_LR"
- 291 : "es_PM"
- 292 : "en_KN"
- 293 : "nb_SJ"
- 294 : "ha_NG"
- 295 : "sg"
- 296 : "sr_Cyrl_RS"
- 297 : "ru_RU"
- 298 : "en_ZW"
- 299 : "sv_AX"
- 300 : "ga_IE"
- 301 : "si"
- 302 : "wo"
- 303 : "en_VG"
- 304 : "ff_MR"
- 305 : "ky_KG"
- 306 : "agq_CM"
- 307 : "mzn"
- 308 : "fr_BF"
- 309 : "naq_NA"
- 310 : "mr_IN"
- 311 : "en_MW"
- 312 : "de_AT"
- 313 : "az_Latn"
- 314 : "en_LS"
- 315 : "ka"
- 316 : "sk"
- 317 : "sl"
- 318 : "sn"
- 319 : "sr_Latn_ME"
- 320 : "fr_NC"
- 321 : "so"
- 322 : "is_IS"
- 323 : "twq"
- 324 : "ig_NG"
- 325 : "sq"
- 326 : "fo_FO"
- 327 : "sr"
- 328 : "tzm"
- 329 : "ga"
- 330 : "om"
- 331 : "en_LT"
- 332 : "bas_CM"
- 333 : "se_NO"
- 334 : "ki"
- 335 : "nl_BE"
- 336 : "ar_QA"
- 337 : "gd"
- 338 : "sv"
- 339 : "kk"
- 340 : "rn_BI"
- 341 : "es_CO"
- 342 : "az_Latn_AZ"
- 343 : "kl"
- 344 : "or"
- 345 : "es_AG"
- 346 : "ca"
- 347 : "en_VI"
- 348 : "km"
- 349 : "os"
- 350 : "sw"
- 351 : "en_MY"
- 352 : "kn"
- 353 : "en_LU"
- 354 : "fr_SY"
- 355 : "ar_TN"
- 356 : "en_JM"
- 357 : "fr_PM"
- 358 : "ko"
- 359 : "fr_NE"
- 360 : "ce"
- 361 : "fr_MA"
- 362 : "gl"
- 363 : "ru_MD"
- 364 : "es_BL"
- 365 : "saq_KE"
- 366 : "ks"
- 367 : "fr_CM"
- 368 : "lb_LU"
- 369 : "gv_IM"
- 370 : "fr_BI"
- 371 : "en_LV"
- 372 : "en_KR"
- 373 : "es_NI"
- 374 : "en_GB"
- 375 : "kw"
- 376 : "nl_SX"
- 377 : "dav_KE"
- 378 : "tr_CY"
- 379 : "ky"
- 380 : "en_UG"
- 381 : "es_BM"
- 382 : "en_TC"
- 383 : "es_AI"
- 384 : "ar_EG"
- 385 : "fr_BJ"
- 386 : "gu"
- 387 : "es_PR"
- 388 : "fr_RW"
- 389 : "gv"
- 390 : "lrc_IQ"
- 391 : "sr_Cyrl_BA"
- 392 : "es_MF"
- 393 : "fr_MC"
- 394 : "cs"
- 395 : "bez_TZ"
- 396 : "es_CR"
- 397 : "asa_TZ"
- 398 : "ar_EH"
- 399 : "fo_DK"
- 400 : "ms_Arab_BN"
- 401 : "ccp"
- 402 : "en_JP"
- 403 : "sbp_TZ"
- 404 : "en_IL"
- 405 : "lt_LT"
- 406 : "mfe"
- 407 : "en_GD"
- 408 : "es_LC"
- 409 : "cy"
- 410 : "ug_CN"
- 411 : "ca_FR"
- 412 : "es_BO"
- 413 : "en_SA"
- 414 : "fr_BL"
- 415 : "bn_IN"
- 416 : "uz_Cyrl_UZ"
- 417 : "lrc_IR"
- 418 : "az_Cyrl"
- 419 : "en_IM"
- 420 : "sw_KE"
- 421 : "en_SB"
- 422 : "pa_Arab"
- 423 : "ur_PK"
- 424 : "haw_US"
- 425 : "ar_SO"
- 426 : "en_IN"
- 427 : "fil"
- 428 : "fr_MF"
- 429 : "en_WS"
- 430 : "es_CU"
- 431 : "es_BQ"
- 432 : "ja_JP"
- 433 : "fy_NL"
- 434 : "en_SC"
- 435 : "yue_Hant_HK"
- 436 : "en_IO"
- 437 : "pt_PT"
- 438 : "en_HK"
- 439 : "en_GG"
- 440 : "fr_MG"
- 441 : "de_LU"
- 442 : "tzm_MA"
- 443 : "es_BR"
- 444 : "en_TH"
- 445 : "en_SD"
- 446 : "nds_DE"
- 447 : "shi_Tfng"
- 448 : "ln_AO"
- 449 : "as_IN"
- 450 : "en_GH"
- 451 : "ms_MY"
- 452 : "ro_RO"
- 453 : "jgo_CM"
- 454 : "es_CW"
- 455 : "dua"
- 456 : "en_UM"
- 457 : "es_BS"
- 458 : "en_SE"
- 459 : "kn_IN"
- 460 : "en_KY"
- 461 : "vun_TZ"
- 462 : "kln"
- 463 : "lrc"
- 464 : "en_GI"
- 465 : "ca_ES"
- 466 : "rof"
- 467 : "pt_CV"
- 468 : "kok"
- 469 : "pt_BR"
- 470 : "ar_DJ"
- 471 : "yi_001"
- 472 : "fi_FI"
- 473 : "zh"
- 474 : "es_PY"
- 475 : "ar_SS"
- 476 : "mua"
- 477 : "sr_Cyrl_ME"
- 478 : "vai_Vaii_LR"
- 479 : "en_001"
- 480 : "nl_NL"
- 481 : "en_TK"
- 482 : "fr_DZ"
- 483 : "en_SG"
- 484 : "ca_AD"
- 485 : "si_LK"
- 486 : "sv_SE"
- 487 : "pt_AO"
- 488 : "vi"
- 489 : "xog_UG"
- 490 : "xog"
- 491 : "en_IS"
- 492 : "nb"
- 493 : "seh_MZ"
- 494 : "es_AR"
- 495 : "sk_SK"
- 496 : "en_SH"
- 497 : "ti_ER"
- 498 : "nd"
- 499 : "az_Cyrl_AZ"
- 500 : "zu"
- 501 : "ne"
- 502 : "nd_ZW"
- 503 : "el_CY"
- 504 : "en_IT"
- 505 : "nl_BQ"
- 506 : "da_GL"
- 507 : "ja"
- 508 : "rm"
- 509 : "fr_ML"
- 510 : "rn"
- 511 : "en_VU"
- 512 : "rof_TZ"
- 513 : "ro"
- 514 : "ebu_KE"
- 515 : "ru_KG"
- 516 : "en_SI"
- 517 : "sg_CF"
- 518 : "mfe_MU"
- 519 : "nl"
- 520 : "brx"
- 521 : "bs_Latn"
- 522 : "fa"
- 523 : "zgh_MA"
- 524 : "en_GM"
- 525 : "shi_Latn"
- 526 : "en_FI"
- 527 : "nn"
- 528 : "en_EE"
- 529 : "ru"
- 530 : "yue"
- 531 : "kam_KE"
- 532 : "fur"
- 533 : "vai_Vaii"
- 534 : "ar_ER"
- 535 : "rw"
- 536 : "ti_ET"
- 537 : "ff"
- 538 : "luo"
- 539 : "fa_AF"
- 540 : "nl_CW"
- 541 : "es_MQ"
- 542 : "en_HR"
- 543 : "en_FJ"
- 544 : "fi"
- 545 : "pt_MO"
- 546 : "be"
- 547 : "en_US"
- 548 : "en_TO"
- 549 : "en_SK"
- 550 : "bg"
- 551 : "ru_BY"
- 552 : "it_IT"
- 553 : "ml_IN"
- 554 : "gsw_CH"
- 555 : "qu_EC"
- 556 : "fo"
- 557 : "sv_FI"
- 558 : "en_FK"
- 559 : "nus"
- 560 : "ta_LK"
- 561 : "vun"
- 562 : "sr_Latn"
- 563 : "es_BZ"
- 564 : "fr"
- 565 : "en_SL"
- 566 : "bm"
- 567 : "es_VC"
- 568 : "ar_BH"
- 569 : "guz"
- 570 : "bn"
- 571 : "bo"
- 572 : "ar_SY"
- 573 : "es_MS"
- 574 : "lo_LA"
- 575 : "ne_NP"
- 576 : "uz_Latn"
- 577 : "be_BY"
- 578 : "es_IC"
- 579 : "sr_Latn_XK"
- 580 : "ar_MA"
- 581 : "pa_Guru_IN"
- 582 : "br"
- 583 : "luy"
- 584 : "kde_TZ"
- 585 : "es_AW"
- 586 : "bs"
- 587 : "fy"
- 588 : "fur_IT"
- 589 : "hu_HU"
- 590 : "ar_AE"
- 591 : "en_HU"
- 592 : "sah_RU"
- 593 : "zh_Hans"
- 594 : "en_FM"
- 595 : "fr_MQ"
- 596 : "ko_KP"
- 597 : "en_150"
- 598 : "en_DE"
- 599 : "ce_RU"
- 600 : "en_CA"
- 601 : "hsb_DE"
- 602 : "sq_AL"
- 603 : "en_TR"
- 604 : "ro_MD"
- 605 : "es_VE"
- 606 : "tg_TJ"
- 607 : "fr_WF"
- 608 : "mt_MT"
- 609 : "kab"
- 610 : "nmg_CM"
- 611 : "ms_SG"
- 612 : "en_GR"
- 613 : "ru_UA"
- 614 : "fr_MR"
- 615 : "zh_Hans_MO"
- 616 : "de_IT"
- 617 : "ccp_BD"
- 618 : "ff_GN"
- 619 : "bs_Cyrl"
- 620 : "tt_RU"
- 621 : "nds_NL"
- 622 : "es_KN"
- 623 : "sw_UG"
- 624 : "yue_Hans"
- 625 : "ko_KR"
- 626 : "en_DG"
- 627 : "bo_IN"
- 628 : "en_CC"
- 629 : "shi_Tfng_MA"
- 630 : "lag"
- 631 : "it_SM"
- 632 : "os_RU"
- 633 : "en_TT"
- 634 : "ms_Arab_MY"
- 635 : "sq_MK"
- 636 : "es_VG"
- 637 : "bem_ZM"
- 638 : "kde"
- 639 : "ar_OM"
- 640 : "kk_KZ"
- 641 : "cgg"
- 642 : "bas"
- 643 : "kam"
- 644 : "wae"
- 645 : "es_MX"
- 646 : "sah"
- 647 : "zh_Hant"
- 648 : "en_GU"
- 649 : "fr_MU"
- 650 : "fr_KM"
- 651 : "ar_LB"
- 652 : "en_BA"
- 653 : "en_TV"
- 654 : "sr_Cyrl"
- 655 : "mzn_IR"
- 656 : "es_VI"
- 657 : "dje"
- 658 : "kab_DZ"
- 659 : "fil_PH"
- 660 : "se_SE"
- 661 : "vai"
- 662 : "hr_HR"
- 663 : "bs_Latn_BA"
- 664 : "nl_AW"
- 665 : "dav"
- 666 : "so_SO"
- 667 : "ar_PS"
- 668 : "en_FR"
- 669 : "uz_Cyrl"
- 670 : "ff_SN"
- 671 : "en_BB"
- 672 : "ki_KE"
- 673 : "en_TW"
- 674 : "naq"
- 675 : "en_SS"
- 676 : "mg_MG"
- 677 : "mas_KE"
- 678 : "en_RO"
- 679 : "en_PG"
- 680 : "mgh"
- 681 : "dyo_SN"
- 682 : "mas"
- 683 : "agq"
- 684 : "bn_BD"
- 685 : "haw"
- 686 : "yi"
- 687 : "nb_NO"
- 688 : "da_DK"
- 689 : "en_DK"
- 690 : "saq"
- 691 : "ug"
- 692 : "cy_GB"
- 693 : "fr_YT"
- 694 : "jmc"
- 695 : "ses_ML"
- 696 : "en_PH"
- 697 : "de_DE"
- 698 : "ar_YE"
- 699 : "es_TC"
- 700 : "bm_ML"
- 701 : "yo"
- 702 : "lkt_US"
- 703 : "uz_Arab_AF"
- 704 : "jgo"
- 705 : "sl_SI"
- 706 : "pt_LU"
- 707 : "uk"
- 708 : "en_CH"
- 709 : "asa"
- 710 : "en_BD"
- 711 : "lg_UG"
- 712 : "nds"
- 713 : "qu_PE"
- 714 : "mgo"
- 715 : "id_ID"
- 716 : "en_NA"
- 717 : "en_GY"
- 718 : "zgh"
- 719 : "pt_MZ"
- 720 : "fr_LU"
- 721 : "dsb"
- 722 : "mas_TZ"
- 723 : "en_DM"
- 724 : "ta_MY"
- 725 : "es_GD"
- 726 : "en_BE"
- 727 : "mg"
- 728 : "ur"
- 729 : "fr_GA"
- 730 : "ka_GE"
- 731 : "nmg"
- 732 : "en_TZ"
- 733 : "eu_ES"
- 734 : "ar_DZ"
- 735 : "id"
- 736 : "so_DJ"
- 737 : "hsb"
- 738 : "yav"
- 739 : "mk"
- 740 : "pa_Arab_PK"
- 741 : "ml"
- 742 : "en_ER"
- 743 : "ig"
- 744 : "se_FI"
- 745 : "mn"
- 746 : "ksb"
- 747 : "uz"
- 748 : "vi_VN"
- 749 : "ii"
- 750 : "qu"
- 751 : "en_PK"
- 752 : "ee"
- 753 : "ast_ES"
- 754 : "yue_Hant"
- 755 : "mr"
- 756 : "ms"
- 757 : "en_ES"
- 758 : "ha_GH"
- 759 : "it_CH"
- 760 : "sq_XK"
- 761 : "mt"
- 762 : "en_CK"
- 763 : "br_FR"
- 764 : "en_BG"
- 765 : "es_GF"
- 766 : "tk_TM"
- 767 : "sr_Cyrl_XK"
- 768 : "ksf"
- 769 : "en_SX"
- 770 : "bg_BG"
- 771 : "en_PL"
- 772 : "af"
- 773 : "el"
- 774 : "cs_CZ"
- 775 : "fr_TD"
- 776 : "zh_Hans_HK"
- 777 : "is"
- 778 : "ksh"
- 779 : "my"
- 780 : "mn_MN"
- 781 : "en"
- 782 : "it"
- 783 : "dsb_DE"
- 784 : "ii_CN"
- 785 : "eo"
- 786 : "iu"
- 787 : "en_ZA"
- 788 : "smn"
- 789 : "en_AD"
- 790 : "ak"
- 791 : "en_RU"
- 792 : "kkj_CM"
- 793 : "am"
- 794 : "es"
- 795 : "et"
- 796 : "uk_UA"
...

Related

Still error trying to run libtorch helloworld pod install on apple silicon m1

When trying to create the cocoapod for ios pytorch helloworld on my mac mini m1 (big sur 11.2.1)
with installed miniconda3, homebrew 3.1.1, ruby 3.0.1.p64, gem 3.2.15, pod 1.10.1
and PATH set to
/opt/homebrew/lib/ruby/gems/3.0.0/bin:/opt/homebrew/opt/ruby/bin:$PATH
according to pod install giving error related to ruby gems and libffi
running pod install dies with a segmentation fault, see the following ruby crash file
So maybe someone can give me an idea how to get ios 14.4 and m1 big sur 11 working together?
Process: ruby [80736]
Path: /opt/homebrew/*/ruby
Identifier: ruby
Version: 0
Code Type: ARM-64 (Native)
Parent Process: bash [70856]
Responsible: Terminal [70854]
User ID: 474179448
Date/Time: 2021-04-15 16:58:57.213 +0200
OS Version: macOS 11.2.1 (20D74)
Report Version: 12
Anonymous UUID: 5893C804-2FF8-FBB1-5889-A883C6E0135A
Sleep/Wake UUID: 0044F30E-9B3E-4B4D-B6D2-B508B271D6B1
Time Awake Since Boot: 85000 seconds
Time Since Wake: 2300 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000001
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x1:
-->
__TEXT 10234c000-102350000 [ 16K] r-x/r-x SM=COW /opt/homebrew/*
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x0000000185430cec __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000185461c24 pthread_kill + 292
2 libsystem_c.dylib 0x00000001853a9864 abort + 104
3 libruby.3.0.dylib 0x00000001026923a0 die + 12
4 libruby.3.0.dylib 0x00000001026923f8 rb_bug_for_fatal_signal + 88
5 libruby.3.0.dylib 0x0000000102774490 sigsegv + 96
6 libsystem_platform.dylib 0x00000001854a9c44 _sigtramp + 56
7 ??? 0xffff80019719d8cc 0 + 18446603343051217100
8 libcurl.4.dylib 0x000000019719d8cc curl_easy_getinfo + 40
9 libffi.dylib 0x0000000191ef4050 ffi_call_SYSV + 80
10 libffi.dylib 0x0000000191efc9d8 ffi_call_int + 944
11 ffi_c.bundle 0x00000001042394cc rbffi_CallFunction + 260 (Call.c:400)
12 ffi_c.bundle 0x000000010423d250 attached_method_invoke + 44 (MethodHandle.c:174)
13 libffi.dylib 0x0000000191efce10 ffi_closure_SYSV_inner + 800
14 libffi.dylib 0x0000000191ef41e8 ffi_closure_SYSV + 56
15 libruby.3.0.dylib 0x00000001027e0b84 vm_call_cfunc_with_frame + 228
16 libruby.3.0.dylib 0x00000001027db078 vm_sendish + 1116
17 libruby.3.0.dylib 0x00000001027c7f70 vm_exec_core + 6948
18 libruby.3.0.dylib 0x00000001027d72c8 rb_vm_exec + 1652
19 libruby.3.0.dylib 0x00000001027e3df8 invoke_block_from_c_bh + 616
20 libruby.3.0.dylib 0x00000001027d1bf4 rb_yield + 180
21 libruby.3.0.dylib 0x00000001026359a0 rb_ary_each + 84
22 libruby.3.0.dylib 0x00000001027e0b84 vm_call_cfunc_with_frame + 228
23 libruby.3.0.dylib 0x00000001027db078 vm_sendish + 1116
24 libruby.3.0.dylib 0x00000001027c7f10 vm_exec_core + 6852
25 libruby.3.0.dylib 0x00000001027d72c8 rb_vm_exec + 1652
26 libruby.3.0.dylib 0x00000001027e3df8 invoke_block_from_c_bh + 616
27 libruby.3.0.dylib 0x00000001027d1bf4 rb_yield + 180
28 libruby.3.0.dylib 0x00000001026359a0 rb_ary_each + 84
29 libruby.3.0.dylib 0x00000001027e0b84 vm_call_cfunc_with_frame + 228
30 libruby.3.0.dylib 0x00000001027db078 vm_sendish + 1116
31 libruby.3.0.dylib 0x00000001027c7f10 vm_exec_core + 6852
32 libruby.3.0.dylib 0x00000001027d72c8 rb_vm_exec + 1652
33 libruby.3.0.dylib 0x00000001027e3df8 invoke_block_from_c_bh + 616
34 libruby.3.0.dylib 0x00000001027d1bf4 rb_yield + 180
35 libruby.3.0.dylib 0x0000000102639ca8 rb_ary_collect + 168
36 libruby.3.0.dylib 0x00000001027e0b84 vm_call_cfunc_with_frame + 228
37 libruby.3.0.dylib 0x00000001027db078 vm_sendish + 1116
38 libruby.3.0.dylib 0x00000001027c7f10 vm_exec_core + 6852
39 libruby.3.0.dylib 0x00000001027d72c8 rb_vm_exec + 1652
40 libruby.3.0.dylib 0x00000001026dd2cc load_iseq_eval + 200
41 libruby.3.0.dylib 0x00000001026db528 rb_load_internal + 56
42 libruby.3.0.dylib 0x00000001026dc850 rb_f_load + 180
43 libruby.3.0.dylib 0x00000001027e0b84 vm_call_cfunc_with_frame + 228
44 libruby.3.0.dylib 0x00000001027db078 vm_sendish + 1116
45 libruby.3.0.dylib 0x00000001027c7f70 vm_exec_core + 6948
46 libruby.3.0.dylib 0x00000001027d72c8 rb_vm_exec + 1652
47 libruby.3.0.dylib 0x0000000102698f8c rb_ec_exec_node + 268
48 libruby.3.0.dylib 0x0000000102698e20 ruby_run_node + 96
49 ruby 0x000000010234fec0 main + 92
50 libdyld.dylib 0x000000018547df34 start + 4
Thread 1:
0 libsystem_kernel.dylib 0x0000000185430e04 poll + 8
1 libruby.3.0.dylib 0x00000001027a9530 timer_pthread_fn + 124
2 libsystem_pthread.dylib 0x000000018546206c _pthread_start + 320
3 libsystem_pthread.dylib 0x000000018545cda0 thread_start + 8
Thread 2:: FFI Callback Dispatcher
0 libsystem_kernel.dylib 0x000000018542c488 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000185462568 _pthread_cond_wait + 1192
2 ffi_c.bundle 0x000000010423b80c async_cb_wait + 88 (Function.c:605)
3 libruby.3.0.dylib 0x00000001027a1c48 rb_nogvl + 280
4 ffi_c.bundle 0x000000010423afa0 async_cb_event + 140 (Function.c:545)
5 libruby.3.0.dylib 0x00000001027a86b8 thread_start_func_2 + 1104
6 libruby.3.0.dylib 0x00000001027a8174 thread_start_func_1 + 152
7 libsystem_pthread.dylib 0x000000018546206c _pthread_start + 320
8 libsystem_pthread.dylib 0x000000018545cda0 thread_start + 8
Thread 3:: open3.rb:403
0 libsystem_kernel.dylib 0x000000018542c488 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000185462568 _pthread_cond_wait + 1192
2 libruby.3.0.dylib 0x000000010279f7b0 native_cond_timedwait + 120
3 libruby.3.0.dylib 0x00000001027a81e0 thread_start_func_1 + 260
4 libsystem_pthread.dylib 0x000000018546206c _pthread_start + 320
5 libsystem_pthread.dylib 0x000000018545cda0 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
...
Binary Images:
0x10234c000 - 0x10234ffff +ruby (0) <F0E1ACB6-DADC-3709-A7C9-B20CA91730D9> /opt/homebrew/*/ruby
0x1023ec000 - 0x1023effff +encdb.bundle (0) <0512F22A-C22F-3133-B7DF-C0630FBB7291> /opt/homebrew/*/encdb.bundle
0x102400000 - 0x102403fff +transdb.bundle (0) <0749C9D7-559E-3089-8034-3F04F71589F5> /opt/homebrew/*/transdb.bundle
0x102414000 - 0x102417fff +monitor.bundle (0) <46C2FFE4-EE5B-3C46-98D9-E6FE36564805> /opt/homebrew/*/monitor.bundle
0x102428000 - 0x10242ffff +pathname.bundle (0) <52304C1D-6B1E-3CF4-927D-65D050FB8E7F> /opt/homebrew/*/pathname.bundle
0x102440000 - 0x102443fff +escape.bundle (0) <80C6BFF1-ECCE-3004-96A4-3BC8A836F380> /opt/homebrew/*/escape.bundle
0x102454000 - 0x102483fff +date_core.bundle (0) <5BEB2E2A-A969-3022-91F0-91F2A901D94B> /opt/homebrew/*/date_core.bundle
0x1024a0000 - 0x1024affff +bigdecimal.bundle (0) <1292C18E-90FF-3113-A794-70FC5E7A61E6> /opt/homebrew/*/bigdecimal.bundle
0x1024c0000 - 0x1024c7fff +stringio.bundle (0) <1A3F1181-6690-3E8C-BD5F-27F8A4A2F38D> /opt/homebrew/*/stringio.bundle
0x1024d8000 - 0x1024dbfff +etc.bundle (0) <1E536D8B-A4A9-30F3-84E5-ADF950666B25> /opt/homebrew/*/etc.bundle
0x1024ec000 - 0x1024effff +digest.bundle (0) <F596BA9F-A8BF-3D95-B5EB-6C617E4F0927> /opt/homebrew/*/digest.bundle
0x102500000 - 0x102503fff +strscan.bundle (0) <9548F035-0164-3C07-A923-BE0DC07C4229> /opt/homebrew/*/strscan.bundle
0x102514000 - 0x102517fff +wait.bundle (0) <AFC11C5F-E127-30EF-86C1-9DAD1B8027DA> /opt/homebrew/*/wait.bundle
0x10252c000 - 0x1025a7fff dyld (832.7.3) <4AB185B3-DC20-3C03-A193-67C0E6C589D7> /usr/lib/dyld
0x102630000 - 0x10289bfff +libruby.3.0.dylib (0) <F87CC4ED-8475-3AEE-AD7B-2AF63B4EA539> /opt/homebrew/*/libruby.3.0.dylib
0x103e1c000 - 0x103e3bfff +socket.bundle (0) <278655A9-7512-3AFC-AA68-6A824BA8C2FA> /opt/homebrew/*/socket.bundle
0x103e54000 - 0x103e5ffff +zlib.bundle (0) <34A11F55-C4B0-3781-84CD-7847CC56B29E> /opt/homebrew/*/zlib.bundle
0x103e74000 - 0x103e77fff +windows_31j.bundle (0) <610116E4-A042-3F9E-8CEF-0A0B4A608E4F> /opt/homebrew/*/windows_31j.bundle
0x103e88000 - 0x103e8ffff +parser.bundle (0) <E08CB57E-FA0E-368E-8C2A-988494BD82A6> /opt/homebrew/*/parser.bundle
0x103ea0000 - 0x103ea7fff +generator.bundle (0) <EA3FFFF6-797E-3172-9750-EFA602F9DA15> /opt/homebrew/*/generator.bundle
0x103eb8000 - 0x103ef7fff +openssl.bundle (0) <D2ACCAC6-35B7-365D-A590-DC0A5683A383> /opt/homebrew/*/openssl.bundle
0x103f24000 - 0x103f6ffff +libssl.1.1.dylib (0) <387D1B0F-EE36-3D80-96B0-21BCDA8B4E62> /opt/homebrew/*/libssl.1.1.dylib
0x103fa4000 - 0x104123fff +libcrypto.1.1.dylib (0) <6703626D-9366-31E0-8697-C74FFA806779> /opt/homebrew/*/libcrypto.1.1.dylib
0x1041c4000 - 0x1041c7fff +nonblock.bundle (0) <4285445A-338C-3B5F-9501-8132C66F1367> /opt/homebrew/*/nonblock.bundle
0x1041d8000 - 0x1041dffff +psych.bundle (0) <6E68A386-AEB1-38A8-9AA3-4CB61FFA0439> /opt/homebrew/*/psych.bundle
0x1041f0000 - 0x104207fff +libyaml-0.2.dylib (0) <86720355-4A4B-32E0-8BD0-18AB73A96463> /opt/homebrew/*/libyaml-0.2.dylib
0x104218000 - 0x10421bfff +sha2.bundle (0) <F641AD10-D5E2-3D7D-BBFA-56F8294B442B> /opt/homebrew/*/sha2.bundle
0x10422c000 - 0x104247fff +ffi_c.bundle (0) <6ADCB3BE-9056-33F0-AD30-10DAB38241E2> /opt/homebrew/*/ffi_c.bundle
0x104270000 - 0x104277fff libffi-trampolines.dylib (27) <ADFD2779-8444-3C1E-8AF1-F5BDCFDDA05B> /usr/lib/libffi-trampolines.dylib
0x104280000 - 0x104283fff +sha1.bundle (0) <B63454E5-2319-352D-864B-8CEFF2C94880> /opt/homebrew/*/sha1.bundle
0x1851be000 - 0x1851bffff libsystem_blocks.dylib (78) <9B6D4883-03E9-3785-851E-EA79FA64ADC1> /usr/lib/system/libsystem_blocks.dylib
0x1851c0000 - 0x1851f7fff libxpc.dylib (2038.80.3) <BD0DFD42-0DC3-3F3D-9C04-5A2B3D93794D> /usr/lib/system/libxpc.dylib
0x1851f8000 - 0x18520ffff libsystem_trace.dylib (1277.80.2) <4A466196-D2DD-367B-80AB-988F281EC3B8> /usr/lib/system/libsystem_trace.dylib
0x185210000 - 0x185284fff libcorecrypto.dylib (1000.80.5) <9BD8FED7-2A36-3602-A5A7-0CA87C03FB84> /usr/lib/system/libcorecrypto.dylib
0x185285000 - 0x1852b0fff libsystem_malloc.dylib (317.40.8) <21120432-52C1-34E4-BF01-623722FA3A41> /usr/lib/system/libsystem_malloc.dylib
0x1852b1000 - 0x1852f4fff libdispatch.dylib (1271.40.12) <F5BFBD55-EF70-3659-854D-9061325EB26D> /usr/lib/system/libdispatch.dylib
0x1852f5000 - 0x18532dfff libobjc.A.dylib (818.2) <B03625B0-501E-3AC1-8E16-08B621120EAD> /usr/lib/libobjc.A.dylib
0x18532e000 - 0x185330fff libsystem_featureflags.dylib (28.60.1) <297CC4DD-AFA4-3BA3-B4E1-0DF47E49C21E> /usr/lib/system/libsystem_featureflags.dylib
0x185331000 - 0x1853b1fff libsystem_c.dylib (1439.40.11) <A7147E08-E7C0-3842-916E-F2270A689F47> /usr/lib/system/libsystem_c.dylib
0x1853b2000 - 0x18540dfff libc++.1.dylib (904.4) <B139607F-1E80-3A8E-870D-0AC022069EA1> /usr/lib/libc++.1.dylib
0x18540e000 - 0x185427fff libc++abi.dylib (904.4) <1DD3A1C9-D765-34FB-B8C1-87BF52CE49C0> /usr/lib/libc++abi.dylib
0x185428000 - 0x18545afff libsystem_kernel.dylib (7195.81.3) <55FCA547-4877-3075-8A08-FE1620BFC682> /usr/lib/system/libsystem_kernel.dylib
0x18545b000 - 0x185466fff libsystem_pthread.dylib (454.80.2) <8E907E6C-C227-312E-944C-767093692AFF> /usr/lib/system/libsystem_pthread.dylib
0x185467000 - 0x1854a5fff libdyld.dylib (832.7.3) <EF759BF3-97FA-30EA-A1CA-EDECFEA726FE> /usr/lib/system/libdyld.dylib
0x1854a6000 - 0x1854acfff libsystem_platform.dylib (254.80.2) <8633A39C-10A2-3B44-93F7-617AB09FF640> /usr/lib/system/libsystem_platform.dylib
0x1854ad000 - 0x1854d8fff libsystem_info.dylib (542.40.3) <4CC96CFC-7198-3F26-8C8C-20FB010CDF98> /usr/lib/system/libsystem_info.dylib
0x1854d9000 - 0x185982fff com.apple.CoreFoundation (6.9 - 1774.101) <EA76C90A-23ED-3791-8FBC-8292916F0B16> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x185983000 - 0x185bb5fff com.apple.LaunchServices (1122.11 - 1122.11) <B79A592B-8036-3E24-AD9D-3FB4E7BE2983> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x185bb6000 - 0x185c8efff com.apple.gpusw.MetalTools (1.0 - 1) <ED9E3F77-4900-3B5B-978A-70AA6762DFBA> /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools
0x185c8f000 - 0x185ee9fff libBLAS.dylib (1336.40.1) <96EAD889-D898-3884-A36C-F433DC2C64DD> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x185eea000 - 0x185f34fff com.apple.Lexicon-framework (1.0 - 86.1) <81EA9F2C-6059-322A-B336-56CD7F3AB6C2> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
0x185f35000 - 0x185f97fff libSparse.dylib (106) <1A70E696-43E3-3D8B-A3E1-ADB624729BF4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
0x185f98000 - 0x18601ffff com.apple.SystemConfiguration (1.20 - 1.20) <DD6AB615-BB7B-3634-9D33-3923E5038BAA> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x186020000 - 0x186053fff libCRFSuite.dylib (50) <79C1501B-B0F6-341A-96CC-F4FE066E3D59> /usr/lib/libCRFSuite.dylib
0x186054000 - 0x18627efff libmecabra.dylib (929.1.1) <29B77781-FA91-3180-AFE8-608A355AE97E> /usr/lib/libmecabra.dylib
0x18627f000 - 0x186610fff com.apple.Foundation (6.9 - 1774.101) <8F7A0D5B-0E89-36F6-AC84-D3BEC2C44792> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x186611000 - 0x186702fff com.apple.LanguageModeling (1.0 - 247.1) <66B05273-1979-3DB2-9F68-C0E3A6CD88B1> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
0x18728c000 - 0x1875eafff com.apple.security (7.0 - 59754.80.3) <C76855AD-6EE4-3413-9E6E-CC450BDB20E2> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x1875eb000 - 0x18785cfff libicucore.A.dylib (66109) <3CE58F97-7FC3-37D8-BB99-D6BECFC86DD2> /usr/lib/libicucore.A.dylib
0x18785d000 - 0x187867fff libsystem_darwin.dylib (1439.40.11) <B790A863-2D74-300E-9698-A25B5602B32F> /usr/lib/system/libsystem_darwin.dylib
0x187868000 - 0x187b57fff com.apple.CoreServices.CarbonCore (1307 - 1307) <3EC22291-65E5-3EB6-9498-9A1244C90147> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x187b93000 - 0x187bcefff com.apple.CSStore (1122.11 - 1122.11) <52D8D7A1-4879-3488-9D39-5F2C7696EFA8> /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore
0x187bcf000 - 0x187c99fff com.apple.framework.IOKit (2.0.2 - 1845.81.1) <516911DA-18D7-3D17-8646-BBF7C75CD070> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x187c9a000 - 0x187ca5fff libsystem_notify.dylib (279.40.4) <A7B6BDA8-5371-352E-8A36-95D46C4B07F1> /usr/lib/system/libsystem_notify.dylib
0x1890bc000 - 0x1897c6fff libnetwork.dylib (2288.80.2) <07EC53A0-293C-3403-8394-755AE0BDDFA4> /usr/lib/libnetwork.dylib
0x1897c7000 - 0x189c54fff com.apple.CFNetwork (1220.1 - 1220.1) <3C5F5D1E-DB7C-3027-BBB0-91E6DEA3E264> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x189c55000 - 0x189c64fff libsystem_networkextension.dylib (1295.80.3) <B6BD1267-BE59-3E42-B2B5-2BF13F17D02D> /usr/lib/system/libsystem_networkextension.dylib
0x189c65000 - 0x189c66fff libenergytrace.dylib (22) <C5CFEF87-BB69-3351-A0C8-9B601383A45C> /usr/lib/libenergytrace.dylib
0x189c67000 - 0x189cbbfff libMobileGestalt.dylib (978.80.1) <93C6E288-C098-357F-B8A5-3E133DF39ECE> /usr/lib/libMobileGestalt.dylib
0x189cbc000 - 0x189cd3fff libsystem_asl.dylib (385) <31E28E59-1CDD-3B83-8BF0-56C675227FA2> /usr/lib/system/libsystem_asl.dylib
0x189cd4000 - 0x189cedfff com.apple.TCC (1.0 - 1) <C55FE947-0C86-3AAC-9306-9EFA7C033D07> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x18aea2000 - 0x18aeb9fff com.apple.ProtocolBuffer (1 - 285.23.11.29.1) <38163CA8-14FF-34A9-8AE4-D7D69B8C8854> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
0x18aeba000 - 0x18b061fff libsqlite3.dylib (321.1) <8592B35B-9EA3-3C84-8453-9C86FB5C039C> /usr/lib/libsqlite3.dylib
0x18b1c8000 - 0x18b23bfff com.apple.AE (918.0.1 - 918.0.1) <7D13C9B5-D195-3E9E-B6C7-254F95A925C6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x18b23c000 - 0x18b243fff libdns_services.dylib (1310.80.1) <64D4BA25-C388-3AB8-BDA8-2E81459DA46A> /usr/lib/libdns_services.dylib
0x18b244000 - 0x18b24bfff libsystem_symptoms.dylib (1431.40.36) <0657E539-C0CE-30F8-B630-FBAE36109542> /usr/lib/system/libsystem_symptoms.dylib
0x18b24c000 - 0x18b3a8fff com.apple.Network (1.0 - 1) <486C55B3-900C-3D09-AB0D-F99A152CFB84> /System/Library/Frameworks/Network.framework/Versions/A/Network
0x18b3a9000 - 0x18b3cefff com.apple.analyticsd (1.0 - 1) <E47FE17B-2ED2-3BE2-A5AB-046DB3C02EA0> /System/Library/PrivateFrameworks/CoreAnalytics.framework/Versions/A/CoreAnalytics
0x18b3cf000 - 0x18b3d1fff libDiagnosticMessagesClient.dylib (112) <20AD555E-DF00-3C91-A95B-AB2AD23780AA> /usr/lib/libDiagnosticMessagesClient.dylib
0x18b3d2000 - 0x18b41dfff com.apple.spotlight.metadata.utilities (1.0 - 2150.7.5) <5400DF7A-9249-30E9-B692-AC431C7F74D9> /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities
0x18b41e000 - 0x18b4b7fff com.apple.Metadata (10.7.0 - 2150.7.5) <4B03E6F8-1568-338B-AA75-480F9D824516> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x18b4b8000 - 0x18b4befff com.apple.DiskArbitration (2.7 - 2.7) <7ED2211D-BA3C-37EC-BBA4-4320FBBC8A6A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x18b4bf000 - 0x18b7ddfff com.apple.vImage (8.1 - 544.2) <B1B84588-8B57-3F98-9D50-AAC142DFF36E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x18bcda000 - 0x18bce7fff com.apple.OpenDirectory (11.2 - 230.40.1) <C509DC91-F994-34B7-A5C5-A108E7DA5E4E> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x18bce8000 - 0x18bd07fff com.apple.CFOpenDirectory (11.2 - 230.40.1) <A5449895-6129-3BDF-864B-49ACA82E3052> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x18bd08000 - 0x18bd10fff com.apple.CoreServices.FSEvents (1290.40.2 - 1290.40.2) <72CF142E-3792-318C-B2D6-B60C5E219312> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
0x18bd11000 - 0x18bd35fff com.apple.coreservices.SharedFileList (144 - 144) <E4152CCC-4A03-3959-B788-D7DD1ADFF8A6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
0x18bd36000 - 0x18bd38fff libapp_launch_measurement.dylib (14.1) <A5637442-ADCB-30F0-AAB4-72FA1C5E3811> /usr/lib/libapp_launch_measurement.dylib
0x18bd39000 - 0x18bd7cfff com.apple.CoreAutoLayout (1.0 - 21.10.1) <6026D662-F75F-3C82-8C80-F6CEBF6369BF> /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout
0x18bd7d000 - 0x18be68fff libxml2.2.dylib (34.9) <E170FFEE-EB9F-3252-9B16-4A47FBAC425A> /usr/lib/libxml2.2.dylib
0x18ccb9000 - 0x18cccafff libsystem_containermanager.dylib (318.80.2) <0B742EA4-AFA2-36B6-AB4B-2F8ACA7211AA> /usr/lib/system/libsystem_containermanager.dylib
0x18cccb000 - 0x18ccdcfff com.apple.IOSurface (289.3 - 289.3) <64E3394D-C908-378C-B5CE-B89C6BE61E9F> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x18ccdd000 - 0x18cce6fff com.apple.IOAccelerator (439.52 - 439.52) <2995471C-4A7A-342A-B702-496519D138E2> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
0x18cce7000 - 0x18cdddfff com.apple.Metal (244.32.7 - 244.32.7) <E8BC8E6D-4359-3A04-87CB-6F0D4F8F5C4B> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x18d8e4000 - 0x18d93bfff com.apple.MetalPerformanceShaders.MPSCore (1.0 - 1) <F07355C4-C893-3534-B74E-DD5FBCBEC76C> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/Frameworks/MPSCore.framework/Versions/A/MPSCore
0x18d93c000 - 0x18d940fff libsystem_configuration.dylib (1109.60.2) <AEC5E654-A5B8-343E-80B7-27D5D0D856D9> /usr/lib/system/libsystem_configuration.dylib
0x18d941000 - 0x18d945fff libsystem_sandbox.dylib (1441.60.4) <D7CDDE27-978E-3511-AE6F-296D901290B2> /usr/lib/system/libsystem_sandbox.dylib
0x18d946000 - 0x18d947fff com.apple.AggregateDictionary (1.0 - 1) <516D38F6-E0E1-36B4-AC96-E5079ECC6ED4> /System/Library/PrivateFrameworks/AggregateDictionary.framework/Versions/A/AggregateDictionary
0x18d948000 - 0x18d94bfff com.apple.AppleSystemInfo (3.1.5 - 3.1.5) <E6509790-A434-3A6A-AF9E-EA1FDBF15F6A> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
0x18d94c000 - 0x18d94dfff liblangid.dylib (136) <12979BA7-28E3-3E74-AC24-65166A921235> /usr/lib/liblangid.dylib
0x18d94e000 - 0x18d9dcfff com.apple.CoreNLP (1.0 - 245.1) <92E28F08-9AB8-3B02-A889-677A716E393C> /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
0x18d9dd000 - 0x18d9e4fff com.apple.LinguisticData (1.0 - 399) <2B3E7B26-D669-38C0-9B7F-FFB2E94BC23B> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
0x18d9e5000 - 0x18de9afff libBNNS.dylib (288.80.1) <695BEB14-BA36-3386-8C72-A219A73C9601> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
0x18de9b000 - 0x18df4dfff libvDSP.dylib (760.40.6) <9FAC0A5B-0CD5-3999-815A-3C663EC71F65> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x18df4e000 - 0x18df60fff com.apple.CoreEmoji (1.0 - 128) <0FCD33E9-8DC4-3FB1-86DC-8ECA2FA10E37> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
0x18df61000 - 0x18df6bfff com.apple.IOMobileFramebuffer (343.0.0 - 343.0.0) <57F4592F-D6FA-3ED9-ACEF-B1D7A7359DC1> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/Versions/A/IOMobileFramebuffer
0x18e26b000 - 0x18e2f0fff com.apple.securityfoundation (6.0 - 55240.40.4) <6D4E864F-4AAC-31AF-85AF-C308528C0F0B> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x18e2f1000 - 0x18e2fafff com.apple.coreservices.BackgroundTaskManagement (1.0 - 104) <8981AD5E-DC12-3B54-BAC0-E9E113C4B1A0> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement
0x18e2fb000 - 0x18e300fff com.apple.xpc.ServiceManagement (1.0 - 1) <7B4325ED-9CF7-3D9E-A39C-F0AE7819F0C0> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x18e301000 - 0x18e303fff libquarantine.dylib (119.40.2) <66942A5C-57B3-3524-BA49-0F2DA4A584D1> /usr/lib/system/libquarantine.dylib
0x18e304000 - 0x18e313fff libCheckFix.dylib (31) <05E93C9D-45F9-3758-95FD-481E5EA2D5EF> /usr/lib/libCheckFix.dylib
0x1913f9000 - 0x19140cfff libsasl2.2.dylib (214) <D2C32F92-0728-3C67-B774-5CFC95F83497> /usr/lib/libsasl2.2.dylib
0x191cb4000 - 0x191cc4fff com.apple.Kerberos (3.0 - 1) <862CCDF8-B5F2-3EDE-B728-B62CE0F158F7> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x191cc5000 - 0x191d0dfff com.apple.GSS (4.0 - 2.0) <F4CC9D06-2046-3621-B654-96E7575115ED> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x191d0e000 - 0x191d1dfff com.apple.CommonAuth (4.0 - 2.0) <DEE913BB-9741-3BB8-933A-64623CBCCC70> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x191eea000 - 0x191eeafff liblaunch.dylib (2038.80.3) <327A64BF-8C2C-303D-91E4-70A168C5D87F> /usr/lib/system/liblaunch.dylib
0x191eec000 - 0x191efdfff libffi.dylib (27) <92403FAB-6424-3AA3-ADB4-98FCD46D892A> /usr/lib/libffi.dylib
After ffi has been fixed, I was able to successfully run pod install
without Rosetta
by running sudo gem install ethon with my homebrewn gem that installed ethon-0.13.0
and sudo gem install ffi that installed ffi-1.15.0
Thanks for trying to help
You have to run CocoaPods in Rosetta mode:
arch -x86_64 pod install
Until this issue is closed: https://github.com/CocoaPods/CocoaPods/issues/9907

Xamarin.iOS application freezes on iOS 13

I have Xamarin Native (iOS/Android) application. The application works without problems on iOS 12 and below. If you run the application on the device with iOS 13, then it starts to freeze for unknown reasons and this bug doesn't have clear steps to reproduce, it occurs on different screens.
This is stacktrace from Visual Studio for Mac
=================================================================
Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Native stacktrace:
=================================================================
0x1003ea775 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_dump_native_crash_info
0x1003de6b5 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_handle_native_crash
0x1003f19f1 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_sigsegv_signal_handler_debug
0x10790bb1d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
0x111ab5e38 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : OBJC_CLASS_$_UIView
0x122711c6b - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : _ZNSt3__110shared_ptrIN3ggl6BufferEED2Ev
0x1227397f3 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : _ZNSt3__110shared_ptrIN3ggl12ConstantDataEED2Ev
0x122c98778 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : _ZNSt3__113__vector_baseIN3ggl19ConstantDataElementEN3geo12StdAllocatorIS2_NS1_9AllocatorEEEED2Ev
0x122c9850c - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : _ZN3ggl13PipelineSetupD2Ev
0x1227b3d24 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : _ZN3ggl6Circle17FillPipelineSetupD0Ev
0x122b3059d - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : _ZNSt3__120__shared_ptr_emplaceIN2md23CircleOverlayRenderableENS_9allocatorIS2_EEE16__on_zero_sharedEv
0x12281c40b - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : _ZNSt3__110shared_ptrIN2md23CircleOverlayRenderableEED2Ev
0x1068eff02 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class
0x1068ff3c9 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : objc_destructInstance
0x10690598f - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : -[NSObject dealloc]
0x122b2eb22 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/VectorKit.framework/VectorKit : -[VKVectorOverlayCircle dealloc]
0x106906116 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZN11objc_object17sidetable_releaseEb
0x1068eff02 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class
0x1068ff3c9 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : objc_destructInstance
0x10690598f - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : -[NSObject dealloc]
0x101d63e52 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MapKit.framework/MapKit : -[MKOverlayRenderer dealloc]
0x101d63d9b - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MapKit.framework/MapKit : -[MKOverlayPathRenderer dealloc]
0x106906116 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZN11objc_object17sidetable_releaseEb
0x100640abd - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : xamarin_release_managed_ref
0x12a596bbc - Unknown
0x132b427b9 - Unknown
0x1003f4dd5 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_jit_runtime_invoke
0x1005210e7 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_runtime_invoke_checked
0x100524a6e - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_runtime_invoke
0x10064a822 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : xamarin_invoke_trampoline
0x10065257b - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : xamarin_arch_trampoline
0x100653782 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : xamarin_x86_64_common_trampoline
0x100dd0d10 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : __NSThreadPerformPerform
0x105b2e271 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_
0x105b2e19c - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSource0
0x105b2d974 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSources0
0x105b2867f - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopRun
0x105b27e66 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopRunSpecific
0x10ca74bb0 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices : GSEventRunModal
0x110d41dd0 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIApplicationMain
0x12a4abae2 - Unknown
0x12a4ab833 - Unknown
0x12940fae3 - Unknown
0x12940ffb9 - Unknown
0x1003f4dd5 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_jit_runtime_invoke
0x1005210e7 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_runtime_invoke_checked
0x10052756c - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_runtime_exec_main_checked
0x100354a22 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : mono_jit_exec
0x100651a1e - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : xamarin_main
0x10030f4a7 - /Users/konstya.gerasymenko/Library/Developer/CoreSimulator/Devices/95B31EC1-0A24-474B-858E-024385DE8FFA/data/Containers/Bundle/Application/216D0956-E0D0-40AD-A6F0-838AE3A49926/MyAppiOS.app/MyAppiOS : main
0x107528d29 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdyld.dylib : start
0x3 - Unknown
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x122cb448d):0x122cb447d 48 8b 7f 08 48 85 ff 74 13 48 8b 73 10 48 8b 07 H...H..t.H.s.H..
0x122cb448d ff 50 10 b8 ad ba ad de 48 89 43 10 48 83 c4 08 .P......H.C.H...
0x122cb449d 5b 5d c3 55 48 89 e5 53 50 48 89 fb 48 8d 05 90 [].UH..SPH..H...
0x122cb44ad f2 29 00 48 89 07 48 8b 7f 08 48 85 ff 74 0a 48 .).H..H...H..t.H
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at Foundation.NSObject:xamarin_release_managed_ref <0x000cb>
at Foundation.NSObject:ReleaseManagedRef <0x0007a>
at NSObject_Disposer:Drain <0x00392>
at <Module>:runtime_invoke_void_object <0x001a8>
at <unknown> <0xffffffff>
at UIKit.UIApplication:UIApplicationMain <0x00251>
at UIKit.UIApplication:Main <0x000b2>
at UIKit.UIApplication:Main <0x00132>
at MyApp.iOS.Application:Main <0x00202>
at <Module>:runtime_invoke_void_object <0x001a8>
=================================================================
The first thing that comes to mind is problems with disposing of some NSObject (possible some memory leak), but it is very strange that this problem doesn't reproduce on slower devices with a lower version of iOS.
Please tell me if anyone else has encountered a similar problem. Are there any assumptions about the source of the problem?
I found the reason of this bug and it related to disposing of MKMapView. On few screens where I display map I added Overlays (MKCircle) and OverlayRenderers (MKCircleRenderer) to the map and references to those Overlays and OverlayRenderers contains in private variables. So the main problem was is that during of screen disposing was disposed only map (MKMapView) object but not private variables with references to map Overlay and OverlayRenderer. After adding explicit disposing of this variables this bug has disappeared.

Unable to convert [UInt8] to String. Error: EXC_BAD_ACCESS

I am trying to convert a UInt8 array to string but it is returning me nil.
func send(data: [UInt8]?) {
if(data == nil || data?.count == 0) { return }
let dataString = String(data: Data(bytes: data!, count: data!.count), encoding : String.Encoding.utf8)
print("DataString: \(dataString ?? "J[]")")
if(self.webSocket != nil) {
self.webSocket!.send(text: dataString ?? "J[]" )
}
}
when this function is called it has the input as
Optional<Array<UInt8>>
▿ some : 471 elements
- 0 : 68
- 1 : 31
- 2 : 139
- 3 : 8
- 4 : 0
- 5 : 0
- 6 : 0
- 7 : 0
- 8 : 0
- 9 : 0
- 10 : 19
- 11 : 117
- 12 : 148
- 13 : 201
- 14 : 82
- 15 : 228
- 16 : 48
- 17 : 12
- 18 : 134
- 19 : 223
- 20 : 197
- 21 : 103
- 22 : 29
- 23 : 108
- 24 : 45
- 25 : 142
- 26 : 211
- 27 : 199
- 28 : 169
- 29 : 225
- 30 : 1
- 31 : 88
- 32 : 102
- 33 : 46
- 34 : 20
- 35 : 135
- 36 : 0
- 37 : 125
- 38 : 27
- 39 : 104
- 40 : 10
- 41 : 194
- 42 : 129
- 43 : 162
- 44 : 120
- 45 : 119
- 46 : 36
- 47 : 47
- 48 : 77
- 49 : 22
- 50 : 79
- 51 : 37
- 52 : 94
- 53 : 218
- 54 : 95
- 55 : 44
- 56 : 75
- 57 : 191
- 58 : 228
- 59 : 190
- 60 : 253
- 61 : 116
- 62 : 243
- 63 : 155
- 64 : 59
- 65 : 4
- 66 : 225
- 67 : 68
- 68 : 126
- 69 : 148
- 70 : 72
- 71 : 41
- 72 : 50
- 73 : 184
- 74 : 199
- 75 : 105
- 76 : 158
- 77 : 220
- 78 : 225
- 79 : 211
- 80 : 221
- 81 : 127
- 82 : 204
- 83 : 71
- 84 : 165
- 85 : 183
- 86 : 40
- 87 : 2
- 88 : 24
- 89 : 34
- 90 : 228
- 91 : 17
- 92 : 5
- 93 : 136
- 94 : 64
- 95 : 16
- 96 : 226
- 97 : 8
- 98 : 1
- 99 : 61
- 100 : 4
- 101 : 47
- 102 : 218
- 103 : 16
- 104 : 188
- 105 : 62
- 106 : 195
- 107 : 96
- 108 : 175
- 109 : 7
- 110 : 46
- 111 : 63
- 112 : 61
- 113 : 36
- 114 : 109
- 115 : 33
- 116 : 128
- 117 : 62
- 118 : 162
- 119 : 179
- 120 : 182
- 121 : 26
- 122 : 235
- 123 : 24
- 124 : 56
- 125 : 26
- 126 : 138
- 127 : 11
- 128 : 52
- 129 : 54
- 130 : 164
- 131 : 7
- 132 : 40
- 133 : 178
- 134 : 253
- 135 : 212
- 136 : 150
- 137 : 106
- 138 : 179
- 139 : 30
- 140 : 109
- 141 : 143
- 142 : 44
- 143 : 64
- 144 : 30
- 145 : 163
- 146 : 237
- 147 : 193
- 148 : 161
- 149 : 135
- 150 : 6
- 151 : 155
- 152 : 179
- 153 : 223
- 154 : 152
- 155 : 195
- 156 : 58
- 157 : 227
- 158 : 113
- 159 : 225
- 160 : 194
- 161 : 112
- 162 : 222
- 163 : 147
- 164 : 20
- 165 : 137
- 166 : 95
- 167 : 32
- 168 : 244
- 169 : 141
- 170 : 37
- 171 : 85
- 172 : 3
- 173 : 194
- 174 : 216
- 175 : 119
- 176 : 143
- 177 : 36
- 178 : 171
- 179 : 162
- 180 : 58
- 181 : 108
- 182 : 220
- 183 : 64
- 184 : 175
- 185 : 1
- 186 : 83
- 187 : 4
- 188 : 26
- 189 : 118
- 190 : 144
- 191 : 33
- 192 : 22
- 193 : 89
- 194 : 36
- 195 : 171
- 196 : 26
- 197 : 117
- 198 : 8
- 199 : 88
- 200 : 154
- 201 : 87
- 202 : 63
- 203 : 124
- 204 : 54
- 205 : 175
- 206 : 70
- 207 : 147
- 208 : 13
- 209 : 172
- 210 : 64
- 211 : 213
- 212 : 9
- 213 : 62
- 214 : 3
- 215 : 66
- 216 : 144
- 217 : 102
- 218 : 44
- 219 : 7
- 220 : 128
- 221 : 155
- 222 : 99
- 223 : 23
- 224 : 11
- 225 : 26
- 226 : 169
- 227 : 70
- 228 : 164
- 229 : 186
- 230 : 115
- 231 : 202
- 232 : 125
- 233 : 209
- 234 : 219
- 235 : 150
- 236 : 82
- 237 : 102
- 238 : 17
- 239 : 36
- 240 : 213
- 241 : 143
- 242 : 116
- 243 : 98
- 244 : 235
- 245 : 163
- 246 : 217
- 247 : 95
- 248 : 33
- 249 : 201
- 250 : 8
- 251 : 219
- 252 : 102
- 253 : 82
- 254 : 79
- 255 : 200
- 256 : 50
- 257 : 198
- 258 : 59
- 259 : 225
- 260 : 209
- 261 : 142
- 262 : 46
- 263 : 112
- 264 : 159
- 265 : 21
- 266 : 204
- 267 : 177
- 268 : 152
- 269 : 26
- 270 : 220
- 271 : 79
- 272 : 139
- 273 : 161
- 274 : 181
- 275 : 194
- 276 : 1
- 277 : 34
- 278 : 215
- 279 : 202
- 280 : 225
- 281 : 85
- 282 : 174
- 283 : 216
- 284 : 252
- 285 : 23
- 286 : 95
- 287 : 29
- 288 : 54
- 289 : 74
- 290 : 251
- 291 : 180
- 292 : 233
- 293 : 129
- 294 : 41
- 295 : 51
- 296 : 238
- 297 : 177
- 298 : 44
- 299 : 51
- 300 : 75
- 301 : 118
- 302 : 224
- 303 : 199
- 304 : 172
- 305 : 214
- 306 : 83
- 307 : 54
- 308 : 85
- 309 : 74
- 310 : 213
- 311 : 244
- 312 : 222
- 313 : 196
- 314 : 16
- 315 : 48
- 316 : 101
- 317 : 136
- 318 : 157
- 319 : 248
- 320 : 44
- 321 : 2
- 322 : 99
- 323 : 212
- 324 : 221
- 325 : 168
- 326 : 142
- 327 : 24
- 328 : 228
- 329 : 46
- 330 : 180
- 331 : 242
- 332 : 87
- 333 : 56
- 334 : 108
- 335 : 148
- 336 : 17
- 337 : 104
- 338 : 247
- 339 : 102
- 340 : 91
- 341 : 122
- 342 : 132
- 343 : 103
- 344 : 20
- 345 : 124
- 346 : 207
- 347 : 151
- 348 : 88
- 349 : 33
- 350 : 242
- 351 : 57
- 352 : 192
- 353 : 96
- 354 : 25
- 355 : 104
- 356 : 184
- 357 : 132
- 358 : 97
- 359 : 10
- 360 : 252
- 361 : 136
- 362 : 195
- 363 : 160
- 364 : 121
- 365 : 211
- 366 : 151
- 367 : 83
- 368 : 51
- 369 : 205
- 370 : 241
- 371 : 191
- 372 : 56
- 373 : 174
- 374 : 175
- 375 : 15
- 376 : 215
- 377 : 146
- 378 : 178
- 379 : 62
- 380 : 149
- 381 : 227
- 382 : 161
- 383 : 123
- 384 : 91
- 385 : 98
- 386 : 49
- 387 : 184
- 388 : 190
- 389 : 14
- 390 : 82
- 391 : 9
- 392 : 237
- 393 : 8
- 394 : 233
- 395 : 181
- 396 : 195
- 397 : 124
- 398 : 215
- 399 : 145
- 400 : 250
- 401 : 117
- 402 : 19
- 403 : 169
- 404 : 36
- 405 : 241
- 406 : 14
- 407 : 220
- 408 : 243
- 409 : 244
- 410 : 116
- 411 : 116
- 412 : 7
- 413 : 247
- 414 : 247
- 415 : 52
- 416 : 31
- 417 : 95
- 418 : 29
- 419 : 184
- 420 : 183
- 421 : 121
- 422 : 122
- 423 : 157
- 424 : 127
- 425 : 233
- 426 : 191
- 427 : 154
- 428 : 59
- 429 : 248
- 430 : 175
- 431 : 51
- 432 : 125
- 433 : 127
- 434 : 249
- 435 : 119
- 436 : 154
- 437 : 30
- 438 : 127
- 439 : 159
- 440 : 30
- 441 : 222
- 442 : 159
- 443 : 142
- 444 : 207
- 445 : 179
- 446 : 126
- 447 : 54
- 448 : 127
- 449 : 188
- 450 : 216
- 451 : 250
- 452 : 213
- 453 : 197
- 454 : 229
- 455 : 159
- 456 : 139
- 457 : 235
- 458 : 27
- 459 : 247
- 460 : 117
- 461 : 247
- 462 : 13
- 463 : 251
- 464 : 171
- 465 : 44
- 466 : 100
- 467 : 39
- 468 : 5
- 469 : 0
- 470 : 0
And when this data is converted to string I am getting dataString as nil . And when I tried to debug I found this log
expression produced error: error: Execution was interrupted, reason:
EXC_BAD_ACCESS (code=2, address=0x16f174000). The process has been
returned to the state before expression evaluation.
My code is using this methods several times before and was working fine.
The reason for the failure is most likely the \0 bytes in the array and the data seems not to be an UTF8 string.
This is a more straightforward syntax. The parameter data is non-optional since when you call this method you want to send data.
if(self.webSocket != nil) { self.webSocket!... is pretty objective-c-ish. In Swift there is Optional chanining
func send(data: [UInt8]) {
guard !data.isEmpty, let dataString = String(data: Data(data), encoding: .utf8) else { return }
print("DataString:", dataString)
self.webSocket?.send(text: dataString)
}

CoreImage / CIFilter crashes with Large Image and without error messages ..

When using this code with small images it works fine. With large images (6937x4630) I can use the slider once (takes 4-6 secs. to apply the filter, 100MB memory usage).
If I try to move the slider (non-continuous) again the app crashes with no error message and leaves the device log below.
How can I determine why and where the app crashes?
Any hints what I am might be doing wrong here?
Device: iPhone5S, iPhone6plus
iOS8, iOS8.1
xCode 6.1GM
//
// ViewController.m
//
#import "ViewController.h"
#interface ViewController ()
#property (nonatomic) UIImagePickerController *imagePickerController;
#property (nonatomic) UIImage *image;
#property (weak, nonatomic) IBOutlet UISlider *sliderRadius;
#property (nonatomic) CIContext *context;
#property (nonatomic) CIImage *ciImage;
#property (nonatomic) CIImage *result;
#property (nonatomic) CIFilter *filter;
#property (nonatomic) CGImageRef cgImage;
#property (nonatomic) CGRect *extent;
#end
#implementation ViewController
- (void)viewDidLoad {
self.context = [CIContext contextWithOptions:nil];
self.filter = [CIFilter filterWithName:#"CISepiaTone"];
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)openButton:(id)sender {
if (self.imageView.isAnimating)
{
[self.imageView stopAnimating];
}
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.modalPresentationStyle = UIModalPresentationCurrentContext;
imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
imagePickerController.delegate = self;
self.imagePickerController = imagePickerController;
[self presentViewController:self.imagePickerController animated:YES completion:nil];
}
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
//Original Image
self.image = [info valueForKey:UIImagePickerControllerOriginalImage];
//Update der imageView
[self.imageView setImage:self.image];
self.ciImage = [CIImage imageWithCGImage:self.image.CGImage];
//Image Picker dismis
[self dismissViewControllerAnimated:YES completion:NULL];
//Filter Input Image setzen
[self.filter setValue:self.ciImage forKey:kCIInputImageKey];
self.imagePickerController = nil;
}
- (IBAction)filterAction:(UISlider *)slider {
[self.filter setValue:[NSNumber numberWithFloat:self.sliderRadius.value] forKey:kCIInputIntensityKey];
self.result = [self.filter outputImage];
self.cgImage = [self.context createCGImage:self.result fromRect:[self.result extent]];
[self.imageView setImage:[UIImage imageWithCGImage:self.cgImage]];
//CFRelease(cgImage);
}
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
{
[self dismissViewControllerAnimated:YES completion:NULL];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
NSLog(#"Memory");
}
#end
Incident Identifier: 72D4B88A-0F6C-4F55-AD75-D00104982F45
CrashReporter Key: b538bd13ec68a6bf50379d388fde920bbbb30d6c
Hardware Model: iPhone7,1
OS Version: iPhone OS 8.1 (12B407)
Kernel Version: Darwin Kernel Version 14.0.0: Fri Oct 3 21:56:57 PDT 2014; root:xnu-2783.3.13~2/RELEASE_ARM64_T7000
Date: 2014-10-11 21:31:36 +0200
Time since snapshot: 60 ms
Free pages: 751
Active pages: 66094
Inactive pages: 32529
Speculative pages: 632
Throttled pages: 0
Purgeable pages: 0
Wired pages: 80872
File-backed pages: 12346
Anonymous pages: 86909
Compressions: 18658086
Decompressions: 8858437
Compressor Size: 57617
Uncompressed Pages in Compressor: 116482
Page Size: 16384
Largest process: backboardd
Processes
Name | <UUID> | CPU Time| rpages| purgeable| recent_max| lifetime_max| fds | [reason] | (state)
seld <e0ef06552fcd329798c7d48e18ae7084> 0.049 220 0 - 699 50 [vm-pageshortage] (daemon)
nsurlsessiond <d4d92aa5748c3b228aa6c71bf229541e> 26.290 1029 0 - 2006 50 [vm-pageshortage] (daemon)
nfcd <5a064f82c8e93ffabc6d06ac2611a98c> 0.067 222 0 - 623 50 [vm-pageshortage] (daemon)
debugserver <f00a5e2ac8f73e7e893c711d88c344a6> 0.019 145 0 - 409 50 [vm-pageshortage] (daemon)
biometrickitd <16a81b5b73e935c69a2301bb2505cdce> 0.092 271 0 - 775 50 [vm-pageshortage] (daemon)
debugserver <f00a5e2ac8f73e7e893c711d88c344a6> 0.508 210 0 - 629 50 [vm-pageshortage] (daemon)
WirelessRadioMan <e2db6c768b033dd688e0507506a519bc> 0.038 87 0 - 256 50 [vm-pageshortage] (daemon) (idle)
MobileMail <9ab0e94c812a35b48bfb9247ad5bc666> 1.181 2143 0 - 4751 50 [vm-pageshortage] (resume) (continuous)
*** <b94e665fc2e33c4b9f97511aaedf3626> 1.347 388 0 - 1189 50 [vm-pageshortage] (daemon)
tccd <09c47a77799f311e9760bdf727854390> 3.942 241 0 - 617 50 [vm-pageshortage] (daemon)
kbd <aa1af3645acd3f19a51cf8f0f61a17e4> 0.115 398 0 - 1894 50 [vm-pageshortage] (daemon)
Vignette <69076a7a96ed39e48aaa6383dd3ee66b> 3.015 97829 0 - 50557 50 [vm-pageshortage] (frontmost) (resume)
ptpd <7bbf9eda115c34f8b6f7dee2581e6c04> 0.777 998 0 - 2149 50 (daemon)
BTServer <0cce9d9f54343782b0cae26baed8004f> 122.069 990 0 - 1912 50 (daemon)
CVMCompiler <31967d90745a3fad88c894bf7c6bc584> 0.284 1901 0 - 2258 50 (daemon)
wifid <24888d24c6c23baea9f8596de5d8ded7> 129.627 756 0 - 1498 50 (daemon)
locationd <b730587126dd36e49417d0098717a911> 1354.758 4608 0 - 5111 50 (daemon)
lockdownd <5b49b7623bc53e7d806168d6c5427762> 21.407 438 0 - 981 50 (daemon)
imagent <0700045eaa803925987221760d8799ac> 138.954 1079 0 - 3195 50 (daemon)
identityservices <579d18471dec3fd890be600ff343beef> 146.703 962 0 - 2196 50 (daemon)
iaptransportd <5c41df46b8de3535832ab9c2a48721db> 19.302 399 0 - 912 50 (daemon)
syslogd <05f6b5e5512938a892bac5af23ab1c08> 104.513 607 0 - 2673 50 (daemon)
powerd <854edfcea1eb331dbc2820ed8635ed91> 91.818 519 0 - 618 50 (daemon)
apsd <130455ed9f8e321dadcc21d9f715f0f3> 120.401 1010 0 - 1935 100 (daemon)
networkd <d384e27e5c6430bc83553e12172b4f32> 1850.619 1105 0 - 1689 50 (daemon)
vmd <d16b604704613bcabf5632c2d7ae74fe> 117.316 959 0 - 2804 50 (daemon)
dataaccessd <9697275f4cf83af3831861af286b477d> 193.752 2251 0 - 4272 100 (daemon)
sharingd <de5ec767f8fe38cb9e7221169c06fba9> 71.475 1623 0 - 12426 50 (daemon)
mediaserverd <4809d883646e360eb8dd8a84d4bc9806> 259.061 2970 0 - 14068 50 (daemon)
discoveryd <95c25671ae3c32ee8622591fd5d19761> 119.338 1715 0 - 1811 200 (daemon)
itunesstored <1644e3379165344589356a76a05b0b5d> 40.487 2778 0 - 4341 50 (daemon)
misd <fb121907dae739b3a24be61ef1752687> 0.178 193 0 - 582 50 (daemon)
syslog_relay <840c2bf07e5f3eb8b3365725868d032d> 1.399 114 0 - 236 50 (daemon)
voiced <0d309908425238479742073db2d27d7d> 0.065 292 0 - 862 50 (daemon)
assistantd <0219a0f42fc3370d9517675fbe60fa9d> 0.323 966 0 - 3096 50 (daemon)
SpringBoard <a0e9597e6bc43ee28bd8065b603b4331> 10.202 9002 0 - 37674 50
backboardd <11829fb1a5ff39bb9fef92e5783c1c9f> 11.444 108040 0 - 74544 50 (daemon)
UserEventAgent <f05146f69d6c3541bfa548c56776ef5c> 577.460 1518 0 - 2912 200 (daemon)
fseventsd <391c1f7a879b369196a28e62271f1c78> 56.403 757 0 - 762 50 (daemon)
configd <601e4d08d81c300c9ee3f57d638d666a> 103.778 615 0 - 1120 50 (daemon)
fairplayd.H2 <cae337642f6d396b82ac54e72bc0e0a4> 31.603 270 0 - 1555 50 (daemon)
distnoted <473ac03b0d4834518e54b826db35f79b> 99.114 503 0 - 440 50 (daemon)
wirelessproxd <8f301e7f78c63856aaec9529ef246ccf> 27.316 293 0 - 1007 50 (daemon)
filecoordination <29dc66b208e43e89a6fb6c88b8aad6e6> 5.617 478 0 - 987 100 (daemon)
discoveryd_helpe <7b0af17b203838bd9a48ed7430b3c576> 0.107 155 0 - 752 50 (daemon)
DTPower <b82e79ddecb8373a9fb08e0b7b5befa1> 0.112 280 0 - 827 50 (daemon)
assertiond <b1d9ebb401d43e4598dce9eada251445> 13.057 375 0 - 776 50 (daemon)
aggregated <ff9b9ccc22fc3f5ba6d69ec4539569a1> 377.191 1886 0 - 2183 50 (daemon)
DTMobileIS <2fdc94aa5069338e815fbe3a13e3d95c> 100.766 2090 0 - 20786 50 (daemon)
callservicesd <53b377fe33f3310d8af76a5f8ec05fe1> 0.212 590 0 - 1780 50 (daemon)
touchsetupd <6d8af03089e93d99b824ef2bcf15f06e> 1.053 197 0 - 682 50 (daemon)
cfprefsd <9006298e365a3a03b8403196ba98d29b> 0.416 295 0 - 586 50 (daemon)
CommCenter <af67e6c7fea03ccea0591411851e302b> 88.580 1910 0 - 5400 50 (daemon)
notifyd <5fa8fd5e44c83f64be1475b882b16c82> 159.142 473 0 - 436 50 (daemon)
ReportCrash <b0b4cd3f17083b0ebf75c0ad5679fba9> 0.060 177 0 - 614 50 (daemon)
**End**

App crashes after change to iOS6 - ucol_getVersion

I've an issue with an updated ios-app.
Last wednesday (before the iphone-keynote) the app was submitted for review.
Tested against iOS6-beta, iOS5, iOS4. -> no problems.
Compiled against iOS5 SDK
Now, I get a lot of crash-reports (system: bugsense), iOS6 only.
short-version:
SIGSEGV
CLASS: SIGNAL FILE: ucol_getVersion +
After symbolication the crash-report is still not-readable:
- 0 libicucore.A.dylib 0x318e4570 ucol_getVersion + -1
- 1 TextInput 0x36ee7fa9 _ZN2KB8WordTrie4loadERKNS_6StringE + 280
- 2 TextInput 0x36ee1495 + 16
- 3 TextInput 0x3724bcb3 + 58
- 4 TextInput 0x3724bc51 + 44
- 5 TextInput 0x36ed8f6d _ZN14TIInputManager17load_dictionariesERKN2KB6StringES3_b + 24
- 6 TextInput 0x36ee9fc1 + 220
- 7 TextInput 0x36ee9c07 + 502
- 8 UIKit 0x32c08f7f + 162
- 9 UIKit 0x32c07fd3 + 402
- 10 UIKit 0x32c07be7 + 378
- 11 UIKit 0x32c064b9 + 464
- 12 UIKit 0x32c061ab + 150
- 13 UIKit 0x32c68975 + 388
- 14 UIKit 0x32c65845 + 528
- 15 UIKit 0x32c65541 + 104
- 16 UIKit 0x32c63f47 + 406
- 17 UIKit 0x32c63d6f + 30
- 18 UIKit 0x32c636af + 34
- 19 APP 0x000186ff 0x1000 + 95999
- 20 APP 0x00093a93 0x1000 + 600723
- 21 Foundation 0x33ac7ef5 + 16
- 22 Foundation 0x33a079f1 + 200
- 23 Foundation 0x33a0790d + 60
- 24 CFNetwork 0x388ff5df + 26
- 25 CFNetwork 0x388feccb + 54
- 26 CFNetwork 0x38927133 + 18
- 27 CoreFoundation 0x361f974d CFArrayApplyFunction + 176
- 28 CFNetwork 0x38927593 + 74
- 29 CFNetwork 0x3888b15d + 188
- 30 CoreFoundation 0x36288683 + 14
- 31 CoreFoundation 0x36287ee9 + 212
- 32 CoreFoundation 0x36286cb7 + 646
- 33 CoreFoundation 0x361f9ebd CFRunLoopRunSpecific + 356
- 34 CoreFoundation 0x361f9d49 CFRunLoopRunInMode + 104
- 35 Foundation 0x339f678f + 254
- 36 APP 0x0007e4c9 0x1000 + 513225
- 37 Foundation 0x33a923db + 102
- 38 libdispatch.dylib 0x3535611f + 10
- 39 libdispatch.dylib 0x3535a961 + 252
- 40 libdispatch.dylib 0x3535aac1 + 84
- 41 libsystem_c.dylib 0x3605ea11 + 360
Is there someone with the same problem?
How can I locate the crash?
I had the same problem. For me, the app was crashing when I attempted to show a UIAlertView.
Turns out that all UI-related drawing functions need to be done on the UI thread (I already knew this, I guess I was just a little sloppy). Too bad the error message is cryptic.
This thread might be helpful to you:
https://devforums.apple.com/message/728324
Given that there are UIKit classes in the stacktrace you posted, I'm guessing this is your problem too.
this issue is quite simple to fix. Here just enter your code inbetween this code:
dispatch_async(dispatch_get_main_queue(), ^{
// Create and show your alert view here
});
Alex

Resources