iOS审核问题
本地测试整个APP都可以跑起来,也没有出现闪退或者崩溃现象,但提交审核,苹果审核人员测试就出现APP崩溃闪退现象,会是什么原因呢?
下面是审核回复的崩溃日志
```javascript
{"app_name":"O2Platform","timestamp":"2022-11-09 11:30:57.00 -0800","app_version":"6.2.19","slice_uuid":"0xxxxxdb-17xx-32bf-8ea6-bf9b4cf3b987","adam_id":"1593158xxx","build_version":"125","platform":2,"bundleID":"com.laxxxxxxxxxx","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 16.1 (20B82)","roots_installed":0,"name":"O2Platform","incident_id":"68xxxxxx-72EF-4246-BD16-D281Fxxxxxxx"}
{
"uptime" : 7400,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iPad11,3",
"coalitionID" : 694,
"osVersion" : {
"isEmbedded" : true,
"train" : "iPhone OS 16.1",
"releaseType" : "User",
"build" : "20B82"
},
"captureTime" : "2022-11-09 11:30:56.7013 -0800",
"incident" : "6803AAA5-72EF-4246-BD16-D281F24FD6C1",
"pid" : 582,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-11-09 11:23:36.1180 -0800",
"procStartAbsTime" : 167767373498,
"procExitAbsTime" : 178341575151,
"procName" : "O2Platform",
"procPath" : "\/private\/var\/containers\/Bundle\/Application\/AD68E78A-E5A0-4A2A-8825-AF3E58E1244F\/O2Platform.app\/O2Platform",
"bundleInfo" : {"CFBundleShortVersionString":"6.2.19","CFBundleVersion":"125","CFBundleIdentifier":"com.lasurManagerOA","DTAppStoreToolsBuild":"14B44"},
"storeInfo" : {"itemID":"1593158623","deviceIdentifierForVendor":"43DDC44B-AABD-41DD-AA6B-5EA05F7AF623","thirdParty":true,"softwareVersionExternalIdentifier":"852955715"},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.lasurManagerOA",
"crashReporterKey" : "7e524fd7996a9ace367217578fcc3ede06cc32db",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"ktriageinfo" : "VM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\nVM - pmap_enter retried due to resource shortage\n",
"asi" : {"libsystem_c.dylib":["abort() called"]},
"lastExceptionBacktrace" : [{"imageOffset":40584,"symbol":"__exceptionPreprocess","symbolLocation":164,"imageIndex":7},{"imageOffset":96472,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":4},{"imageOffset":8301300,"symbol":"-[UIViewController performSegueWithIdentifier:sender:]","symbolLocation":500,"imageIndex":9},{"imageOffset":854384,"imageIndex":5},{"imageOffset":2328280,"imageIndex":5},{"imageOffset":9396,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":6},{"imageOffset":16348,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":6},{"imageOffset":75764,"symbol":"_dispatch_main_queue_drain","symbolLocation":928,"imageIndex":6},{"imageOffset":74820,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":6},{"imageOffset":632568,"symbol":"__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__","symbolLocation":16,"imageIndex":7},{"imageOffset":507992,"symbol":"__CFRunLoopRun","symbolLocation":2036,"imageIndex":7},{"imageOffset":528084,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":7},{"imageOffset":4968,"symbol":"GSEventRunModal","symbolLocation":164,"imageIndex":8},{"imageOffset":3810256,"symbol":"-[UIApplication _run]","symbolLocation":888,"imageIndex":9},{"imageOffset":3809332,"symbol":"UIApplicationMain","symbolLocation":340,"imageIndex":9},{"imageOffset":131760,"imageIndex":5},{"imageOffset":88416,"symbol":"start","symbolLocation":2528,"imageIndex":10}],
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":49286,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":8055853301},{"value":6130032064},{"value":110},{"value":8222841760,"symbolLocation":224,"symbol":"_main_thread"},{"value":10760288384},{"value":15},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8056623532},"cpsr":{"value":1073741824},"fp":{"value":6130031920},"sp":{"value":6130031888},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7784374784,"matchesCrashFrame":1},"far":{"value":8177729360}},"queue":"com.apple.main-thread","frames":[{"imageOffset":29184,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":29100,"symbol":"pthread_kill","symbolLocation":268,"imageIndex":1},{"imageOffset":134284,"symbol":"abort","symbolLocation":180,"imageIndex":2},{"imageOffset":72588,"symbol":"abort_message","symbolLocation":132,"imageIndex":3},{"imageOffset":6784,"symbol":"demangling_terminate_handler()","symbolLocation":336,"imageIndex":3},{"imageOffset":122172,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":4},{"imageOffset":8237472,"imageIndex":5},{"imageOffset":69416,"symbol":"std::__terminate(void (*)())","symbolLocation":20,"imageIndex":3},{"imageOffset":69316,"symbol":"std::terminate()","symbolLocation":56,"imageIndex":3},{"imageOffset":16368,"symbol":"_dispatch_client_callout","symbolLocation":40,"imageIndex":6},{"imageOffset":75764,"symbol":"_dispatch_main_queue_drain","symbolLocation":928,"imageIndex":6},{"imageOffset":74820,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":6},{"imageOffset":632568,"symbol":"__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__","symbolLocation":16,"imageIndex":7},{"imageOffset":507992,"symbol":"__CFRunLoopRun","symbolLocation":2036,"imageIndex":7},{"imageOffset":528084,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":7},{"imageOffset":507188,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":7},{"imageOffset":528084,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":7},{"imageOffset":271156,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":11},{"imageOffset":270876,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":64,"imageIndex":11},{"imageOffset":5075772,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":436,"imageIndex":9},{"imageOffset":374792,"symbol":"__NSThread__start__","symbolLocation":716,"imageIndex":11},{"imageOffset":5836,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":2980,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":49380,"name":"org.hxhg.jiguang.thread","frames":[{"imageOffset":2888,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":77832,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":78408,"symbol":"mach_msg_overwrite","symbolLocation":388,"imageIndex":0},{"imageOffset":4236,"symbol":"mach_msg","symbolLocation":24,"imageIndex":0},{"imageOffset":502512,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":7},{"imageOffset":507188,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":7},{"imageOffset":528084,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":7},{"imageOffset":271156,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":11},{"imageOffset":270792,"symbol":"-[NSRunLoop(NSRunLoop) run]","symbolLocation":64,"imageIndex":11},{"imageOffset":4966096,"imageIndex":5},{"id":51153,"frames":[{"imageOffset":2960,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":51167,"frames":[{"imageOffset":2960,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":51188,"frames":[{"imageOffset":2960,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 7784345600,
"size" : 225276,
"uuid" : "ff27fc8f-90ba-3332-ab7a-c5bc2d9ca7b1",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8056594432,
"size" : 49152,
"uuid" : "1aa3a4b6-f9e7-3056-8c8b-4e4dd81312a4",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6898126848,
"size" : 524280,
"uuid" : "dad0ce08-8f35-3ff4-899e-43dc44eb65a7",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6678216704,
"size" : 9740288,
"uuid" : "c431acb6-fe04-3d28-b677-4de6e1c7d81f",
"path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
"name" : "Foundation"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6792650752,
"size" : 3964928,
"uuid" : "edb0559f-c996-327f-9b3a-6616e316f24d",
"path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/CFNetwork",
"name" : "CFNetwork"
}
],
"sharedCache" : {
"base" : 6659932160,
"size" : 2835464192,
"uuid" : "c7e183b8-45c7-3b7a-b946-21e89e7e194e"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=924.2M resident=0K(0%) swapped_out_or_unallocated=924.2M(100%)\nWritable regions: Total=600.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=600.5M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 64K 4 \nCoreAnimation 64K 4 \nFoundation 16K 1 \nImage IO 11.5M 3 \nKernel Alloc Once 32K 1 \nMALLOC 587.8M 86 \nMALLOC guard page 192K 12 \nSQLite page cache 512K 4 \nSTACK GUARD 224K 14 \nStack 8080K 14 \nVM_ALLOCATE 160K 2 \n__AUTH 2769K 399 \n__AUTH_CONST 23.5M 577 \n__CTF 756 1 \n__DATA 14.7M 611 \n__DATA_CONST 29.1M 584 \n__DATA_DIRTY 2662K 479 \n__FONT_DATA 2352 1 \n__LINKEDIT 315.3M 41 \n__OBJC_CONST 5463K 380 \n__OBJC_RO 78.0M 1 \n__OBJC_RW 2396K 1 \n__TEXT 608.9M 633 \ndyld private memory 256K 1 \nlibnetwork 640K 16 \nmapped file 254.8M 22 \nshared memory 48K 3 \n=========== ======= ======= \nTOTAL 1.9G 3896 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6112e3d2fc54bc3389840661",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "6344d89c8e8be655c1316871"
},
"deploymentId" : 240000199
},
{
"rolloutId" : "610d52e1fc54bc3389840408",
"factorPackIds" : {
"SIRI_UNDERSTANDING_ATTENTION_ASSETS" : "62f2f3ffd7b78f3a744347e7",
"SIRI_UNDERSTANDING_ASR_ASSISTANT" : "633387ab700e8d49302bbf95",
"SIRI_UNDERSTANDING_NL" : "62fcedbaa9a700130f60d993",
"SIRI_EXPERIENCE_CAM" : "62f5c13528354c28caff129a",
"SIRI_UNDERSTANDING_MORPHUN" : "62ec7220c682040ba94e6a20"
},
"deploymentId" : 240000458
}
],
"experiments" : [
]
}
}
```
你好,这个问题你怎么解决的啊?我今天也遇到了
你本地跑整个网络环境都是内网
你根本没考虑过在外网环境下如何通信吧
先别着急写什么ios的app
你先写个安卓的demo,然后直接安装到安卓的环境下连你自己的服务器,测试明白了服务在外网环境是怎么运行的,再移植到ios
否则后面的坑多着呢