Skip to content

[BUG] Linking fails on macOS 15 arm64 with Xcode 16.4 #290

@eithe

Description

@eithe

📋 Description

Hi and thanks for creating this!

When building for iOS in our ci/cd pipeline with macOS 15 and Xcode 16.4 I get the following error during the linking process. Please note that building locally (macOS 26, Xcode 26.2) works.

...
▸ Compiling MyApp_vers.c
▸ Compiling MapBridge.m
▸ Linking MyApp
⚠️  ld: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
⚠️  ld: Could not find or use auto-linked framework 'UIUtilities': framework 'UIUtilities' not found
⚠️  ld: Could not find or use auto-linked framework '_LocationEssentials': framework '_LocationEssentials' not found
⚠️  ld: Could not parse or use implicit file '/Applications/Xcode_16.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore.tbd': cannot link directly with 'SwiftUICore' because product being built is not an allowed client of it

❌  ld: symbol(s) not found for architecture arm64



❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)


** ARCHIVE FAILED **

Any suggestions on what I can try? Unfortunately Azure Devops does not yet include build agents with macOS 26.

🔄 Steps to Reproduce

Setup the project as per the guide, and try to build on macOS 15 Xcode 16.4

/usr/bin/xcodebuild -sdk iphoneos -configuration Release -workspace ./MyApp.xcworkspace -scheme Release clean archive

🤔 Expected Behavior

It should build

😲 Actual Behavior

Build fails

RNRepo version (and/or @rnrepo/expo-config-plugin version)

0.3.0

React Native version

0.81.5

Gradle version

8.14.3

Operating System

macOS 15

➕ Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions