-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS build fails on XCode 16 when using use_frameworks! :linkage => :static #125
Comments
@16thomas Thank you for posting your issue. We have added support for Thank you in advance. |
@bandit-ibayashi Thanks for looking into the issue.
It still builds fine with XCode 15. But not building on XCode 16. |
@16thomas Thank you for letting us know the version of |
+1. I have the same errors on 1.7.0 version of the library when building with xcode 16. Do you have an estimated timeframe for when the issue will be resolved? |
@16thomas @lukhol
|
@can-miki I'm not able to find this |
@16thomas Thank you for your confirmation. I found there are some environments where this error does not occur. So could you first try the version of React Native used, 0.75.4, and see if build errors occur? In my confirmation, I used our example SDK version 1.7.0.
Then change ‘react-native’ in dependencies in package.json to ‘0.75.4’, and also make other libraries up-to-date. See the following image for details. After following the Usage instructions and executing the necessary commands, the project in the iOS folder was run and built in Xcode 16. Thank you in advance. |
@bandit-ibayashi The build is still failing for me on |
Thank you for letting us know your situation. These errors did not occur in our environment, so I assume there is some difference. The results of the % npx react-native info
System:
OS: macOS 14.6.1
CPU: (8) arm64 Apple M2
Memory: 93.52 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 21.7.3
path: /usr/local/bin/node
Yarn:
version: 1.22.22
path: /usr/local/bin/yarn
npm:
version: 10.9.0
path: /usr/local/bin/npm
Watchman:
version: 2024.07.01.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.0
- iOS 18.0
- macOS 15.0
- tvOS 18.0
- visionOS 2.0
- watchOS 11.0
Android SDK: Not Found
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11330709
Xcode:
version: 16.0/16A242d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 22.0.1
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.75.4
wanted: 0.75.4
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false |
Thanks @bandit-ibayashi, waiting for some resolution. |
Is there any update on this? I was just upgrading our app to RN 0.75.4 and encountered the same problem. Podfile:
|
Any updates on this? Unfortunately, this issue prevents us from updating the app, which is crucial.
|
Minimal reproduction steps:
Once again
This issue is becoming increasingly urgent. |
Below
|
Description
iOS build fails on XCode 16 when using
use_frameworks! :linkage => :static
Your device where the bug occurs
Device:
iPhone 13
OS:
iOS 18.0
Version
1.7.0
Your development environment
ProductName: macOS
ProductVersion: 15.0
BuildVersion: 24A335
Also, the result of executing the command
npx react-native info
.System:
OS: macOS 15.0
CPU: (8) x64 Apple M2
Memory: 40.99 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.17.0
path: ~/.nvm/versions/node/v20.17.0/bin/node
Yarn:
version: 3.6.4
path: ~/.nvm/versions/node/v20.17.0/bin/yarn
npm:
version: 10.8.2
path: ~/.nvm/versions/node/v20.17.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.14.3
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.0
- iOS 18.0
- macOS 15.0
- tvOS 18.0
- visionOS 2.0
- watchOS 11.0
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.19072.14.2412.12360217
Xcode:
version: 16.0/16A242d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.16.1
path: /usr/bin/javac
Ruby:
version: 3.3.5
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
To Reproduce
Steps to reproduce the behavior:
use_frameworks! :linkage => :static
insidetarget 'example' do
block in starting.pod install
Expected behavior
Should build successfully.
Screenshots
Additional context
Working fine if not using
use_frameworks! :linkage => :static
The text was updated successfully, but these errors were encountered: