firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

[APMPersistedConfig scheduleSynchronizeToDisk] on mac M1

Open MelanyG opened this issue 3 years ago • 4 comments

Description

We are facing issue with our iOS application (that works properly on iOS) and it has enabled destination: ### Mac(Designed for iPad)., and when we run it on MacBook Air (M1, 2020) or MacBook Pro (14‑inch, 2021) there are craches, and application is not running properly. Crash starts from here: in (null) in __47-[APMPersistedConfig scheduleSynchronizeToDisk]_block_invoke ()

Reproducing the issue

Run iOS application that it has enabled destination: ### Mac(Designed for iPad) on mac Silicon

Firebase SDK Version

10.4.0

Xcode Version

14.1

Installation Method

CocoaPods

Firebase Product(s)

Analytics, Authentication, Crashlytics, Messaging

Targeted Platforms

macOS

Relevant Log Output

#11	(null) in _dispatch_block_async_invoke2 ()
#10	(null) in __47-[APMPersistedConfig scheduleSynchronizeToDisk]_block_invoke ()
#9	(null) in -[APMUserDefaults synchronize] ()
#8	(null) in APMFilePathForPreferencesName ()
#7	(null) in -[NSString(NSPathUtilities) stringByAppendingPathExtension:] ()
#0	(null) in __ulock_wait ()

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

