Related
Build completes successfully, but then crashes when trying to launch the app on the simulator. I think it's related to an architecture mismatch with libraries. Any help is appreciated.
Xcode 14.2
Flutter 3.72
Cocoapods 1.11.3
Ruby 3.0.0
building to iOS simulator (15.0) iphone 13
xcode debugger logs
Warning: Error creating LLDB target at path '/Users/USER/Library/Developer/Xcode/DerivedData/Runner-blrksncxtnfbrcdtafhrxochtofc/Build/Products/Debug-stage-iphonesimulator/Runner.app'- using an empty LLDB target which can cause slow memory reads from remote devices: the specified architecture 'arm64-*-*' is not compatible with 'x86_64-apple-ios11.0.0-simulator' in '/Users/USER/Library/Developer/Xcode/DerivedData/Runner-blrksncxtnfbrcdtafhrxochtofc/Build/Products/Debug-stage-iphonesimulator/Runner.app/Runner'
dyld[34074]: Symbol not found: _$s13SwiftProtobuf19_ProtoNameProvidingP17_protobuf_nameMapAA01_dH0VvgZTq
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/660D1541-1FAA-4D12-B0F2-D844189798B1/data/Containers/Bundle/Application/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2/Runner.app/Frameworks/iProov.framework/iProov
Expected in: /Users/USER/Library/Developer/CoreSimulator/Devices/660D1541-1FAA-4D12-B0F2-D844189798B1/data/Containers/Bundle/Application/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2/Runner.app/Frameworks/SwiftProtobuf.framework/SwiftProtobuf
Message from debugger: Terminated due to signal 6
Xcode Error Report
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 864A78AD-6A4A-4777-948E-6325DAAA0350
CrashReporter Key: 945CE127-E12B-BACF-2502-41B2EF0813E5
Hardware Model: MacBookPro18,3
Process: Runner [34095]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/660D1541-1FAA-4D12-B0F2-D844189798B1/data/Containers/Bundle/Application/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2/Runner.app/Runner
Identifier: app.bundle.id
Version: 2.8.0.stage (4073)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [14790]
Coalition: com.apple.CoreSimulator.SimDevice.660D1541-1FAA-4D12-B0F2-D844189798B1 [4037]
Responsible Process: SimulatorTrampoline [2872]
Date/Time: 2023-02-14 11:12:19.0612 -0800
Launch Time: 2023-02-14 11:12:18.7841 -0800
OS Version: macOS 13.2.1 (22D68)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: DYLD 4 Symbol missing
Symbol not found: _$s13SwiftProtobuf19_ProtoNameProvidingP17_protobuf_nameMapAA01_dH0VvgZTq
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/660D1541-1FAA-4D12-B0F2-D844189798B1/data/Containers/Bundle/Application/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2/Runner.app/Frameworks/iProov.framework/iProov
Expected in: /Users/USER/Library/Developer/CoreSimulator/Devices/660D1541-1FAA-4D12-B0F2-D844189798B1/data/Containers/Bundle/Application/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2/Runner.app/Frameworks/SwiftProtobuf.framework/SwiftProtobuf
(terminated at launch; ignore backtrace)
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
Thread 0 Crashed:
0 ??? 0x102de29a8 ???
1 <translation info unavailable> 0x102e9a294 ???
2 dyld 0x2030e1d07 abort_with_payload_wrapper_internal + 82
3 dyld 0x2030e1d39 abort_with_payload + 9
4 dyld_sim 0x10b423060 abort_with_payload + 26
5 dyld_sim 0x10b3e308b dyld4::halt(char const*) + 375
6 dyld_sim 0x10b3dfb15 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2807
7 dyld_sim 0x10b3dfd3f _dyld_sim_prepare + 379
8 dyld 0x203066ff1 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1551
9 dyld 0x2030655be dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
10 dyld 0x203065281 start + 2289
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7ffdf9614 ???
1 ??? 0x7ff7ffe11a50 ???
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000006 rbx: 0x0000000000000214 rcx: 0x0000000000000004 rdx: 0x0000000309cb6490
rdi: 0x000000201050836d rsi: 0x000000011050841c rbp: 0x0000000000000000 rsp: 0x0000000309cb6090
r8: 0x0000000309cb6090 r9: 0x0000000000000000 r10: 0x0000000000000214 r11: 0x0000000000000000
r12: 0x0000000000000214 r13: 0x0000000309cb6490 r14: 0x0000000000000004 r15: 0x0000000000000006
rip: <unavailable> rfl: 0x0000000000000283
tmp0: 0xffffffffffffffff tmp1: 0x0000000102de297c tmp2: 0x00000002030e1d07
Binary Images:
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x20305f000 - 0x2030f6fff dyld (*) <bba77709-6cad-3592-ab03-09d0f7b8610e> /usr/lib/dyld
0x10b3de000 - 0x10b42afff dyld_sim (*) <d494c297-dc73-394b-901e-1b5930e801df> /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
EOF
-----------
Full Report
-----------
{"app_name":"Runner","timestamp":"2023-02-14 11:12:25.00 -0800","app_version":"2.8.0.stage","slice_uuid":"234062e7-b199-36f8-a7df-3d41c21912a3","build_version":"4073","platform":7,"bundleID":"app.bundle.id","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"name":"Runner","incident_id":"864A78AD-6A4A-4777-948E-6325DAAA0350"}
{
"uptime" : 3500,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,3",
"coalitionID" : 4037,
"osVersion" : {
"train" : "macOS 13.2.1",
"build" : "22D68",
"releaseType" : "User"
},
"captureTime" : "2023-02-14 11:12:19.0612 -0800",
"incident" : "864A78AD-6A4A-4777-948E-6325DAAA0350",
"pid" : 34095,
"translated" : true,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-02-14 11:12:18.7841 -0800",
"procStartAbsTime" : 84348918859,
"procExitAbsTime" : 84355563049,
"procName" : "Runner",
"procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/660D1541-1FAA-4D12-B0F2-D844189798B1\/data\/Containers\/Bundle\/Application\/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2\/Runner.app\/Runner",
"bundleInfo" : {"CFBundleShortVersionString":"2.8.0.stage","CFBundleVersion":"4073","CFBundleIdentifier":"app.bundle.id.stage"},
"storeInfo" : {"deviceIdentifierForVendor":"87919FDD-3820-562F-87D4-1E193A62C135","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 14790,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.660D1541-1FAA-4D12-B0F2-D844189798B1",
"crashReporterKey" : "945CE127-E12B-BACF-2502-41B2EF0813E5",
"responsiblePid" : 2872,
"responsibleProc" : "SimulatorTrampoline",
"wakeTime" : 2610,
"sleepWakeUUID" : "B8E41F3D-8006-4918-8520-CE0C4F6516A8",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"code":4,"flags":518,"namespace":"DYLD","indicator":"Symbol missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Symbol not found: _$s13SwiftProtobuf19_ProtoNameProvidingP17_protobuf_nameMapAA01_dH0VvgZTq","Referenced from: \/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/660D1541-1FAA-4D12-B0F2-D844189798B1\/data\/Containers\/Bundle\/Application\/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2\/Runner.app\/Frameworks\/iProov.framework\/iProov","Expected in: \/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/660D1541-1FAA-4D12-B0F2-D844189798B1\/data\/Containers\/Bundle\/Application\/8B6A01F0-F54C-4FBB-81CC-EB4E53E205C2\/Runner.app\/Frameworks\/SwiftProtobuf.framework\/SwiftProtobuf"]},
"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",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":2,"task_for_pid":4},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":141045,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":532},"rosetta":{"tmp2":{"value":8641191175},"tmp1":{"value":4343081340},"tmp0":{"value":18446744073709551615}},"rbx":{"value":532},"r8":{"value":13049225360},"r15":{"value":6},"r10":{"value":532},"rdx":{"value":13049226384},"rdi":{"value":137712665453},"r9":{"value":0},"r13":{"value":13049226384},"rflags":{"value":643},"rax":{"value":6},"rsp":{"value":13049225360},"r11":{"value":0},"rcx":{"value":4},"r14":{"value":4},"rsi":{"sourceLine":355,"value":4568679452,"sourceFile":"status.cc","symbol":"absl::lts_20211102::PermissionDeniedError(absl::lts_20211102::string_view)","symbolLocation":0}},"frames":[{"imageOffset":4343081384,"imageIndex":0},{"imageOffset":4343833236,"region":"<translation info unavailable>","imageIndex":0},{"imageOffset":535815,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":1},{"imageOffset":535865,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":1},{"imageOffset":282720,"symbol":"abort_with_payload","symbolLocation":26,"imageIndex":2},{"imageOffset":20619,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":2},{"imageOffset":6933,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":2807,"imageIndex":2},{"imageOffset":7487,"symbol":"_dyld_sim_prepare","symbolLocation":379,"imageIndex":2},{"imageOffset":32753,"symbol":"dyld4::prepareSim(dyld4::RuntimeState&, char const*)","symbolLocation":1551,"imageIndex":1},{"imageOffset":26046,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":244,"imageIndex":1},{"imageOffset":25217,"symbol":"start","symbolLocation":2289,"imageIndex":1}]},{"id":141046,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":140703126492692,"imageIndex":0},{"imageOffset":140703126592080,"imageIndex":0}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 8640655360,
"size" : 622592,
"uuid" : "bba77709-6cad-3592-ab03-09d0f7b8610e",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4483571712,
"size" : 315392,
"uuid" : "d494c297-dc73-394b-901e-1b5930e801df",
"path" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 15.0.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
"name" : "dyld_sim"
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=156.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=156.3M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nRosetta Arena 4096K 2 \nRosetta Generic 972K 240 \nRosetta IndirectBranch 32K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 20K 2 \nRosetta Thread Context 20K 2 \nStack 8176K 1 \nStack Guard 56.0M 1 \nVM_ALLOCATE 52K 2 \nVM_ALLOCATE (reserved) 20K 2 reserved VM address space (unallocated)\n__DATA 38.8M 796 \n__DATA_CONST 50.7M 569 \n__DATA_DIRTY 100K 12 \n__FONT_DATA 4K 1 \n__LINKEDIT 427.0M 643 \n__TEXT 636.5M 640 \n__UNICODE 588K 1 \ndyld private memory 32.0G 4 \nmapped file 604K 7 \n=========== ======= ======= \nTOTAL 33.3G 2927 \nTOTAL, minus reserved VM space 33.3G 2927 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5f72dc58705eff005a46b3a9",
"factorPackIds" : {
},
"deploymentId" : 240000015
},
{
"rolloutId" : "60f8ddccefea4203d95cbeef",
"factorPackIds" : {
},
"deploymentId" : 240000022
}
],
"experiments" : [
]
},
"reportNotes" : [
"dyld_process_snapshot_get_shared_cache failed"
]
}
Model: MacBookPro18,3, BootROM 8419.80.7, proc 10:8:2 processors, 32 GB, SMC
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Nov 30 2022 02:17:16 version 20.10.965.13.8.7.131 FWID 01-1251c18d
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Podfile
deployment_target = '11.0'
# Uncomment this line to define a global platform for your project
platform :ios, deployment_target
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
# add pods for desired Firebase products
# https://firebase.google.com/docs/ios/setup#available-pods
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
# JUMIO CHANGES
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target) # CHANGED FOR JUMIO
if ['iProov', 'Socket.IO-Client-Swift', 'Starscream', 'DatadogSDK'].include? target.name
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
# installer.pods_project.targets.each do |target|
# target.build_configurations.each do |config|
# if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 9.0
# config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
# end
# end
# end
# code below is from this thread: https://stackoverflow.com/questions/73711671/flutter-ios-build-error-select-a-development-team-in-the-signing-capabiliti
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
end
My iOS app project is crashing in old iPhone devices (6 Plus), and I cannot find any way to fix it. Could anyone help?
The app just crashed when it launches.
The following is portion of the crash log (there is text limitation here).
Full log is here: https://pastebin.com/VSnrrx0c
Incident Identifier: CC04AA95-1087-4875-B802-9861C7FF9CE1
CrashReporter Key: 6655fc4cfd2e5cf7ad4e91e2fba51e530e23ed07
Hardware Model: iPhone7,1
Process: Meeeet [393]
Path: /private/var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Meeeet
Identifier: com.meeeet.Meeeet
Version: 231 (8.0.0)
AppStoreTools: 13E500a
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.meeeet.Meeeet [460]
Date/Time: 2022-09-02 11:54:07.8221 +0800
Launch Time: 2022-09-02 11:54:07.7359 +0800
OS Version: iPhone OS 12.5.5 (16H62)
Baseband Version: 7.80.04
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Symbol not found: _OBJC_CLASS_$_NSConstantIntegerNumber | Referenced from: /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Meeeet | Expected in: dyld shared cache | in /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Meeeet
Triggered by Thread: 0
Thread 0 Crashed:
0 dyld 0x00000001030e2418 __abort_with_payload + 8
1 dyld 0x00000001030e1a58 abort_with_payload_wrapper_internal + 100
2 dyld 0x00000001030e1a88 fcntl + 0
3 dyld 0x00000001030a48f8 dyld::fastBindLazySymbol+ 18680 (ImageLoader**, unsigned long) + 0
4 dyld 0x00000001030a76e4 dyld::_main+ 30436 (macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 5396
5 dyld 0x00000001030a1044 _dyld_start + 68
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000004 x2: 0x000000016f2269b0 x3: 0x00000000000000a2
x4: 0x000000016f2265b0 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x000000016f226d80
x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x433842463935342d x11: 0x6f4d2f3344324342
x12: 0x3935342d33323439 x13: 0x4432434243384246 x14: 0x612e65766f4d2f33 x15: 0x0065766f4d2f7070
x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016f2265b0 x21: 0x00000000000000a2 x22: 0x000000016f2269b0 x23: 0x0000000000000004
x24: 0x0000000000000006 x25: 0x000000000000002f x26: 0x00000001030fb5e0 x27: 0x00000001030fb000
x28: 0x00000001030fba00 fp: 0x000000016f226580 lr: 0x00000001030e1a58
sp: 0x000000016f226540 pc: 0x00000001030e2418 cpsr: 0x00000000
Binary Images:
0x100bd8000 - 0x10297ffff Meeeet arm64 <b55212af4b9e3c449d35272d5b483faf> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Meeeet
0x102f7c000 - 0x102f8ffff TTTAttributedLabel arm64 <0a09d832609b3883b9aba76916d82c68> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/TTTAttributedLabel.framework/TTTAttributedLabel
0x102fac000 - 0x102ff7fff MNLWebAuthn arm64 <e81494e144403ddbb6523031932238e0> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/MNLWebAuthn.framework/MNLWebAuthn
0x103040000 - 0x103067fff DSAModule arm64 <7656a4cd9d463c08b912809c9c6a5173> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/DSAModule.framework/DSAModule
0x103080000 - 0x103087fff UICountingLabel arm64 <35d477328df93f9390a7c35424bdb9d3> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/UICountingLabel.framework/UICountingLabel
0x1030a0000 - 0x1030f7fff dyld arm64 <c08f675c016c30b8a87de35aef8f6b20> /usr/lib/dyld
0x103160000 - 0x1031e3fff RemoteAPIClient arm64 <bd77e4a585e63a909632d05c60fc0645> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/RemoteAPIClient.framework/RemoteAPIClient
0x10321c000 - 0x103243fff PromiseKit_34A278A94EE8AA11_PackageProduct arm64 <7e28d579b76834408090b43da0718c12> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/PromiseKit_34A278A94EE8AA11_PackageProduct.framework/PromiseKit_34A278A94EE8AA11_PackageProduct
0x103258000 - 0x1032c7fff OneSignal arm64 <f869a0fa9b023395a1f39d3ebbebf1de> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/OneSignal.framework/OneSignal
0x103378000 - 0x1033fbfff CryptoSwift_-360922625E627667_PackageProduct arm64 <b213f76f8e1d3ff9ab3ed556e011cf26> /var/containers/Bundle/Application/F9D38B3A-BC1F-4131-9423-459FB8CBC2D3/Meeeet.app/Frameworks/CryptoSwift_-360922625E627667_PackageProduct.framework/CryptoSwift_-360922625E627667_PackageProduct
When I am trying to open xcode then it gives me an error
For your kind information I am working on Flutter
Xcode error screenshot:-
enter image description here
Xcode full error:-
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [987]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.4.1 (20504)
Build Info: IDEFrameworks-20504000000000000~2 (13F100)
App Item ID: 497799835
App External ID: 849405240
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2022-07-05 20:18:29.6652 +0600
OS Version: macOS 12.4 (21F79)
Report Version: 12
Anonymous UUID: BFC37DE6-5667-DA64-D362-1D0670B53487
Time Awake Since Boot: 420 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1b01c2d98 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1b01f7ee0 pthread_kill + 288
2 libsystem_c.dylib 0x1b0132340 abort + 168
3 Xcode 0x1042ff4c4 main.cold.1 + 40
4 Xcode 0x1042febd0 main + 356
5 dyld 0x1045ed08c start + 520
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000004b010001 x5: 0x0000000000000001 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x13f54261f51d14cd x9: 0x13f54260f17b114d x10: 0x007ffffffffffff8 x11: 0x00000003f2f7001a
x12: 0x000000000000000a x13: 0x0000000000000000 x14: 0x00000001afecc000 x15: 0x000000026ad98000
x16: 0x0000000000000148 x17: 0x000000020a283680 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000104660580 x21: 0x0000000000000103 x22: 0x0000000104660660 x23: 0x0000000144806260
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016bb03940 lr: 0x00000001b01f7ee0
sp: 0x000000016bb03920 pc: 0x00000001b01c2d98 cpsr: 0x40001000
far: 0x0000000142f28050 esr: 0x56000080 Address size fault
Binary Images:
0x1b01b9000 - 0x1b01f0fff libsystem_kernel.dylib (*) <03f48dc5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib
0x1b01f1000 - 0x1b01fdfff libsystem_pthread.dylib (*) <42166a2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib
0x1b00b8000 - 0x1b0139fff libsystem_c.dylib (*) <86746b94-88e3-342d-b2b2-54303404e492> /usr/lib/system/libsystem_c.dylib
0x1042fc000 - 0x1042fffff com.apple.dt.Xcode (13.4.1) <209ad0d0-251b-3efc-a3ea-fd175763be79> /Applications/Xcode.app/Contents/MacOS/Xcode
0x1045e8000 - 0x104647fff dyld (*) <d9c2a46e-8dc4-3950-9d6a-f799e8ccb683> /usr/lib/dyld
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=817.4M resident=0K(0%) swapped_out_or_unallocated=817.4M(100%)
Writable regions: Total=163.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=163.1M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 32K 1
MALLOC 35.1M 13
MALLOC guard page 96K 5
MALLOC_MEDIUM (reserved) 120.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.0M 1
Stack 8176K 1
__AUTH 1863K 147
__AUTH_CONST 10.2M 292
__DATA 8604K 279
__DATA_CONST 10.2M 296
__DATA_DIRTY 806K 111
__FONT_DATA 4K 1
__LINKEDIT 577.3M 3
__OBJC_CONST 1357K 114
__OBJC_RO 83.0M 1
__OBJC_RW 3152K 1
__TEXT 240.1M 309
__UNICODE 592K 1
dyld private memory 1024K 1
shared memory 16K 1
=========== ======= =======
TOTAL 1.1G 1579
TOTAL, minus reserved VM space 1.0G 1579
-----------
Full Report
-----------
{"app_name":"Xcode","timestamp":"2022-07-05 20:18:31.00 +0600","app_version":"13.4.1","slice_uuid":"209ad0d0-251b-3efc-a3ea-fd175763be79","adam_id":"497799835","build_version":"20504","platform":1,"bundleID":"com.apple.dt.Xcode","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"9321D790-BA4A-4748-9B50-681A237C3F19","name":"Xcode"}
{
"uptime" : 420,
"procLaunch" : "2022-07-05 20:18:24.3525 +0600",
"procRole" : "Background",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"procStartAbsTime" : 10082599645,
"coalitionID" : 995,
"osVersion" : {
"train" : "macOS 12.4",
"build" : "21F79",
"releaseType" : "User"
},
"captureTime" : "2022-07-05 20:18:29.6652 +0600",
"incident" : "9321D790-BA4A-4748-9B50-681A237C3F19",
"bug_type" : "309",
"pid" : 987,
"procExitAbsTime" : 10210035128,
"translated" : false,
"cpuType" : "ARM-64",
"procName" : "Xcode",
"procPath" : "\/Applications\/Xcode.app\/Contents\/MacOS\/Xcode",
"bundleInfo" : {"CFBundleShortVersionString":"13.4.1","CFBundleVersion":"20504","CFBundleIdentifier":"com.apple.dt.Xcode"},
"buildInfo" : {"ProjectName":"IDEFrameworks","SourceVersion":"20504000000000000","ProductBuildVersion":"13F100","BuildVersion":"2"},
"storeInfo" : {"storeCohortMetadata":"10|date=1656723600000&sf=143441&pgtp=Software&pgid=497799835&prpg=Search_osx&ctxt=Search&issrch=1&lngid=1","itemID":"497799835","deviceIdentifierForVendor":"6C4FDE9F-1F16-5026-ADB9-A87FF85DC63E","thirdParty":true,"softwareVersionExternalIdentifier":"849405240"},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.apple.dt.Xcode",
"crashReporterKey" : "BFC37DE6-5667-DA64-D362-1D0670B53487",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":11247,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":1258356737},{"value":1},{"value":0},{"value":0},{"value":1438128644506326221},{"value":1438128640150409549},{"value":36028797018963960},{"value":16961175578},{"value":10},{"value":0},{"value":7246495744},{"value":10382573568},{"value":328},{"value":8760342144},{"value":0},{"value":6},{"value":4368762240,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":4368762464,"symbolLocation":224,"symbol":"_main_thread"},{"value":5444231776},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7249821408},"cpsr":{"value":1073745920},"fp":{"value":6101678400},"sp":{"value":6101678368},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7249603992,"matchesCrashFrame":1},"far":{"value":5418156112}},"queue":"com.apple.main-thread","frames":[{"imageOffset":40344,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":28384,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":500544,"symbol":"abort","symbolLocation":168,"imageIndex":2},{"imageOffset":13508,"symbol":"main.cold.1","symbolLocation":40,"imageIndex":3},{"imageOffset":11216,"symbol":"main","symbolLocation":356,"imageIndex":3},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":4}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 7249563648,
"size" : 229376,
"uuid" : "03f48dc5-caa7-3678-af61-1a3c7fa8b06e",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7249793024,
"size" : 53248,
"uuid" : "42166a2c-89a9-3c38-a215-f028544cea23",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7248510976,
"size" : 532480,
"uuid" : "86746b94-88e3-342d-b2b2-54303404e492",
"path" : "\/usr\/lib\/system\/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4365205504,
"CFBundleShortVersionString" : "13.4.1",
"CFBundleIdentifier" : "com.apple.dt.Xcode",
"size" : 16384,
"uuid" : "209ad0d0-251b-3efc-a3ea-fd175763be79",
"path" : "\/Applications\/Xcode.app\/Contents\/MacOS\/Xcode",
"name" : "Xcode",
"CFBundleVersion" : "20504"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4368269312,
"size" : 393216,
"uuid" : "d9c2a46e-8dc4-3950-9d6a-f799e8ccb683",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"sharedCache" : {
"base" : 7246495744,
"size" : 3136077824,
"uuid" : "513553bb-5ca5-3b9e-a613-b0603ffe3038"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=817.4M resident=0K(0%) swapped_out_or_unallocated=817.4M(100%)\nWritable regions: Total=163.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=163.1M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nKernel Alloc Once 32K 1 \nMALLOC 35.1M 13 \nMALLOC guard page 96K 5 \nMALLOC_MEDIUM (reserved) 120.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.0M 1 \nStack 8176K 1 \n__AUTH 1863K 147 \n__AUTH_CONST 10.2M 292 \n__DATA 8604K 279 \n__DATA_CONST 10.2M 296 \n__DATA_DIRTY 806K 111 \n__FONT_DATA 4K 1 \n__LINKEDIT 577.3M 3 \n__OBJC_CONST 1357K 114 \n__OBJC_RO 83.0M 1 \n__OBJC_RW 3152K 1 \n__TEXT 240.1M 309 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nshared memory 16K 1 \n=========== ======= ======= \nTOTAL 1.1G 1579 \nTOTAL, minus reserved VM space 1.0G 1579 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000167
},
{
"rolloutId" : "61301e3a61217b3110231469",
"factorPackIds" : {
"SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225"
},
"deploymentId" : 240000016
}
],
"experiments" : [
]
}
}
Model: MacBookAir10,1, BootROM 7459.121.3, proc 8:4:4 processors, 8 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Mar 23 2022 19:57:59 version 18.60.27.0.7.8.129 FWID 01-570be953
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.
Question mark and not opening ios simulator screenshot:-
enter image description here
All working perfectly. When I was installed xcode command line tools through system update and then I was installed homebrew and install cocoapods through brew. Then my problem starts.
I am begineer in this field. Thats why please look at it with an apologetic look.
Question mark appears when the app is not found
In your case Question mark is showing on Simulator which means Xcode is unable to fetch your IOS Simulator
Solution: Remove Caches from your Xcode and remove all older created IOS simulator and try creating new one with updated at IOS 15.5
Incident Identifier: 7EBC5316-1217-477F-96B7-C1725C2A3641
Hardware Model: iPhone8,2
Process: PalaceMaster [9085]
Path: /private/var/containers/Bundle/Application/10F7686F-17B6-4AFF-B8F1-BE0568D1E7A2/PalaceMaster.app/PalaceMaster
Identifier: com.cookie.palace.en
Version: 16 (2.0.12)
AppStoreTools: 12D4d
AppVariant: 1:iPhone8,2:9
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.cookie.palace.en [1695]
Date/Time: 2021-02-07 20:28:59.4500 -0500
Launch Time: 2021-02-07 20:28:59.4098 -0500
OS Version: iPhone OS 12.0 (16A366)
Baseband Version: 5.10.00
Report Version: 104
Exception Type: EXCCRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSENOTIFY
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/AdServices.framework/AdServices | Referenced from: /var/containers/Bundle/Application/10F7686F-17B6-4AFF-B8F1-BE0568D1E7A2/PalaceMaster.app/PalaceMaster | Reason: image not found
Triggered by Thread: 0
Thread 0 Crashed:
0 dyld 0x0000000103384264 abortwithpayload + 8
1 dyld 0x00000001033838a4 abortwithpayloadwrapperinternal + 100 (terminatewithreason.c:71)
2 dyld 0x00000001033838d4 abortwithpayload + 12 (terminatewithreason.c:93)
3 dyld 0x00000001033448f4 dyld::halt(char const*) + 312 (dyld.cpp:4024)
4 dyld 0x00000001033477cc dyld::main(machoheader const*, unsigned long, int, char const, char const, char const**, un... + 5468 (dyld.cpp:6519)
5 dyld 0x0000000103341044 dyldstart + 68
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016d89e990 x3: 0x00000000000000b5
x4: 0x000000016d89e590 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000600
x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x0a72657473614d65 x11: 0x6e6f736165522020
x12: 0x20200a7265747361 x13: 0x203a6e6f73616552 x14: 0x6f6e206567616d69 x15: 0x00646e756f662074
x16: 0x0000000000000209 x17: 0x0000000000000010 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016d89e590 x21: 0x00000000000000b5 x22: 0x000000016d89e990 x23: 0x0000000000000001
x24: 0x0000000000000006 x25: 0x0000000000000000 x26: 0x00000001033a7000 x27: 0x00000001033a7aa0
x28: 0x00000001033a79e0 fp: 0x000000016d89e560 lr: 0x00000001033838a4
sp: 0x000000016d89e520 pc: 0x0000000103384264 cpsr: 0x00000000
Binary Images:
0x102560000 - 0x102f67fff PalaceMaster arm64 /var/containers/Bundle/Application/10F7686F-17B6-4AFF-B8F1-BE0568D1E7A2/PalaceMaster.app/PalaceMaster
0x103340000 - 0x1033a3fff dyld arm64 <8f53711b46f3359ea4d6479c85ada9ce> /usr/lib/dyld
EOF
I've commented out "useframeworks!"
and
This crash is not a sure thing, but there have been 8 cases in a week, mostly ios12.
AdServices.framework is available on ios 14.3+.
if your device system is bellow 14.3(ios 14.2, ios 14.1, ios 14.0 ...) then your app will be crashed. (I know this is xcode bug, not is your wrong. but we need do something)
Let set the AdServices.framework is optional
yocto build 2.23 was succesfull and booted my renesas h3ulcb , cross-compiled an opencv application (2.4.13.7) using the sdk on the build system and when trying to execute the cross-compiled binary on the renesas the following error occurs.
However there are no errors while cross-compilation and application is running fine on ubuntu 16.04 but the following error occurs in the h3ulcb running poky 2.1.3
root#h3ulcb:/media/2.4.13_algo_target_# ./main_
Error! /media/2.[ 617.588072] main_[3025]: unhandled level 2 translation fault (11) at 0x00000008, esr 0x92000006
4.13_algo_target[ 617.599298] pgd = ffff8006f8d2a000
_/img/%04d.jpg N[ 617.605155] [00000008] *pgd=00000007374cd003ot Found!
[ 617.610668] , *pud=0000000737ad3003
, *pmd=0000000000000000[ 617.618244]
[ 617.620895]
[ 617.623581] CPU: 0 PID: 3025 Comm: main_ Tainted: G O 4.9.0-yocto-standard #1
[ 617.633050] Hardware name: Renesas H3ULCB board based on r8a7795 (DT)
[ 617.640712] task: ffff8006f77f7080 task.stack: ffff8006fab38000
[ 617.647859] PC is at 0xffff9fb846c8
[ 617.652572] LR is at 0x40498c
[ 617.656751] pc : [<0000ffff9fb846c8>] lr : [<000000000040498c>] pstate: 80000000
[ 617.665400] sp : 0000fffff3319350
[ 617.669956] x29: 0000fffff3319360 x28: 0000000000000000
[ 617.676556] x27: 0000000000000000 x26: 0000000000000000
[ 617.683147] x25: 0000000000000000 x24: 0000000000000000
[ 617.689717] x23: 0000000000000000 x22: 0000000000000000
[ 617.696241] x21: 0000000000000000 x20: 0000000000000000
[ 617.702709] x19: 0000fffff3319630 x18: 0000000000000010
[ 617.709151] x17: 000000000041b510 x16: 0000ffff9fb846a8
[ 617.715568] x15: 0000000032e5d35c x14: 0000ffff9fb2bcb4
[ 617.721960] x13: 0000ffffa02f7000 x12: efeeedecebeae9e8
[ 617.728337] x11: 0000000000000008 x10: 0101010101010101
[ 617.734709] x9 : d7d6d5d4d3d2d1d0 x8 : 0000000000000040
[ 617.741077] x7 : c7c6c5c4c3c2c1c0 x6 : 0000ffff9f290681
[ 617.747419] x5 : 0000000000000000 x4 : 0000000000000000
[ 617.753747] x3 : 0000000000000000 x2 : 0000000000000000
[ 617.760057] x1 : 0000fffff3319750 x0 : 0000ffff9fb83df0
[ 617.766367]
[ 617.768849] audit: type=1701 audit(1562349970.364:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3025 comm="main_" exe="/media/2.4.13_algo_tar1
Segmentation fault (core dumped)
main_ is the executable cross-compiled
can anyone help me debug this issue? Thanks, in advance