square / in-app-payments-react-native-plugin

Apache License 2.0
116 stars 49 forks source link

Build Failed when tried to run on ios #218

Closed talha-irshad-kodexo closed 11 months ago

talha-irshad-kodexo commented 11 months ago

Describe the issue

I installed this package and tried adding the SDK both ways (i.e. pods and manually) but still i am facing this error when I try to run on IOS Simulator:

Here is the log:

 ** BUILD FAILED **

The following build commands failed:
    PhaseScriptExecution Add\ In-app\ payment\ SDK /Users/hs/Projects/wattba/BarberShop/ios/build/BarberShop.build/Debug-iphonesimulator/BarberShop.build/Script-45B594B72A67E0D2003FC3FD.sh (in target 'BarberShop' from project 'BarberShop')
(1 failure)

Here is the screenshot of build phases

Screenshot 2023-08-11 at 3 42 04 PM Screenshot 2023-08-11 at 3 40 16 PM

I have also tried adding the sdk manually, the SquareInAppPaymentsSDK.framework folder was not direclty in the zip file I got from here: https://github.com/square/in-app-payments-ios/releases, therefore I got that from this directory: /SquareInAppPaymentsSDK.xcframework/ios-arm64 folder. here is the screenshot of that:

Screenshot 2023-08-11 at 3 43 08 PM

this is my podfile:

# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native/scripts/react_native_pods.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip

platform :ios, '13.0'
prepare_react_native_project!

# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
#   dependencies: {
#     ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
  use_frameworks! :linkage => linkage.to_sym
end

