-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Problem to build video_room sample V2 #44
Comments
Here i guess you are using m1 mac?
…On Thu, 18 Nov, 2021, 5:28 am Renan Prata, ***@***.***> wrote:
Hi all,
I tried to run video_room example for Android and Ios. In Android system,
my sample build, however in Ios, but I get this error:
Xcode's output:
↳
warning: [CP] Unable to find matching .xcframework slice in 'ios-x86_64-simulator ios-arm64' for the current build architectures (arm64 x86_64 i386).
Command CompileSwiftSources failed with a nonzero exit code
/Users/renanprata/Projects/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.6.10+hotfix.1/ios/Classes/FlutterRTCMediaStream.m:3:9: fatal error: 'WebRTC/WebRTC.h'
file not found
#import <WebRTC/WebRTC.h>
^~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in
the Runner editor. (in target 'Runner' from project 'Runner')
/Users/<>/Projects/poc_flutter_janus/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
of supported deployment target versions is 9.0 to 15.2.99. (in target 'Libyuv' from project 'Pods')
Follow my commands steps:
rm -rf ios
flutter clean
flutter create .
flutter pub get
flutter run
I also uncomment line platform :ios, '9.0' and update to version 10. Then
I ran pod install. This problems still happen :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#44>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLGDV65VLTRHGRNOZPKVCDUMQ6SLANCNFSM5IIIXOHA>
.
|
@shivanshtalwar0 ,
Do you have some idea about that? Follow my cocoapod version: |
Which branch are you using? You should use v2 or v2_dev
…On Thu, 18 Nov, 2021, 5:08 pm Renan Prata, ***@***.***> wrote:
@shivanshtalwar0 <https://github.com/shivanshtalwar0> ,
I'm using intel mac (2020). I noticed that WebRTC soft links were wrong
and I re-created manually. After that, these errors I had new problems:
warning: [CP] Unable to find matching .xcframework slice in 'ios-x86_64-simulator ios-arm64' for the current build architectures (arm64 x86_64 i386).
/Users/renanprata/Projects/flutter/.pub-cache/hosted/pub.dartlang.org/janus_client-2.0.0-beta/ios/Classes/FlutterJanusClientPlugin.m:8:9: fatal error:
'flutter_janus_client-Swift.h' file not found
#import "flutter_janus_client-Swift.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
/Users/renanprata/Projects/poc_flutter_janus/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
of supported deployment target versions is 9.0 to 15.2.99. (in target 'Libyuv' from project 'Pods')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in
the Runner editor. (in target 'Runner' from project 'Runner')
Do you have some idea about that? flutter_janus_client-Swift.h was not
generated in build.
Follow my cocoapod version: 1.11.2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLGDVYYOBRXH5OPN7QEA7LUMTQUZANCNFSM5IIIXOHA>
.
|
No,
Is there a pub package with |
That's why use beta release your problem will subside
…On Thu, 18 Nov, 2021, 5:33 pm Renan Prata, ***@***.***> wrote:
No,
I'm using pub package:
janus_client:
dependency: "direct main"
description:
name: janus_client
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0-beta"
Is there a pub package with v2_dev? I created my application standalone
and import this package.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLGDV4QMSHK2MPLUU2U5R3UMTTRFANCNFSM5IIIXOHA>
.
|
One more information for other people with the same problem (it worked for me):
uncomment line platform :ios, '9.0' and update minimum version (depends on your applicatio). Open XCode and build it in application. After that this problem could be resolved. |
Hi all,
I tried to run
video_room
example for Android and Ios. In Android system, my sample build, however in Ios, but I get this error:Follow my commands steps:
I also uncomment line
platform :ios, '9.0'
and update to version 10. Then I ranpod install
. This problems still happen :(The text was updated successfully, but these errors were encountered: