-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
First time build issue #6158
Comments
I am on the same issue. After the xcode update, Can you share the contents that have been confirmed so far? xcode : Version 14.3 (14E222b) |
@YDisa I haven't made any progress so far |
I am on the same issue too.
|
Temporary fix is to click on the error to auto navigate to the file and line of code, and make the fix as suggested |
I tried fixing the issue by changing However, I encountered another error: .../Pods.build/Debug-iphonesimulator/YogaKit.build/Objects-normal/arm64/YogaKit.swiftinterface:6:19: error: underlying Objective-C module 'YogaKit' not found
@_exported import YogaKit Do you have any suggestions for me? |
Mac OS: Ventura 13.2.1 Same issue here, fixed the | -> || but got YogaKit not found issue like @wantaekchoi |
Bumping this issue for support. I've tried the suggestions in this post and #6418 Does anybody have any work-arounds to temporarily get this working on an iphone with the latest iOS version? |
We are looking into the issue. The current recommendation is to revert back to Xcode 14.2. @leotm I know you were looking into this issue. Did you have any progress? |
thanks for looking into this ^ ran into similar (looking slightly ahead in the future) tl;dr so far
next steps
|
Getting same issue in Xcode 15 beta 5 |
notes from fresh investigation on download Xcode 15b8 (3.35 GB), extract, building on: iPhone 14 Pro (iOS 16.1) and iOS SE (3rd generation) (iOS 15.4) build error: note similar issue from the error bump bump noting similar issue from the error update Pods config to fix now we get our original error i think at this point the next safest best would be to upgrade to RN 0.71.13 (cc @jpcloureiro) and re-test then if to no avail repro on RN 0.71.13 minimising deps also curious @cipolleschi if there's anything obvious we're missing update: nvm it's an easy upgrade (noting only update: ran another fresh build without flipper and the original error no longer persists 🎉 but now onto a new error with Sentry not fixed bumping @sentry deps since no Pod lockfile RNSentry/Sentry/SentryPrivate changes TODO bump draft pr |
not fixed bumping @sentry deps since no Pod lockfile RNSentry/Sentry/SentryPrivate changes TODO bump node_modules/@sentry/react-native > s.ios.deployment_target = "11.0" to 12.0 I have try to do this last step but not working, where i need change IPHONEOS_DEPLOYMENT_TARGET = 11.0? |
thanks for checking ^ was referring to and noticed nb: also unversioned |
in the draft pr spotted conflicts to resolve related to Sentry, so reverted my changes (a7ec533 interestingly no pod changes at the time on Xcode 15 beta 8) and pulled in since then noticing on Xcode 15 stable is no longer fixed by facebook/react-native#37748 (comment), but updating then 0d199d7 and acb6d40 needed reverting to fix CI (postinstall after that ran into another error #7114 (comment) fixed in a09d517 but then Branch and MixPanel now encountering the same SentryPrivate' not found error, but this time with the warning has been resolved |
thanks for checking again @claudioitalian12 ^ raised the issue earlier and got to a working solution thanks to @krystofwoldrich detailed here getsentry/sentry-react-native#3322 (comment) with final few TODO's noted we have remaining to tackle |
**Description** Xcode 14.2+ support (notable Xcode 15) - #6158 (comment) TODO - [x] Fix Branch build error - Fork Branch repo, bump `IPHONEOS_DEPLOYMENT_TARGET`s from 8 to 12, update git submodule - [x] Fix MixPanel build error - Fork MixPanel repo, `IPHONEOS_DEPLOYMENT_TARGET`s from 8 to 12, update git submodule - [x] Upgrade RN from 0.71.6 to 0.71.13 - [x] Refactor Podfile - [x] Raise/fix Sentry build issue - [x] Update `react-native.config.js` to support `NO_FLIPPER` env var - [x] Fix Yoga/YogaKit build error (disable Flipper natively) - [x] Fix Xcode 15 build error: Unable to load ...frameworks-Debug-input-files.xcfilelist - [x] Bump BitRise stack from osx-xcode-14.2.x-ventura to osx-xcode-15.0.x - [x] Upgrade RN from 0.71.13 to 0.71.14 (for additional Xcode 15 compat) - [x] Upgrade Detox for additional Xcode 15 compat - [x] Fix BitRise osx-xcode-15.0.x smoke tests - Bump Detox config iOS sim from iPhone 12 Pro to iPhone 13 Pro - [x] Test older Xcode 14.2 - [x] Disable Flipper in release-mode - [x] Fix Flipper debug-mode tech debt - [x] Reenable Flipper - [x] Update build scripts for iPhone 13 Pro - [x] Update docs for Xcode 15.0.1 and iPhone 13 Pro - [x] Bump Browserstack iPhone 12 Pro devices to iPhone 13 Pro - [x] Remove stale Device util static method isIphone12 - [x] Bump metro devDep from 0.72.3 to 0.73.10 - [x] Test i386 arch (comes with iPhone 15, requires creating iPhone 13 Pro sim) _Xcode 15 beta 8 tested up to a7ec533, then Xcode 15 stable since_ `start:ios` must be run before running via Xcode 15, or `cp node_modules/@metamask/mobile-provider/dist/index.js app/core/InpageBridgeWeb3.js` can optionally be run _Xcode updates: https://developer.apple.com/documentation/updates/xcode_ **Issue** fixes #6158 and brew warning⚠️ <img width="576" alt="Xcode 14 2 warning" src="https://github.com/MetaMask/metamask-mobile/assets/1881059/059988b2-e90c-4400-8f6a-e015391d4d48"> --------- Co-authored-by: João Loureiro <[email protected]> Co-authored-by: legobeat <[email protected]>
Description
Was building locally for the first time today but am running into issues that I'm looking to see if others have also encountered recently.
Technical Details
Environment
It seems the newest version of Ventura has this issue where the arc folder is no longer present where expected, here’s a relevant thread with the resolution I’ve followed (copy previous libarclite_iphonesimulator.a file into new
arc
folder): https://developer.apple.com/forums/thread/727527yoga
in React Native 0.66.5:This issue was raised in early February tracked here in FB’s RN repo: facebook/yoga#1224
The issue was fixed in April 2022, but versions of RN > 0.66. Should developers instead use an older version of XCode assuming the intended Metamask RN version is 0.66.5?
Alternative
I also tried uninstalling Xcode 14 and installing Xcode 13 instead, but it is incompatible with Ventura OS. Does anybody else see any of the above issues when trying to build on a clean machine and test on an IOS simulator?
The text was updated successfully, but these errors were encountered: