Skip to content

Xcode: Linker warnings #14285

@hbugdoll

Description

@hbugdoll

I have searched and made sure there are no existing issues for the issue I am filing

  • I have searched the existing issues

Description

Running a simple ti build -p ios triggers 2 linker warnings for me:

ld: warning: ignoring duplicate libraries: '-licucore', '-lz'
ld: warning: search path '/Users/.../build/iphone/lib' not found

The responsible command is (omissions ... for better readability):

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Xlinker
... -L/Users/.../build/iPhone/lib ...
... -weak_framework JavaScriptCore -lz -licucore -lz -licucore ...

Expected Behavior

No linker warnings

Actual behavior

2 linker warnings

Reproducible sample

Steps to reproduce

  1. Set Log-Level to trace.
  2. Run ti build -p ios.

Platform

iOS

SDK version you are using

13.0.0 (Xcode 16.2)

Alloy version you are using

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageThis issue hasn't been reviewed by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions