-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Unable to build ios debug 0.68-rc.3 (intel hardware) #33451
Comments
You probably forgot to modify the app delegate when upgrading as the selector |
That is what I fell prey to. Taking a closer look at that upgrade helper tool (link) helped me. I changed
to
In AppDelegate.m. Build was successful after this change. |
Thanks @jakecronin, this worked for me. First time I've attempted an RN upgrade. That tools is a great help when 3-way merges are required |
@jakecronin : worked for me, thank you ! |
Closing as this was resolved 👍 |
@jakecronin thanks a lot |
@jakecronin working .. thanks |
@jakecronin thanks 👏 |
Also * Fixed RN debug build process per facebook/react-native#33451 (comment) * Removed unecessary change to the Podfile * Tried to make Fastfile find an editor in a more robust way
New Version
0.68-rc.3
Old Version
0.67.3
Build Target(s)
iOS simulator / XCode debug
Output of
react-native info
react-native info
warn Package link-preview-js has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/raeez/persona-client/Persona/node_modules/link-preview-js/package.json
info Fetching system and libraries information...
(node:48285) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use
node --trace-warnings ...
to show where the warning was created)System:
OS: macOS 12.1
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 6.29 GB / 64.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 25, 28, 29, 31
Build Tools: 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 31.0.0
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7784292
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 15.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: >=17.0.1 => 17.0.2
react-native: >=0.68.0-rc.3 => 0.68.0-rc.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Issue and Reproduction Steps
reproduce
npx react-native run-ios
or
yarn ios
or
build with xcode any debug target
description of issue
building via command line:
building via xcode:
ARC Semantic Issue
/Users/raeez/persona-client/Persona/ios/Persona/AppDelegate.m:59:72: No visible @interface for 'RCTBundleURLProvider' declares the selector 'jsBundleURLForBundleRoot:fallbackResource:'
context
attempting to build a long-running project that successfully builds on 0.64, 0.65, 0.66 & 0.67
Note that release build on iOS works, and debug and release both work on android
also able to build react-native init NewProject --version 0.68.0-rc.3
The text was updated successfully, but these errors were encountered: