Skip to content

[🔥 iOS Build] I can't build on react-native new arch Swift project #622

@ertucaglar

Description

@ertucaglar

I want to use AppsFlyer for the first time in my react-native project, but when I add the native configs required for DeepLinking to my project, my project does not build.

Caution

Type of expression is ambiguous without a type annotation

Report

Plugin Version

"react-native-appsflyer": "^6.16.2"

On what Platform are you having the issue?

iOS

What did you do?

yarn add react-native-appsflyer
pod install
Apply DeepLink configs -> https://dev.appsflyer.com/hc/docs/rn_deeplinkintegrate#ios-deeplink-setup

What did you expect to happen?

Build iOS Project

What happened instead?

I can't build iOS project and throw exception

Caution

Type of expression is ambiguous without a type annotation

Please provide any other relevant information.

Image
System:
  OS: macOS 15.5
  CPU: (14) arm64 Apple M3 Max
  Memory: 437.59 MB / 36.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 23.11.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 4.9.1
    path: /usr/local/bin/yarn
  npm:
    version: 10.9.2
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2025.04.14.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/lib/ruby/gems/3.4.0/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.4
      - iOS 18.4
      - macOS 15.4
      - tvOS 18.4
      - visionOS 2.4
      - watchOS 11.4
  Android SDK:
    API Levels:
      - "35"
    Build Tools:
      - 35.0.0
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.3 AI-243.25659.59.2432.13423653
  Xcode:
    version: 16.3/16E140
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.15
    path: /usr/bin/javac
  Ruby:
    version: 3.4.3
    path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 18.0.0
    wanted: 18.0.0
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.79.2
    wanted: 0.79.2
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions