skip to Main Content

After installing the new version of Xcode (15.0) with the flutter version 3.13.4 when I launch the debugging of an app the process is interrupted by the following error:

Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): B/BL out of range 135372772 (max +/-128MB) to ”

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)

Error launching application on iPhone

UPDATE
If I remove google_ml_kit from my project, error is resolving

2

Answers


  1. TARGETS –> Build Settings –> Other Linker Flags –> add -ld64
    enter image description here

    Login or Signup to reply.
  2. More detailed:

    1. Runner
    2. Targets -> Runner
    3. Build Settings
    4. Toggle to Levels
    5. Search for "other linker"
    6. Double tap in the "Runner" column, a list opens
    7. At the end of the list is a "+"
    8. Add "-ld64"

    enter image description here

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search