-
Notifications
You must be signed in to change notification settings - Fork 10
Xcode 16+ build fail #33
Description
Environment
System:
OS: macOS 15.1
CPU: (10) arm64 Apple M4
Memory: 136.67 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.18.1
path: /usr/local/bin/node
Yarn:
version: 1.22.22
path: /usr/local/bin/yarn
npm:
version: 10.8.2
path: /usr/local/bin/npm
Watchman:
version: 2025.02.17.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.2
- iOS 18.2
- macOS 15.2
- tvOS 18.2
- visionOS 2.2
- watchOS 11.2
Android SDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.23726.103.2422.12816248
Xcode:
version: 16.2/16C5032a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 18.0.2
path: /usr/bin/javac
Ruby:
version: 2.7.5
path: /Users/soccern/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.9
wanted: 0.76.9
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
info React Native v0.79.3 is now available (your project is running on v0.76.9).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.79.3
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.76.9&to=0.79.3
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos"
Code
package.json
"@particle-network/rn-auth-core": "^2.0.6",
"@particle-network/rn-base": "^2.0.6",
"@particle-network/rn-connect": "^2.0.6",
"@particle-network/rn-wallet": "^2.0.6",
Podfile
pod "Thresh"
pod "ParticleMPCCore"
pod "ParticleAuthCore"
pod "AuthCoreAdapter"
pod 'ParticleNetworkBase'
pod 'ConnectCommon'
pod 'ConnectWalletConnectAdapter'
pod 'ConnectPhantomAdapter'
pod 'ConnectEVMAdapter'
pod 'ConnectSolanaAdapter'
pod 'ParticleConnect'
pod 'ParticleNetworkChains'
pod 'SwiftyUserDefaults', :git =>'https://github.com/SunZhiC/SwiftyUserDefaults.git', :branch => 'master'
pod 'WalletConnectSwiftV2', :git => 'https://github.com/SunZhiC/WalletConnectSwiftV2.git', :branch => 'particle'
pod 'SkeletonView', :git =>'https://github.com/SunZhiC/SkeletonView.git', :branch => 'main'
post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false,
# :ccache_enabled => true
)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
# This is necessary for Xcode 14, because it signs resource bundles by default
# when building for devices.
installer.target_installation_results.pod_target_installation_results
.each do |pod_name, target_installation_result|
target_installation_result.resource_bundle_targets.each do |resource_bundle_target|
resource_bundle_target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
Problem
This appears to be due to Xcode 16's adoption of Swift 6. However, since Apple now requires a minimum upload version of Xcode 16+, Xcode 15 is no longer supported. Are there any plans to upgrade the SDK?
