Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.22.0 Crash #12485

Closed
yyyng2 opened this issue Mar 7, 2024 · 3 comments
Closed

10.22.0 Crash #12485

yyyng2 opened this issue Mar 7, 2024 · 3 comments

Comments

@yyyng2
Copy link

yyyng2 commented Mar 7, 2024

Description

in Firebase/FirebaseDynamicLinks/Sources/FIRDLJavaScriptExecutor.m
@implementation FIRDLJavaScriptExecutor
...
_wkWebView = [[WKWebView alloc] init]; //Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1a5a2ba48)

After successful build, error occurs immediately.
Could you check it please?
Thank you guys, always.

Reproducing the issue

No response

Firebase SDK Version

10.22.0

Xcode Version

15.2

Installation Method

Swift Package Manager

Firebase Product(s)

DynamicLinks

Targeted Platforms

iOS, Device iPhone 12(iOS 17.4), Debug build

Relevant Log Output

No response

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

Expand Package.resolved snippet
{
  "originHash" : "fd3ca8216821dc28b95182a0b0f237aea313a315c7099fc509e06e49bd49b344",
  "pins" : [
    {
      "identity" : "abseil-cpp-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/abseil-cpp-binary.git",
      "state" : {
        "revision" : "df308b8b46607675f2b9ec8e569109008f9155ce",
        "version" : "1.2022062300.1"
      }
    },
    {
      "identity" : "alamofire",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Alamofire/Alamofire.git",
      "state" : {
        "revision" : "723fa5a6c65812aec4a0d7cc432ee198883b6e00",
        "version" : "5.9.0"
      }
    },
    {
      "identity" : "app-check",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/app-check.git",
      "state" : {
        "revision" : "3e464dad87dad2d29bb29a97836789bf0f8f67d2",
        "version" : "10.18.1"
      }
    },
    {
      "identity" : "appauth-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/openid/AppAuth-iOS.git",
      "state" : {
        "revision" : "71cde449f13d453227e687458144bde372d30fc7",
        "version" : "1.6.2"
      }
    },
    {
      "identity" : "bluecryptor",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Kitura/BlueCryptor.git",
      "state" : {
        "revision" : "cec97c24b111351e70e448972a7d3fe68a756d6d",
        "version" : "2.0.2"
      }
    },
    {
      "identity" : "blueecc",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Kitura/BlueECC.git",
      "state" : {
        "revision" : "1485268a54f8135435a825a855e733f026fa6cc8",
        "version" : "1.2.201"
      }
    },
    {
      "identity" : "bluersa",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Kitura/BlueRSA.git",
      "state" : {
        "revision" : "440f78db26d8bb073f29590f1c7bd31004da09ae",
        "version" : "1.0.201"
      }
    },
    {
      "identity" : "charts",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/danielgindi/Charts",
      "state" : {
        "revision" : "dd9c72e3d7e751e769971092a6bd72d39198ae63",
        "version" : "5.1.0"
      }
    },
    {
      "identity" : "chipagecontrol",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/ChiliLabs/CHIPageControl",
      "state" : {
        "revision" : "2d16f651a6c885e8d7eff21b36bd1cae3130aa10",
        "version" : "0.2.1"
      }
    },
    {
      "identity" : "facebook-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/facebook/facebook-ios-sdk",
      "state" : {
        "revision" : "c19607d535864533523d1f437c84035e5fb101cf",
        "version" : "14.1.0"
      }
    },
    {
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk",
      "state" : {
        "revision" : "fe09d61a539e11fdbe24f269bba10144b6145fe2",
        "version" : "10.22.0"
      }
    },
    {
      "identity" : "googleappmeasurement",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleAppMeasurement.git",
      "state" : {
        "revision" : "bf3bb24f6b60a7acedaef504e9ce97154203217a",
        "version" : "10.22.0"
      }
    },
    {
      "identity" : "googledatatransport",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleDataTransport.git",
      "state" : {
        "revision" : "a637d318ae7ae246b02d7305121275bc75ed5565",
        "version" : "9.4.0"
      }
    },
    {
      "identity" : "googlesignin-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleSignIn-iOS",
      "state" : {
        "revision" : "7932d33686c1dc4d7df7a919aae47361d1cdfda4",
        "version" : "7.0.0"
      }
    },
    {
      "identity" : "googleutilities",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleUtilities.git",
      "state" : {
        "revision" : "26c898aed8bed13b8a63057ee26500abbbcb8d55",
        "version" : "7.13.1"
      }
    },
    {
      "identity" : "grpc-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/grpc-binary.git",
      "state" : {
        "revision" : "ea4cb5cc0c39c732b85386263116d2e2fdbbdc61",
        "version" : "1.49.2"
      }
    },
    {
      "identity" : "gtm-session-fetcher",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/gtm-session-fetcher.git",
      "state" : {
        "revision" : "76135c9f4e1ac85459d5fec61b6f76ac47ab3a4c",
        "version" : "3.3.1"
      }
    },
    {
      "identity" : "gtmappauth",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GTMAppAuth.git",
      "state" : {
        "revision" : "cee3c709307912d040bd1e06ca919875a92339c6",
        "version" : "2.0.0"
      }
    },
    {
      "identity" : "iamport-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/iamport/iamport-ios",
      "state" : {
        "revision" : "133390ff3debd85a10160b9041f9c8147cea1e32",
        "version" : "1.4.1"
      }
    },
    {
      "identity" : "interop-ios-for-google-sdks",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/interop-ios-for-google-sdks.git",
      "state" : {
        "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
        "version" : "100.0.0"
      }
    },
    {
      "identity" : "iqkeyboardmanager",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/hackiftekhar/IQKeyboardManager.git",
      "state" : {
        "revision" : "c00b1ae9fa1ad8af4465bb6ca901f6943fc98eba",
        "version" : "6.5.16"
      }
    },
    {
      "identity" : "kakao-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/kakao/kakao-ios-sdk",
      "state" : {
        "revision" : "39640d334d2766209a1afe618bc102046969220e",
        "version" : "2.21.0"
      }
    },
    {
      "identity" : "kituracontracts",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Kitura/KituraContracts.git",
      "state" : {
        "revision" : "6edf7ac3dd2b3a2c61284778d430bbad7d8a6f23",
        "version" : "2.0.1"
      }
    },
    {
      "identity" : "leveldb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/leveldb.git",
      "state" : {
        "revision" : "43aaef65e0c665daadf848761d560e446d350d3d",
        "version" : "1.22.4"
      }
    },
    {
      "identity" : "loggerapi",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Kitura/LoggerAPI.git",
      "state" : {
        "revision" : "4e6b45e850ffa275e8e26a24c6454fd709d5b6ac",
        "version" : "2.0.0"
      }
    },
    {
      "identity" : "lottie-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/airbnb/lottie-ios",
      "state" : {
        "revision" : "7fe8b6f697ae7db4bf0df270119592cb5d502848",
        "version" : "4.4.1"
      }
    },
    {
      "identity" : "nanopb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/nanopb.git",
      "state" : {
        "revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1",
        "version" : "2.30910.0"
      }
    },
    {
      "identity" : "promises",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/promises.git",
      "state" : {
        "revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac",
        "version" : "2.4.0"
      }
    },
    {
      "identity" : "rxbus-swift",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/iamport/RxBus-Swift",
      "state" : {
        "revision" : "24458425acf1da825a8e7587231052cef90c3a6b",
        "version" : "1.3.5"
      }
    },
    {
      "identity" : "rxswift",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/ReactiveX/RxSwift.git",
      "state" : {
        "revision" : "9dcaa4b333db437b0fbfaf453fad29069044a8b4",
        "version" : "6.6.0"
      }
    },
    {
      "identity" : "snapkit",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/SnapKit/SnapKit",
      "state" : {
        "revision" : "2842e6e84e82eb9a8dac0100ca90d9444b0307f4",
        "version" : "5.7.1"
      }
    },
    {
      "identity" : "socket.io-client-swift",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/socketio/socket.io-client-swift",
      "state" : {
        "revision" : "175da8b5156f6b132436f0676cc84c2f6a766b6e",
        "version" : "16.1.0"
      }
    },
    {
      "identity" : "starscream",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/daltoniam/Starscream",
      "state" : {
        "revision" : "ac6c0fc9da221873e01bd1a0d4818498a71eef33",
        "version" : "4.0.6"
      }
    },
    {
      "identity" : "swift-jwt",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Kitura/Swift-JWT.git",
      "state" : {
        "revision" : "f68ec28fbd90a651597e9e825ea7f315f8d52a1f",
        "version" : "4.0.1"
      }
    },
    {
      "identity" : "swift-log",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-log.git",
      "state" : {
        "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5",
        "version" : "1.5.4"
      }
    },
    {
      "identity" : "swift-protobuf",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-protobuf.git",
      "state" : {
        "revision" : "65e8f29b2d63c4e38e736b25c27b83e012159be8",
        "version" : "1.25.2"
      }
    },
    {
      "identity" : "then",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/devxoul/Then.git",
      "state" : {
        "revision" : "e421a7b3440a271834337694e6050133a3958bc7",
        "version" : "2.7.0"
      }
    },
    {
      "identity" : "toast-swift",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/scalessec/Toast-Swift",
      "state" : {
        "revision" : "404ac98e0080a3d9f0630e007838284e04528bcd",
        "version" : "5.1.0"
      }
    }
  ],
  "version" : 3
}

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
PODS:
  - naveridlogin-sdk-ios (4.2.1)

