apivideo/api.video-reactnative-live-stream

Example app not working on macOS 13 Ventura, Xcode 14, iPhone with iOS 16

clacladev opened this issue · 2 comments

Describe the bug
I am trying to run the the example app on device but I am failing with error Failed to build iOS project and a lot of errors like warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99

To Reproduce
Steps to reproduce the behavior:

  1. In the project folder I run yarn
  2. yarn example ios --device iPhonezee (my iPhone device)

And I get errors regarding the pod dependencies minimum version:

$ yarn --cwd example ios --device iPhonezee
$ react-native run-ios --device iPhonezee
info Found Xcode workspace "Example.xcworkspace"
info Building (using "xcodebuild -workspace Example.xcworkspace -configuration Debug -scheme Example -destination id=00008101-00044C162684001E")
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening Example.xcworkspace.
Command line invocation:
    /Applications/Xcode_14.app/Contents/Developer/usr/bin/xcodebuild -workspace Example.xcworkspace -configuration Debug -scheme Example -destination id=00008101-00044C162684001E

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Prepare packages

Computing target dependency graph and provisioning inputs

Create build description
Build description signature: bee723534211d98cef7253eb80756ead
Build description path: /Users/claudio/Library/Developer/Xcode/DerivedData/Example-fvizzzwihcblhzdgbmhfljdbmehx/Build/Intermediates.noindex/XCBuildData/bee723534211d98cef7253eb80756ead-desc.xcbuild

note: Building targets in dependency order
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper-Folly' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'SocketRocket' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'YogaKit' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'CocoaAsyncSocket' from project 'Pods')
warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Example' from project 'Example')
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Example' from project 'Example')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'FlipperKit' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.4, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper-PeerTalk' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'fmt' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper-Boost-iOSX' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper-DoubleConversion' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper-RSocket' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'RNVectorIcons' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'libevent' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: error: Signing for "React-Core-AccessibilityResources" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'React-Core-AccessibilityResources' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper-Glog' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'OpenSSL-Universal' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'Flipper-Fmt' from project 'Pods')
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'RCT-Folly' from project 'Pods')

** BUILD FAILED **

NOTE: if I run on the simulator with yarn example ios it works as expected.

Expected behavior
The example app should run on device.

Smartphone (please complete the following information):

  • Device: iPhone 12 Pro Max
  • OS: 16.1.1
  • Browser Safari
  • Version 16.1
  • ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin22]
  • node v18.9.0
  • Xcode 14

Hi,

warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' this is a warning not an error.
The real error is:
/Users/claudio/Downloads/api.video-reactnative-live-stream/example/ios/Pods/Pods.xcodeproj: error: Signing for "React-Core-AccessibilityResources" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'React-Core-AccessibilityResources' from project 'Pods')

Please use your apple developer account to sign the project.
See https://github.com/apivideo/api.video-reactnative-live-stream#ios

Thank you very much for the guidance. I genuinely missed to sign these pods... It worked. Thanks