Xcode 27 beta 3 linker warning: points before section start and the target atom is ambiguous

I am testing an existing iOS app with Xcode 27 beta 3. The build succeeds, but I am seeing a new linker warning from Swift Package product targets.

ld: warning: address=0xF496F points before section(28) start and the target atom is ambiguous

Environment:

  • Xcode 27.0 beta 3
  • Build version: 27A5218g
  • Platform: iOS Simulator
  • Configuration: Debug
  • Project type: iOS app with Swift Package dependencies, also embedding a watchOS app

Build command:

DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer \
xcodebuild -project MyWeight/MyWeight.xcodeproj \
  -scheme MyWeight \
  -configuration Debug \
  -destination "generic/platform=iOS Simulator" \
  build

The build succeeds:

** BUILD SUCCEEDED **

Warnings:

MyWeight/MyWeightKit/Package.swift: MyWeightKit-watchOS-product: ld: warning: address=0xF493F points before section(28) start and the target atom is ambiguous

MyWeight/MyWeightKit/Package.swift: MyWeightKit-iOS-product: ld: warning: address=0xF496F points before section(28) start and the target atom is ambiguous

Both warnings appear during the link step for Swift Package product framework targets.

Is this a known issue in Xcode 27 beta 3? Does it indicate a real issue in the produced simulator binary, or is it likely a linker/debug-info diagnostic?

Answered by DTS Engineer in 896806022

You should definitely file a bug about this so that the linker team can investigate. If you’re able to include a test project that illustrates the issue, that’d be fab. If not, please grab a linker debug snapshot, as explained here, and include that.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

You should definitely file a bug about this so that the linker team can investigate. If you’re able to include a test project that illustrates the issue, that’d be fab. If not, please grab a linker debug snapshot, as explained here, and include that.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@DTS Engineer

Who can refuse Quinn “The Eskimo!”? 😉

FB

FB23632856

Repo

I have a minimal Swift Package that reproduces a linker warning in Xcode 27 beta.

https://github.com/gongzhang/Xcode27LinkerWarningRepro

Reproduce

DEVELOPER_DIR=/Applications/Xcode-beta.app/Contents/Developer \
xcodebuild -scheme Foo \
  -configuration Debug \
  -destination "generic/platform=iOS Simulator" \
  build

Warning

Foo-product: ld: warning: address=0x... points before section(...) start and the target atom is ambiguous

Xcode 27 beta 3 linker warning: points before section start and the target atom is ambiguous
 
 
Q