Skip to content
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

Closed
raeez opened this issue Mar 18, 2022 · 8 comments
Closed

Unable to build ios debug 0.68-rc.3 (intel hardware) #33451

raeez opened this issue Mar 18, 2022 · 8 comments
Labels
Platform: iOS iOS applications. Resolution: Fixed A PR that fixes this issue has been merged. Type: Upgrade Issue Issues reported from upgrade issue form Version: unspecified No version information could be extracted

Comments

@raeez
Copy link

raeez commented Mar 18, 2022

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:

cd /Users/raeez/persona-client/Persona/ios
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios11.4-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path\=/Users/raeez/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/raeez/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG\=1 -DCOCOAPODS\=1 -DDEBUG\=1 -DSD_WEBP\=1 -DHERMES_ENABLE_DEBUGGER\=1 -DDEBUG\=1 -DPB_FIELD_32BIT\=1 -DPB_NO_PACKED_STRUCTS\=1 -DPB_ENABLE_MALLOC\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Index/DataStore -iquote /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Persona-generated-files.hmap -I/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Persona-own-target-headers.hmap -I/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Persona-all-non-framework-target-headers.hmap -ivfsoverlay /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/all-product-headers.yaml -iquote /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Persona-project-headers.hmap -iquote /Users/raeez/persona-client/Persona/ios/libwebp/src -I/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator/include -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/BVLinearGradient -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/BoringSSL-GRPC -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/DoubleConversion -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FBLazyVector -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Firebase -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseABTesting -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseAuth -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseCore -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseCoreDiagnostics -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseCrashlytics -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseDatabase -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseFirestore -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseFunctions -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseInstallations -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseMessaging -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebasePerformance -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/FirebaseRemoteConfig -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/GTMSessionFetcher -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/GoogleDataTransport -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/GoogleUtilities -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-Camera -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-Contacts -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-LocationAccuracy -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-LocationAlways -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-LocationWhenInUse -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-MediaLibrary -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-Microphone -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-Motion -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-Notifications -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-PhotoLibrary -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-PhotoLibraryAddOnly -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-Reminders -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-Siri -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-SpeechRecognition -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Permission-StoreKit -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/PromisesObjC -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RCT-Folly -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RCTRequired -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNAudioRecorderPlayer -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNCMaskedView -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNCPicker -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNDeviceInfo -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBAnalytics -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBApp -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBAuth -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBCrashlytics -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBDatabase -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBFirestore -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBFunctions -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBMessaging -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFBPerf -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFS -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNFastImage -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNGestureHandler -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNImageColors -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNNotifee -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNPermissions -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNReactNativeHapticFeedback -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNReanimated -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNScreens -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNSketchCanvas -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNTextSize -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/RNVectorIcons -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-Codegen -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-Core -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-RCTBlob -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-RCTText -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-callinvoker -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-cxxreact -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-hermes -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-jsi -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-jsinspector -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-logger -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-perflogger -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/ReactCommon -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/ReactNativeAudioToolkit -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/SDWebImage -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/SDWebImageWebPCoder -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/Yoga -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/abseil -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/fmt -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/gRPC-C++ -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/gRPC-Core -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/glog -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/hermes-engine -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/leveldb-library -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/libevent -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/libwebp -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/nanopb -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-agora -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-appearance -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-blur -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-cameraroll -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-date-picker -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-document-picker -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-get-random-values -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-image-picker -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-pager-view -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-safe-area-context -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-slider -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-video -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/react-native-webview -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/rn-fetch-blob -I/Users/raeez/persona-client/Persona/ios/Pods/DoubleConversion -I/Users/raeez/persona-client/Persona/ios/Pods/Firebase/CoreOnly/Sources -I/Sources/FBLPromises/include -I/Users/raeez/persona-client/Persona/ios/Pods/boost -I/Users/raeez/persona-client/Persona/ios/Pods/boost -I/Users/raeez/persona-client/Persona/ios/Pods/boost-for-react-native -I/Users/raeez/persona-client/Persona/ios/Pods/glog -I/Users/raeez/persona-client/Persona/ios/Pods/RCT-Folly -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React-hermes -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/hermes-engine -I/Users/raeez/persona-client/Persona/ios/Pods/Headers/Private/React-Core -I/include -I/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/DerivedSources-normal/x86_64 -I/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/DerivedSources/x86_64 -I/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/DerivedSources -F/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator -F/Users/raeez/persona-client/Persona/ios/Pods/AgoraRtcEngine_iOS -F/Users/raeez/persona-client/Persona/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/raeez/persona-client/Persona/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/raeez/persona-client/Persona/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal -F/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport -F/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport -F/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport -F/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/hermes-engine -fmodule-map-file\=/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator/RNImageColors/RNImageColors.modulemap -fmodule-map-file\=/Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Products/Debug-iphonesimulator/react-native-agora/react_native_agora.modulemap -fmodule-map-file\=/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/React/React-Core.modulemap -fmodule-map-file\=/Users/raeez/persona-client/Persona/ios/Pods/Headers/Public/yoga/Yoga.modulemap -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DRNVERSION\=68 -MMD -MT dependencies -MF /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Objects-normal/x86_64/AppDelegate.d --serialize-diagnostics /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Objects-normal/x86_64/AppDelegate.dia -c /Users/raeez/persona-client/Persona/ios/Persona/AppDelegate.m -o /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Objects-normal/x86_64/AppDelegate.o -index-unit-output-path /Persona.build/Debug-iphonesimulator/Persona.build/Objects-normal/x86_64/AppDelegate.o
/Users/raeez/persona-client/Persona/ios/Persona/AppDelegate.m:59:72: error: no visible @interface for 'RCTBundleURLProvider' declares the selector 'jsBundleURLForBundleRoot:fallbackResource:'
  return [NSURL URLWithString:[[[[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil] absoluteString] stringByAppendingString:@"&inlineSourceMap=true" ]];
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

** BUILD FAILED **


The following build commands failed:
	CompileC /Users/raeez/Library/Developer/Xcode/DerivedData/Persona-dwzltzjsvxyrulginixekhctuwxg/Build/Intermediates.noindex/Persona.build/Debug-iphonesimulator/Persona.build/Objects-normal/x86_64/AppDelegate.o /Users/raeez/persona-client/Persona/ios/Persona/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Persona' from project 'Persona')
(1 failure)

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

@raeez raeez added Needs: Triage 🔍 Type: Upgrade Issue Issues reported from upgrade issue form labels Mar 18, 2022
@github-actions github-actions bot added the Version: unspecified No version information could be extracted label Mar 18, 2022
@raeez raeez changed the title Unable to build ios debug 0.68-rc.3 Unable to build ios debug 0.68-rc.3 (intel hardware) Mar 18, 2022
@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Mar 18, 2022
@danilobuerger
Copy link
Contributor

You probably forgot to modify the app delegate when upgrading as the selector jsBundleURLForBundleRoot:fallbackResource: no longer exists on RCTBundleURLProvider (as the error message told you).

@jakecronin
Copy link

That is what I fell prey to.

Taking a closer look at that upgrade helper tool (link) helped me.

I changed

  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];

to

return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];

In AppDelegate.m. Build was successful after this change.

@howieweiner
Copy link

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

@tatiana-lonestone
Copy link

@jakecronin : worked for me, thank you !

@cortinico
Copy link
Contributor

Closing as this was resolved 👍

@cortinico cortinico added Resolution: Fixed A PR that fixes this issue has been merged. and removed Needs: Triage 🔍 labels Apr 11, 2022
@iwalker7
Copy link

@jakecronin thanks a lot

@rezq2009
Copy link

@jakecronin working .. thanks

@brunocomunicain
Copy link

@jakecronin thanks 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: iOS iOS applications. Resolution: Fixed A PR that fixes this issue has been merged. Type: Upgrade Issue Issues reported from upgrade issue form Version: unspecified No version information could be extracted
Projects
None yet
Development

No branches or pull requests

10 participants