DEPENDENCIES:
  - naveridlogin-sdk-ios

SPEC REPOS:
  trunk:
    - naveridlogin-sdk-ios

SPEC CHECKSUMS:
  naveridlogin-sdk-ios: d5f9d92905a7e964976ebfdd665bee5fb75845c5

PODFILE CHECKSUM: 5cf0eb1aa4a016421be0d1c38aef98816f2e6483

COCOAPODS: 1.12.0
@google-oss-bot
Copy link

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

@morganchen12
Copy link
Contributor

I suspect Dynamic Links is being invoked from a background thread since it shouldn't crash immediately upon initialization (see the sample app for an example). However, Dynamic Links is deprecated, so please migrate off of dynamic links.

@morganchen12 morganchen12 reopened this Mar 7, 2024
@morganchen12 morganchen12 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2024
@yyyng2
Copy link
Author

yyyng2 commented Mar 8, 2024

@morganchen12 https://forums.developer.apple.com/forums/thread/747188 I think problem with iOS 17.4. Thank you for attention!

P.S.
This is the way I tried to solve the issue.
I attempted clean builds until the build succeeded or disconnecting the device after the build.
Disconnecting the device after the build always resulted in the app running successfully.
However, I needed logs in the case of disconnecting the device after the build.
Therefore, I attempted to print the logs using toast messages.
As a last resort, downgrade to version 15.2 of Xcode and version 17.2 of simulator.

@firebase firebase locked and limited conversation to collaborators Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants