-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
❌ Build Fails on Intel Mac with Xcode 16: unsupported Swift architecture in BridgefySDK.xcframework
📝 Description
Hi Bridgefy team,
I'm encountering a build failure with the Bridgefy React Native SDK when running on Intel-based Macs with Xcode 16 and the iOS 18 simulators.
🔍 Environment
| Key | Value |
|---|---|
| React Native | 0.80.1 |
| React | 19.1.0 |
| Node.js | v20.19.0 |
| macOS | Ventura/Sonoma (Intel MacBook Pro 2018) |
| Xcode | 16 |
| Simulator | iPhone 16 Pro (iOS 18.0) |
| Bridgefy SDK | latest |
❗️Errors
When attempting to build using:
npx react-native run-ios --simulator="iPhone 16 Pro"I get:
BridgefySDK.framework/Headers/BridgefySDK-Swift.h:316:2: unsupported Swift architecture
#error unsupported Swift architectureAdditionally, there's a React Native New Architecture deprecation warning:
RCTDefaultReactNativeFactoryDelegate.mm: 'newArchEnabled' is deprecated: Use RCTIsNewArchEnabled instead [-Wdeprecated-declarations]🧠 Analysis
- The
.xcframeworkappears to lackx86_64slices required for Intel-based simulator support. - The SDK works fine on real devices but breaks during simulator builds on Intel Macs.
- The use of
newArchEnabledis deprecated in React Native 0.80+, and should be replaced withRCTIsNewArchEnabled.
🧪 Temporary Workarounds Tried
- Excluding x86_64 via Podfile (lets build continue but disables simulator testing):
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'BridgefySDK'
target.build_configurations.each do |config|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'x86_64'
end
end
end
end- Real device builds succeed with no issues.
🙏 Request
Please let us know if there's an update in progress, or any known workaround for simulator compatibility on Intel Macs. Thanks for maintaining this SDK!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working