PODS:
  - FBAEMKit (15.1.0):
    - FBSDKCoreKit_Basics (= 15.1.0)
  - FBSDKCoreKit (15.1.0):
    - FBAEMKit (= 15.1.0)
    - FBSDKCoreKit_Basics (= 15.1.0)
  - FBSDKCoreKit_Basics (15.1.0)
  - FBSDKLoginKit (15.1.0):
    - FBSDKCoreKit (= 15.1.0)
  - FBSDKShareKit (15.1.0):
    - FBSDKCoreKit (= 15.1.0)
  - fhc-core (3.0)
  - Firebase/Analytics (10.4.0):
    - Firebase/Core
  - Firebase/Auth (10.4.0):
    - Firebase/CoreOnly
    - FirebaseAuth (~> 10.4.0)
  - Firebase/Core (10.4.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (~> 10.4.0)
  - Firebase/CoreOnly (10.4.0):
    - FirebaseCore (= 10.4.0)
  - Firebase/Crashlytics (10.4.0):
    - Firebase/CoreOnly
    - FirebaseCrashlytics (~> 10.4.0)
  - Firebase/Messaging (10.4.0):
    - Firebase/CoreOnly
    - FirebaseMessaging (~> 10.4.0)
  - FirebaseAnalytics (10.4.0):
    - FirebaseAnalytics/AdIdSupport (= 10.4.0)
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - FirebaseAnalytics/AdIdSupport (10.4.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleAppMeasurement (= 10.4.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - FirebaseAuth (10.4.0):
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GTMSessionFetcher/Core (< 4.0, >= 2.1)
  - FirebaseCore (10.4.0):
    - FirebaseCoreInternal (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/Logger (~> 7.8)
  - FirebaseCoreInternal (10.4.0):
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
  - FirebaseCrashlytics (10.4.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleDataTransport (~> 9.2)
    - GoogleUtilities/Environment (~> 7.8)
    - nanopb (< 2.30910.0, >= 2.30908.0)
    - PromisesObjC (~> 2.1)
  - FirebaseInstallations (10.4.0):
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - PromisesObjC (~> 2.1)
  - FirebaseMessaging (10.4.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleDataTransport (~> 9.2)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/Reachability (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - GoogleAnalytics (3.21.0)
  - GoogleAppMeasurement (10.4.0):
    - GoogleAppMeasurement/AdIdSupport (= 10.4.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - GoogleAppMeasurement/AdIdSupport (10.4.0):
    - GoogleAppMeasurement/WithoutAdIdSupport (= 10.4.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - GoogleAppMeasurement/WithoutAdIdSupport (10.4.0):
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/MethodSwizzler (~> 7.8)
    - GoogleUtilities/Network (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - GoogleDataTransport (9.2.1):
    - GoogleUtilities/Environment (~> 7.7)
    - nanopb (< 2.30910.0, >= 2.30908.0)
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleTagManager (7.4.3):
    - FirebaseAnalytics (< 11.0, >= 9.0)
    - GoogleAnalytics (~> 3.21)
  - GoogleUtilities/AppDelegateSwizzler (7.11.0):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
  - GoogleUtilities/Environment (7.11.0):
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleUtilities/Logger (7.11.0):
    - GoogleUtilities/Environment
  - GoogleUtilities/MethodSwizzler (7.11.0):
    - GoogleUtilities/Logger
  - GoogleUtilities/Network (7.11.0):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (7.11.0)"
  - GoogleUtilities/Reachability (7.11.0):
    - GoogleUtilities/Logger
  - GoogleUtilities/UserDefaults (7.11.0):
    - GoogleUtilities/Logger
  - GTMSessionFetcher/Core (3.1.0)
  - nanopb (2.30909.0):
    - nanopb/decode (= 2.30909.0)
    - nanopb/encode (= 2.30909.0)
  - nanopb/decode (2.30909.0)
  - nanopb/encode (2.30909.0)
  - NVActivityIndicatorView (5.1.1):
    - NVActivityIndicatorView/Base (= 5.1.1)
  - NVActivityIndicatorView/Base (5.1.1)
  - PromisesObjC (2.1.1)

DEPENDENCIES:
  - FBSDKCoreKit
  - FBSDKLoginKit
  - FBSDKShareKit
  - fhc-core (from `../fhc-core/fhc-core`)
  - Firebase/Analytics
  - Firebase/Auth
  - Firebase/Core
  - Firebase/Crashlytics
  - Firebase/Messaging
  - GoogleTagManager
  - NVActivityIndicatorView

SPEC REPOS:
  trunk:
    - FBAEMKit
    - FBSDKCoreKit
    - FBSDKCoreKit_Basics
    - FBSDKLoginKit
    - FBSDKShareKit
    - Firebase
    - FirebaseAnalytics
    - FirebaseAuth
    - FirebaseCore
    - FirebaseCoreInternal
    - FirebaseCrashlytics
    - FirebaseInstallations
    - FirebaseMessaging
    - GoogleAnalytics
    - GoogleAppMeasurement
    - GoogleDataTransport
    - GoogleTagManager
    - GoogleUtilities
    - GTMSessionFetcher
    - nanopb
    - NVActivityIndicatorView
    - PromisesObjC

EXTERNAL SOURCES:
  fhc-core:
    :path: "../fhc-core/fhc-core"

SPEC CHECKSUMS:
  FBAEMKit: c7f82b5145d446bcbbcd50485c032689032fc6a2
  FBSDKCoreKit: 7542746fc63a2a38dd6a865eeb54268341f37b83
  FBSDKCoreKit_Basics: 92d6b26c0bed30ab09bbdd96dccaa26e6c9978d1
  FBSDKLoginKit: 4e275d30cf90e92bdf3a7c82857a8642abf23037
  FBSDKShareKit: 18e8ba99d38e3e92c631120cdcf162c45b661e0f
  fhc-core: eeee831dd1df2b83ddfb92e2b5e7aadc233fb226
  Firebase: ba3501b5142a57747eac74d27c96d2b313bdec90
  FirebaseAnalytics: 0be84b933ca3222bca03e8cccf020ad9b1c3c6ff
  FirebaseAuth: 5608282535d6f2dc902b2b88a379aaf6912fb837
  FirebaseCore: b8697a177690b69b0dbce9d612b69b893be70469
  FirebaseCoreInternal: e301297f4c15a17489e48ed722d733b1578e0c02
  FirebaseCrashlytics: 52e821fd4d36eba20a251a53549c2778b455f360
  FirebaseInstallations: 36b38c733fd37e50857e5e8d74138648f466f18c
  FirebaseMessaging: e7304d6ce5f83d9139f0a61383a2302beb99b111
  GoogleAnalytics: abbea91ce20faea66c5b2305aa040d3f9992f66a
  GoogleAppMeasurement: 173fa22ce7d62c29332568e853b39b2525a0e584
  GoogleDataTransport: ea169759df570f4e37bdee1623ec32a7e64e67c4
  GoogleTagManager: 3ac8bb08455a95f446c8006a562c58a132c202f5
  GoogleUtilities: c2bdc4cf2ce786c4d2e6b3bcfd599a25ca78f06f
  GTMSessionFetcher: c9e714f7eec91a55641e2bab9f45fd83a219b882
  nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
  NVActivityIndicatorView: 1f6c5687f1171810aa27a3296814dc2d7dec3667
  PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb

PODFILE CHECKSUM: 74925387cb6dcdb5f74e2d6fd0aaf94d7a4c0824

COCOAPODS: 1.11.2

</details>

MelanyG avatar Jan 25 '23 11:01 MelanyG

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Jan 25 '23 11:01 google-oss-bot

Hi there, I wasn't able to reproduce the issue on Mac(Designed for iPad) using the latest SDK. With this, is it possible for you to try the latest SDK and see if the issue will persist? If so, please let me know and provide an MCVE. Thanks.

rizafran avatar Feb 12 '26 12:02 rizafran

Hi, we need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just reply here.

rizafran avatar Mar 05 '26 11:03 rizafran

Since there haven't been any recent updates here, I'm going to close this ticket.

If you're still experiencing this issue and want to continue the discussion, just leave a reply here and we are happy to re-open this.

rizafran avatar Mar 16 '26 13:03 rizafran