target 'BarberShop' do
  use_frameworks! :linkage => :static
  config = use_native_modules!

  # Flags change depending on the env values.
  flags = get_default_flags()
  rn_maps_path = '../node_modules/react-native-maps'
  pod 'react-native-google-maps', :path => rn_maps_path
  pod 'RNSquareInAppPayments', :path => '../node_modules/react-native-square-in-app-payments'
  use_react_native!(
    :path => config[:reactNativePath],
    # Hermes is now enabled by default. Disable by setting this flag to false.
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    # :flipper_configuration => flipper_config,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  target 'BarberShopTests' do
    inherit! :complete
    # Pods for testing
  end

  post_install do |installer|
    # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end
end

To Reproduce

  1. Create a react native app with version 0.72.3
  2. Install react-native-square-in-app-payments version 1.7.3
  3. Follow the IOS installation instructions
  4. Try to run the app

Expected behavior

App runs without any errors

Environment (please complete the following information):

System: OS: macOS 12.6 CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz Memory: 88.21 MB / 8.00 GB Shell: 5.1.4 - /usr/local/bin/bash Binaries: Node: 18.11.0 - ~/.nvm/versions/node/v18.11.0/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 8.19.2 - ~/.nvm/versions/node/v18.11.0/bin/npm Watchman: Not Found Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 23, 25, 26, 27, 28, 29, 30, 31, 32, 33 Build Tools: 23.0.1, 25.0.2, 26.0.3, 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 33.0.0, 33.0.0 System Images: android-30 | Google APIs Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: Not Found Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 11.0.19 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.72.3 => 0.72.3 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Additional context

Also it is mentioned to link the package using react-native link command but react native 0.72 does not support this command, And I couldn't follow the step 4 of part 3a of the manual sdk installation because I couldn't find the files mentioned in that step: "In the Copy Bundle Resources build phase, add RNSquareInAppPayments-Resources.bundle from Libraries->RNSquareInAppPayments.xcodeproj."

AndrewBordin commented 11 months ago

Do you have the Embed Frameworks (2 Items) step ? If not, go to your General tab (make sure your app target is selected) and then scroll down to Frameworks, Libraries, and Embedded Content.

Then click the + and add the two square framework files that are in your /Frameworks folder. After that go back to the Build Phases tab and you should now have the Embed Frameworks (2 Items) build phase.

It will be added last, so make sure to move it before your Add In-app Payment script.

Let me know if that works.

talha-irshad-kodexo commented 11 months ago

Thanks for the response Andrew, I followed the steps you provided and now the app is building successfully but when I open the app, it says the app quit unexpectedly this is the report that it gave me. I am unable to find any useful info about the error from this. Kindly let me know if you see anything relevant and any way to resolve this

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 4D2228A7-46A4-44B7-88F9-24A062C912F3
CrashReporter Key:   065DC07D-BB51-C147-8C16-553A97490C5A
Hardware Model:      MacBookPro12,1
Process:             BarberShop [18080]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/88F5CF27-70B3-4A4F-9EB4-CBADEDF3EF63/data/Containers/Bundle/Application/22641B6A-6962-4CCB-9E2E-F962B3AF618E/BarberShop.app/BarberShop
Identifier:          org.barbershop
Version:             1.0 (1)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [2846]
Coalition:           com.apple.CoreSimulator.SimDevice.88F5CF27-70B3-4A4F-9EB4-CBADEDF3EF63 [820]
Responsible Process: SimulatorTrampoline [1188]

Date/Time:           2023-08-11 19:52:15.5479 +0500
Launch Time:         2023-08-11 19:52:11.5210 +0500
OS Version:          macOS 12.6 (21G115)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                      0x7ff80042889b __exceptionPreprocess + 226
1   libobjc.A.dylib                     0x7ff80004dba3 objc_exception_throw + 48
2   CoreFoundation                      0x7ff800428789 -[NSException initWithCoder:] + 0
3   BarberShop                             0x1087b3e47 +[FIRApp configure] + 119
4   BarberShop                             0x1086cbe9f -[AppDelegate application:didFinishLaunchingWithOptions:] + 127 (AppDelegate.mm:12)
5   UIKitCore                              0x119d63663 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 271
6   UIKitCore                              0x119d65507 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 4257
7   UIKitCore                              0x119d6b2e3 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1236
8   UIKitCore                              0x1191978ac -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
9   UIKitCore                              0x11980c1e1 _UIScenePerformActionsWithLifecycleActionMask + 88
10  UIKitCore                              0x1191983a6 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
11  UIKitCore                              0x119197de3 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 252
12  UIKitCore                              0x1191981dc -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 831
13  UIKitCore                              0x119197a89 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 354
14  UIKitCore                              0x1191a68f5 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 178
15  UIKitCore                              0x1196dc947 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 833
16  UIKitCore                              0x11982a2a3 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 257
17  UIKitCore                              0x1191a6575 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 348
18  UIKitCore                              0x118f895ae __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.594 + 815
19  UIKitCore                              0x118f87fc4 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 245
20  UIKitCore                              0x118f8915b -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 255
21  UIKitCore                              0x119d69ae9 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 733
22  UIKitCore                              0x11970f36b -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 350
23  FrontBoardServices                  0x7ff80549db3b -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 415
24  FrontBoardServices                  0x7ff8054cc7ba __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.187 + 102
25  FrontBoardServices                  0x7ff8054abb8a -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 209
26  FrontBoardServices                  0x7ff8054cc3af __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 344
27  libdispatch.dylib                   0x7ff80013ca3a _dispatch_client_callout + 8
28  libdispatch.dylib                   0x7ff8001404bf _dispatch_block_invoke_direct + 484
29  FrontBoardServices                  0x7ff8054f2bb8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
30  FrontBoardServices                  0x7ff8054f2aae -[FBSSerialQueue _targetQueue_performNextIfPossible] + 174
31  FrontBoardServices                  0x7ff8054f2be0 -[FBSSerialQueue _performNextFromRunLoopSource] + 19
32  CoreFoundation                      0x7ff800387fe5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
33  CoreFoundation                      0x7ff800387f24 __CFRunLoopDoSource0 + 157
34  CoreFoundation                      0x7ff800387721 __CFRunLoopDoSources0 + 212
35  CoreFoundation                      0x7ff800381e23 __CFRunLoopRun + 927
36  CoreFoundation                      0x7ff8003816a7 CFRunLoopRunSpecific + 560
37  GraphicsServices                    0x7ff809cb128a GSEventRunModal + 139
38  UIKitCore                              0x119d67ad3 -[UIApplication _run] + 994
39  UIKitCore                              0x119d6c9ef UIApplicationMain + 123
40  BarberShop                             0x1086cc0e8 main + 104 (main.m:8)
41  dyld_sim                               0x10c9242bf start_sim + 10
42  dyld                                   0x11105452e start + 462

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x7ff83611d00e __pthread_kill + 10
1   libsystem_pthread.dylib             0x7ff8361741ff pthread_kill + 263
2   libsystem_c.dylib                   0x7ff800132fe0 abort + 130
3   libc++abi.dylib                     0x7ff800258742 abort_message + 241
4   libc++abi.dylib                     0x7ff80024995d demangling_terminate_handler() + 266
5   libobjc.A.dylib                     0x7ff800032082 _objc_terminate() + 96
6   libc++abi.dylib                     0x7ff800257b65 std::__terminate(void (*)()) + 8
7   libc++abi.dylib                     0x7ff800257b16 std::terminate() + 54
8   libdispatch.dylib                   0x7ff80013ca4e _dispatch_client_callout + 28
9   libdispatch.dylib                   0x7ff8001404bf _dispatch_block_invoke_direct + 484
10  FrontBoardServices                  0x7ff8054f2bb8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
11  FrontBoardServices                  0x7ff8054f2aae -[FBSSerialQueue _targetQueue_performNextIfPossible] + 174
12  FrontBoardServices                  0x7ff8054f2be0 -[FBSSerialQueue _performNextFromRunLoopSource] + 19
13  CoreFoundation                      0x7ff800387fe5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
14  CoreFoundation                      0x7ff800387f24 __CFRunLoopDoSource0 + 157
15  CoreFoundation                      0x7ff800387721 __CFRunLoopDoSources0 + 212
16  CoreFoundation                      0x7ff800381e23 __CFRunLoopRun + 927
17  CoreFoundation                      0x7ff8003816a7 CFRunLoopRunSpecific + 560
18  GraphicsServices                    0x7ff809cb128a GSEventRunModal + 139
19  UIKitCore                              0x119d67ad3 -[UIApplication _run] + 994
20  UIKitCore                              0x119d6c9ef UIApplicationMain + 123
21  BarberShop                             0x1086cc0e8 main + 104 (main.m:8)
22  dyld_sim                               0x10c9242bf start_sim + 10
23  dyld                                   0x11105452e start + 462

Thread 1:
0   libsystem_pthread.dylib             0x7ff83616ff48 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib             0x7ff83616ff48 start_wqthread + 0

Thread 3::  Dispatch queue: com.apple.UIKit.KeyboardManagement
0   libsystem_kernel.dylib              0x7ff8361180ea __ulock_wait + 10
1   libdispatch.dylib                   0x7ff80013d1cb _dlock_wait + 45
2   libdispatch.dylib                   0x7ff80013d02d _dispatch_thread_event_wait_slow + 40
3   libdispatch.dylib                   0x7ff80014d42c __DISPATCH_WAIT_FOR_QUEUE__ + 358
4   libdispatch.dylib                   0x7ff80014cf8b _dispatch_sync_f_slow + 202
5   UIKitCore                              0x119b7e415 __37-[_UIRemoteKeyboards startConnection]_block_invoke_2 + 118
6   CoreFoundation                      0x7ff80042f2fc __invoking___ + 140
7   CoreFoundation                      0x7ff80042c529 -[NSInvocation invoke] + 305
8   Foundation                          0x7ff800d530be __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 17
9   Foundation                          0x7ff800d52c95 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 629
10  Foundation                          0x7ff800d5790b __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 205
11  libxpc.dylib                        0x7ff80008fd0b _xpc_connection_reply_callout + 36
12  libxpc.dylib                        0x7ff800084bbd _xpc_connection_call_reply_async + 69
13  libdispatch.dylib                   0x7ff80013caa0 _dispatch_client_callout3 + 8
14  libdispatch.dylib                   0x7ff80015c75e _dispatch_mach_msg_async_reply_invoke + 630
15  libdispatch.dylib                   0x7ff8001440fb _dispatch_lane_serial_drain + 362
16  libdispatch.dylib                   0x7ff80014501a _dispatch_lane_invoke + 455
17  libdispatch.dylib                   0x7ff800151b46 _dispatch_workloop_worker_thread + 870
18  libsystem_pthread.dylib             0x7ff836170fd0 _pthread_wqthread + 326
19  libsystem_pthread.dylib             0x7ff83616ff57 start_wqthread + 15

Thread 4:
0   libsystem_pthread.dylib             0x7ff83616ff48 start_wqthread + 0

Thread 5:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib              0x7ff83611697a mach_msg_trap + 10
1   libsystem_kernel.dylib              0x7ff836116ce8 mach_msg + 56
2   CoreFoundation                      0x7ff80038788e __CFRunLoopServiceMachPort + 145
3   CoreFoundation                      0x7ff800381fdf __CFRunLoopRun + 1371
4   CoreFoundation                      0x7ff8003816a7 CFRunLoopRunSpecific + 560
5   Foundation                          0x7ff800c568b4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
6   Foundation                          0x7ff800c56b2d -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
7   UIKitCore                              0x119e3d286 -[UIEventFetcher threadMain] + 535
8   Foundation                          0x7ff800c8011b __NSThread__start__ + 1009
9   libsystem_pthread.dylib             0x7ff8361744e1 _pthread_start + 125
10  libsystem_pthread.dylib             0x7ff83616ff6b thread_start + 15

Thread 6:
0   libsystem_pthread.dylib             0x7ff83616ff48 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib             0x7ff83616ff48 start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib             0x7ff83616ff48 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001110cf600  rcx: 0x00007ff7b7836c58  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x00007ff7b7836c80  rsp: 0x00007ff7b7836c58
   r8: 0x00007ff7b7836b20   r9: 0x00007ff7b7836d80  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff83611d00e  rfl: 0x0000000000000246  cr2: 0x00007ff83611c188

Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133

Binary Images:
    0x7ff836115000 -     0x7ff83614cfff libsystem_kernel.dylib (*) <8cc28466-fd2f-3c80-9834-9525b7beac19> /usr/lib/system/libsystem_kernel.dylib
    0x7ff83616e000 -     0x7ff836179ff7 libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8000b5000 -     0x7ff800139ff7 libsystem_c.dylib (*) <8a60f5c1-ea1f-352b-b778-967be44e3677> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib
    0x7ff800248000 -     0x7ff80025dffb libc++abi.dylib (*) <ae8cbd53-0926-3251-b648-6f32d9330a50> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib
    0x7ff80002c000 -     0x7ff80005ffe9 libobjc.A.dylib (*) <2a7a213a-fdb2-311c-81d7-efdfd9ddf25a> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib
    0x7ff80013a000 -     0x7ff800185ff3 libdispatch.dylib (*) <59be51c1-e9f3-3a60-8108-cd70ae082897> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib
    0x7ff805495000 -     0x7ff805538ffb com.apple.FrontBoardServices (812.12) <6968144a-2ef3-3bce-a99a-d52e343b87ca> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
    0x7ff800303000 -     0x7ff80068bffc com.apple.CoreFoundation (6.9) <2be0f79f-8b25-3614-9e7e-dbac565f72dd> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    0x7ff809cae000 -     0x7ff809cb5ff2 com.apple.GraphicsServices (1.0) <16365e42-1d5c-363d-84d1-3bb290a43253> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x118f26000 -        0x11a9f1fff com.apple.UIKitCore (1.0) <adb282b1-2fb2-38e0-8492-47f9443eb1ef> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x1086c6000 -        0x109a95fff org.barbershop (1.0) <9a796734-295d-30fe-b28d-93a2a09b1c97> /Users/USER/Library/Developer/CoreSimulator/Devices/88F5CF27-70B3-4A4F-9EB4-CBADEDF3EF63/data/Containers/Bundle/Application/22641B6A-6962-4CCB-9E2E-F962B3AF618E/BarberShop.app/BarberShop
       0x10c922000 -        0x10c981fff dyld_sim (*) <6fb74554-3370-3677-93d4-7f7a01ea6a80> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x11104f000 -        0x1110bafff dyld (*) <71febccd-d9dc-3599-9971-2b3407c588a8> /usr/lib/dyld
    0x7ff8006fe000 -     0x7ff80102eff4 com.apple.Foundation (6.9) <86cd050d-44fc-3045-a1f3-8ad5047b329e> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation
    0x7ff800078000 -     0x7ff8000b0ff8 libxpc.dylib (*) <81ae956f-2354-36fa-b9f2-0c4e39462edd> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libxpc.dylib

EOF

-----------
Full Report
-----------

{"app_name":"BarberShop","timestamp":"2023-08-11 19:52:37.00 +0500","app_version":"1.0","slice_uuid":"9a796734-295d-30fe-b28d-93a2a09b1c97","build_version":"1","platform":7,"bundleID":"org.barbershop","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"4D2228A7-46A4-44B7-88F9-24A062C912F3","name":"BarberShop"}
{
  "uptime" : 3500,
  "procLaunch" : "2023-08-11 19:52:11.5210 +0500",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro12,1",
  "procStartAbsTime" : 3548081662336,
  "coalitionID" : 820,
  "osVersion" : {
    "train" : "macOS 12.6",
    "build" : "21G115",
    "releaseType" : "User"
  },
  "captureTime" : "2023-08-11 19:52:15.5479 +0500",
  "incident" : "4D2228A7-46A4-44B7-88F9-24A062C912F3",
  "bug_type" : "309",
  "pid" : 18080,
  "procExitAbsTime" : 3552101606158,
  "cpuType" : "X86-64",
  "procName" : "BarberShop",
  "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/88F5CF27-70B3-4A4F-9EB4-CBADEDF3EF63\/data\/Containers\/Bundle\/Application\/22641B6A-6962-4CCB-9E2E-F962B3AF618E\/BarberShop.app\/BarberShop",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"1","CFBundleIdentifier":"org.barbershop"},
  "storeInfo" : {"deviceIdentifierForVendor":"D54FCED0-B2F6-57A8-A60B-3B2FA040A745","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 2846,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.88F5CF27-70B3-4A4F-9EB4-CBADEDF3EF63",
  "crashReporterKey" : "065DC07D-BB51-C147-8C16-553A97490C5A",
  "responsiblePid" : 1188,
  "responsibleProc" : "SimulatorTrampoline",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asiBacktraces" : ["0   CoreFoundation                      0x00007ff8004288ab __exceptionPreprocess + 242\n1   libobjc.A.dylib                     0x00007ff80004dba3 objc_exception_throw + 48\n2   CoreFoundation                      0x00007ff800428789 -[NSException initWithCoder:] + 0\n3   BarberShop                          0x00000001087b3e47 +[FIRApp configure] + 119\n4   BarberShop                          0x00000001086cbe9f -[AppDelegate application:didFinishLaunchingWithOptions:] + 127\n5   UIKitCore                           0x0000000119d63663 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 271\n6   UIKitCore                           0x0000000119d65507 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 4257\n7   UIKitCore                           0x0000000119d6b2e3 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1236\n8   UIKitCore                           0x00000001191978ac -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122\n9   UIKitCore                           0x000000011980c1e1 _UIScenePerformActionsWithLifecycleActionMask + 88\n10  UIKitCore                           0x00000001191983a6 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198\n11  UIKitCore                           0x0000000119197de3 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 252\n12  UIKitCore                           0x00000001191981dc -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 831\n13  UIKitCore                           0x0000000119197a89 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 354\n14  UIKitCore                           0x00000001191a68f5 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 178\n15  UIKitCore                           0x00000001196dc947 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 833\n16  UIKitCore                           0x000000011982a2a3 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 257\n17  UIKitCore                           0x00000001191a6575 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 348\n18  UIKitCore                           0x0000000118f895ae __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.594 + 815\n19  UIKitCore                           0x0000000118f87fc4 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 245\n20  UIKitCore                           0x0000000118f8915b -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 255\n21  UIKitCore                           0x0000000119d69ae9 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 733\n22  UIKitCore                           0x000000011970f36b -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 350\n23  FrontBoardServices                  0x00007ff80549db3b -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 415\n24  FrontBoardServices                  0x00007ff8054cc7ba __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.187 + 102\n25  FrontBoardServices                  0x00007ff8054abb8a -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 209\n26  FrontBoardServices                  0x00007ff8054cc3af __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 344\n27  libdispatch.dylib                   0x00007ff80013ca3a _dispatch_client_callout + 8\n28  libdispatch.dylib                   0x00007ff8001404bf _dispatch_block_invoke_direct + 484\n29  FrontBoardServices                  0x00007ff8054f2bb8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30\n30  FrontBoardServices                  0x00007ff8054f2aae -[FBSSerialQueue _targetQueue_performNextIfPossible] + 174\n31  FrontBoardServices                  0x00007ff8054f2be0 -[FBSSerialQueue _performNextFromRunLoopSource] + 19\n32  CoreFoundation                      0x00007ff800387fe5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\n33  CoreFoundation                      0x00007ff800387f24 __CFRunLoopDoSource0 + 157\n34  CoreFoundation                      0x00007ff800387721 __CFRunLoopDoSources0 + 212\n35  CoreFoundation                      0x00007ff800381e23 __CFRunLoopRun + 927\n36  CoreFoundation                      0x00007ff8003816a7 CFRunLoopRunSpecific + 560\n37  GraphicsServices                    0x00007ff809cb128a GSEventRunModal + 139\n38  UIKitCore                           0x0000000119d67ad3 -[UIApplication _run] + 994\n39  UIKitCore                           0x0000000119d6c9ef UIApplicationMain + 123\n40  BarberShop                          0x00000001086cc0e8 main + 104\n41  dyld                                0x000000010c9242bf start_sim + 10\n42  ???                                 0x000000011105452e 0x0 + 4580525358"],
  "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},
  "lastExceptionBacktrace" : [{"imageOffset":1202331,"symbol":"__exceptionPreprocess","symbolLocation":226,"imageIndex":7},{"imageOffset":138147,"symbol":"objc_exception_throw","symbolLocation":48,"imageIndex":4},{"imageOffset":1202057,"symbol":"-[NSException initWithCoder:]","symbolLocation":0,"imageIndex":7},{"imageOffset":974407,"symbol":"+[FIRApp configure]","symbolLocation":119,"imageIndex":10},{"imageOffset":24223,"sourceLine":12,"sourceFile":"AppDelegate.mm","symbol":"-[AppDelegate application:didFinishLaunchingWithOptions:]","imageIndex":10,"symbolLocation":127},{"imageOffset":14931555,"symbol":"-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:]","symbolLocation":271,"imageIndex":9},{"imageOffset":14939399,"symbol":"-[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]","symbolLocation":4257,"imageIndex":9},{"imageOffset":14963427,"symbol":"-[UIApplication _runWithMainScene:transitionContext:completion:]","symbolLocation":1236,"imageIndex":9},{"imageOffset":2562220,"symbol":"-[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]","symbolLocation":122,"imageIndex":9},{"imageOffset":9331169,"symbol":"_UIScenePerformActionsWithLifecycleActionMask","symbolLocation":88,"imageIndex":9},{"imageOffset":2565030,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke","symbolLocation":198,"imageIndex":9},{"imageOffset":2563555,"symbol":"-[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]","symbolLocation":252,"imageIndex":9},{"imageOffset":2564572,"symbol":"-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]","symbolLocation":831,"imageIndex":9},{"imageOffset":2562697,"symbol":"-[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]","symbolLocation":354,"imageIndex":9},{"imageOffset":2623733,"symbol":"__186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke","symbolLocation":178,"imageIndex":9},{"imageOffset":8087879,"symbol":"+[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:]","symbolLocation":833,"imageIndex":9},{"imageOffset":9454243,"symbol":"_UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion","symbolLocation":257,"imageIndex":9},{"imageOffset":2622837,"symbol":"-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]","symbolLocation":348,"imageIndex":9},{"imageOffset":406958,"symbol":"__64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.594","symbolLocation":815,"imageIndex":9},{"imageOffset":401348,"symbol":"-[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]","symbolLocation":245,"imageIndex":9},{"imageOffset":405851,"symbol":"-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]","symbolLocation":255,"imageIndex":9},{"imageOffset":14957289,"symbol":"-[UIApplication workspace:didCreateScene:withTransitionContext:completion:]","symbolLocation":733,"imageIndex":9},{"imageOffset":8295275,"symbol":"-[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]","symbolLocation":350,"imageIndex":9},{"imageOffset":35643,"symbol":"-[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:]","symbolLocation":415,"imageIndex":6},{"imageOffset":227258,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.187","symbolLocation":102,"imageIndex":6},{"imageOffset":93066,"symbol":"-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]","symbolLocation":209,"imageIndex":6},{"imageOffset":226223,"symbol":"__92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke","symbolLocation":344,"imageIndex":6},{"imageOffset":10810,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":5},{"imageOffset":25791,"symbol":"_dispatch_block_invoke_direct","symbolLocation":484,"imageIndex":5},{"imageOffset":383928,"symbol":"__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":30,"imageIndex":6},{"imageOffset":383662,"symbol":"-[FBSSerialQueue _targetQueue_performNextIfPossible]","symbolLocation":174,"imageIndex":6},{"imageOffset":383968,"symbol":"-[FBSSerialQueue _performNextFromRunLoopSource]","symbolLocation":19,"imageIndex":6},{"imageOffset":544741,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":17,"imageIndex":7},{"imageOffset":544548,"symbol":"__CFRunLoopDoSource0","symbolLocation":157,"imageIndex":7},{"imageOffset":542497,"symbol":"__CFRunLoopDoSources0","symbolLocation":212,"imageIndex":7},{"imageOffset":519715,"symbol":"__CFRunLoopRun","symbolLocation":927,"imageIndex":7},{"imageOffset":517799,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":7},{"imageOffset":12938,"symbol":"GSEventRunModal","symbolLocation":139,"imageIndex":8},{"imageOffset":14949075,"symbol":"-[UIApplication _run]","symbolLocation":994,"imageIndex":9},{"imageOffset":14969327,"symbol":"UIApplicationMain","symbolLocation":123,"imageIndex":9},{"imageOffset":24808,"sourceLine":8,"sourceFile":"main.m","symbol":"main","imageIndex":10,"symbolLocation":104},{"imageOffset":8895,"symbol":"start_sim","symbolLocation":10,"imageIndex":11},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":12}],
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":99798,"threadState":{"r13":{"value":206158430216},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":140701912492832},"cr2":{"value":140704035750280},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":140701912493440},"r15":{"value":22},"rbx":{"value":4581029376,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140704035753998,"matchesCrashFrame":1},"rbp":{"value":140701912493184},"rsp":{"value":140701912493144},"r12":{"value":259},"rcx":{"value":140701912493144},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":32782,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":516064,"symbol":"abort","symbolLocation":130,"imageIndex":2},{"imageOffset":67394,"symbol":"abort_message","symbolLocation":241,"imageIndex":3},{"imageOffset":6493,"symbol":"demangling_terminate_handler()","symbolLocation":266,"imageIndex":3},{"imageOffset":24706,"symbol":"_objc_terminate()","symbolLocation":96,"imageIndex":4},{"imageOffset":64357,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":3},{"imageOffset":64278,"symbol":"std::terminate()","symbolLocation":54,"imageIndex":3},{"imageOffset":10830,"symbol":"_dispatch_client_callout","symbolLocation":28,"imageIndex":5},{"imageOffset":25791,"symbol":"_dispatch_block_invoke_direct","symbolLocation":484,"imageIndex":5},{"imageOffset":383928,"symbol":"__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":30,"imageIndex":6},{"imageOffset":383662,"symbol":"-[FBSSerialQueue _targetQueue_performNextIfPossible]","symbolLocation":174,"imageIndex":6},{"imageOffset":383968,"symbol":"-[FBSSerialQueue _performNextFromRunLoopSource]","symbolLocation":19,"imageIndex":6},{"imageOffset":544741,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":17,"imageIndex":7},{"imageOffset":544548,"symbol":"__CFRunLoopDoSource0","symbolLocation":157,"imageIndex":7},{"imageOffset":542497,"symbol":"__CFRunLoopDoSources0","symbolLocation":212,"imageIndex":7},{"imageOffset":519715,"symbol":"__CFRunLoopRun","symbolLocation":927,"imageIndex":7},{"imageOffset":517799,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":7},{"imageOffset":12938,"symbol":"GSEventRunModal","symbolLocation":139,"imageIndex":8},{"imageOffset":14949075,"symbol":"-[UIApplication _run]","symbolLocation":994,"imageIndex":9},{"imageOffset":14969327,"symbol":"UIApplicationMain","symbolLocation":123,"imageIndex":9},{"imageOffset":24808,"sourceLine":8,"sourceFile":"main.m","symbol":"main","imageIndex":10,"symbolLocation":104},{"imageOffset":8895,"symbol":"start_sim","symbolLocation":10,"imageIndex":11},{"imageOffset":21806,"symbol":"start","symbolLocation":462,"imageIndex":12}]},{"id":99849,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":99851,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":99852,"queue":"com.apple.UIKit.KeyboardManagement","frames":[{"imageOffset":12522,"symbol":"__ulock_wait","symbolLocation":10,"imageIndex":0},{"imageOffset":12747,"symbol":"_dlock_wait","symbolLocation":45,"imageIndex":5},{"imageOffset":12333,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":40,"imageIndex":5},{"imageOffset":78892,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":358,"imageIndex":5},{"imageOffset":77707,"symbol":"_dispatch_sync_f_slow","symbolLocation":202,"imageIndex":5},{"imageOffset":12944405,"symbol":"__37-[_UIRemoteKeyboards startConnection]_block_invoke_2","symbolLocation":118,"imageIndex":9},{"imageOffset":1229564,"symbol":"__invoking___","symbolLocation":140,"imageIndex":7},{"imageOffset":1217833,"symbol":"-[NSInvocation invoke]","symbolLocation":305,"imageIndex":7},{"imageOffset":6639806,"symbol":"__NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__","symbolLocation":17,"imageIndex":13},{"imageOffset":6638741,"symbol":"-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]","symbolLocation":629,"imageIndex":13},{"imageOffset":6658315,"symbol":"__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3","symbolLocation":205,"imageIndex":13},{"imageOffset":97547,"symbol":"_xpc_connection_reply_callout","symbolLocation":36,"imageIndex":14},{"imageOffset":52157,"symbol":"_xpc_connection_call_reply_async","symbolLocation":69,"imageIndex":14},{"imageOffset":10912,"symbol":"_dispatch_client_callout3","symbolLocation":8,"imageIndex":5},{"imageOffset":141150,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":630,"imageIndex":5},{"imageOffset":41211,"symbol":"_dispatch_lane_serial_drain","symbolLocation":362,"imageIndex":5},{"imageOffset":45082,"symbol":"_dispatch_lane_invoke","symbolLocation":455,"imageIndex":5},{"imageOffset":97094,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":870,"imageIndex":5},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":1},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":1}]},{"id":99853,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":99855,"name":"com.apple.uikit.eventfetch-thread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":0},{"imageOffset":542862,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":7},{"imageOffset":520159,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":7},{"imageOffset":517799,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":7},{"imageOffset":5605556,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":213,"imageIndex":13},{"imageOffset":5606189,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":72,"imageIndex":13},{"imageOffset":15823494,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":535,"imageIndex":9},{"imageOffset":5775643,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":13},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":99856,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":99857,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":99858,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140704035721216,
    "size" : 229376,
    "uuid" : "8cc28466-fd2f-3c80-9834-9525b7beac19",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140704036085760,
    "size" : 49144,
    "uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703129358336,
    "size" : 544760,
    "uuid" : "8a60f5c1-ea1f-352b-b778-967be44e3677",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703131009024,
    "size" : 90108,
    "uuid" : "ae8cbd53-0926-3251-b648-6f32d9330a50",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703128797184,
    "size" : 212970,
    "uuid" : "2a7a213a-fdb2-311c-81d7-efdfd9ddf25a",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703129903104,
    "size" : 311284,
    "uuid" : "59be51c1-e9f3-3a60-8108-cd70ae082897",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703217307648,
    "CFBundleShortVersionString" : "812.12",
    "CFBundleIdentifier" : "com.apple.FrontBoardServices",
    "size" : 671740,
    "uuid" : "6968144a-2ef3-3bce-a99a-d52e343b87ca",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/FrontBoardServices.framework\/FrontBoardServices",
    "name" : "FrontBoardServices",
    "CFBundleVersion" : "812.12"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703131774976,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 3706877,
    "uuid" : "2be0f79f-8b25-3614-9e7e-dbac565f72dd",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1953.300"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703292907520,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.GraphicsServices",
    "size" : 32755,
    "uuid" : "16365e42-1d5c-363d-84d1-3bb290a43253",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4713504768,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.UIKitCore",
    "size" : 28098560,
    "uuid" : "adb282b1-2fb2-38e0-8492-47f9443eb1ef",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore",
    "CFBundleVersion" : "6209"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4436287488,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "org.barbershop",
    "size" : 20774912,
    "uuid" : "9a796734-295d-30fe-b28d-93a2a09b1c97",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/88F5CF27-70B3-4A4F-9EB4-CBADEDF3EF63\/data\/Containers\/Bundle\/Application\/22641B6A-6962-4CCB-9E2E-F962B3AF618E\/BarberShop.app\/BarberShop",
    "name" : "BarberShop",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4505870336,
    "size" : 393216,
    "uuid" : "6fb74554-3370-3677-93d4-7f7a01ea6a80",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4580503552,
    "size" : 442368,
    "uuid" : "71febccd-d9dc-3599-9971-2b3407c588a8",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703135948800,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 9637877,
    "uuid" : "86cd050d-44fc-3045-a1f3-8ad5047b329e",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1953.300"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703129108480,
    "size" : 233465,
    "uuid" : "81ae956f-2354-36fa-b9f2-0c4e39462edd",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libxpc.dylib",
    "name" : "libxpc.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703128616960,
  "size" : 3002335232,
  "uuid" : "28753a6e-1633-3e54-b115-039dfaba6a49"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)\nWritable regions: Total=580.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=580.4M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                           16K        2 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           181.3M       30 \nMALLOC guard page                   32K        7 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.0M        9 \nStack                             12.1M        9 \nVM_ALLOCATE                         28K        3 \n__DATA                            27.0M      783 \n__DATA_CONST                      72.0M      742 \n__DATA_DIRTY                        26K       12 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       505.1M      152 \n__OBJC_RO                         28.4M        1 \n__OBJC_RW                          882K        1 \n__TEXT                           776.4M      755 \ndyld private memory               1568K        5 \nmapped file                       29.1M        3 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              2.0G     2520 \nTOTAL, minus reserved VM space     1.7G     2520 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000307
    },
    {
      "rolloutId" : "5f72dc58705eff005a46b3a9",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "8ca8349c-e2bc-482c-9ca7-3907b48a5341",
      "experimentId" : "648b5a581b04c12d4127bbb6",
      "deploymentId" : 400000002
    },
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    }
  ]
}
}

Model: MacBookPro12,1, BootROM 430.140.3.0.0, 2 processors, Dual-Core Intel Core i5, 2.7 GHz, 8 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5544
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80AD, 0x483943434E4E4E424C54414C41522D4E5544
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB30Bus
USB Device: Pixel 3 XL
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
AndrewBordin commented 11 months ago

Glad to hear that your app is now building. Hmm... do you happen to have any firebase related libraries like react-native-firebase installed in your app? I'm seeing a firebaseconfigure command that might be failing in your app delegate.

talha-irshad-kodexo commented 11 months ago

Thanks, man. I forgot one step of installing react native firebase which was causing that error. It was unrelated to square. you are a life saver

AndrewBordin commented 11 months ago

Awesome! I'm happy you were able to resolve the issue. Cheers