triniwiz / nativescript-webrtc

Apache License 2.0
42 stars 25 forks source link

Unable to apply changes on device: xxxx. Error is: Command xcodebuild failed with exit code 65. #55

Open javatutorials2016 opened 3 years ago

javatutorials2016 commented 3 years ago

Building project... Xcode build... /Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiver.swift:33:29: error: cannot assign to property: 'direction' is immutable _rtpTransceiver.direction = newValue.rtcValue


/Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiver.swift:76:25: error: value of type 'RTCRtpTransceiver' has no member 'stop'
        _rtpTransceiver.stop()
        ~~~~~~~~~~~~~~~ ^~~~
/Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiverDirection.swift:52:9: error: switch must be exhaustive
        switch direction {
        ^
/Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiverDirection.swift:52:9: note: do you want to add missing cases?
        switch direction {
        ^
/Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiver.swift:33:29: error: cannot assign to property: 'direction' is immutable
            _rtpTransceiver.direction = newValue.rtcValue
            ~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiver.swift:76:25: error: value of type 'RTCRtpTransceiver' has no member 'stop'
        _rtpTransceiver.stop()
        ~~~~~~~~~~~~~~~ ^~~~
/Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiverDirection.swift:52:9: error: switch must be exhaustive
        switch direction {
        ^
/Users/admin/angular/apps/my.app/platforms/ios/Pods/FancyWebRTC/Sources/FancyWebRTC/FancyRTCRtpTransceiverDirection.swift:52:9: note: do you want to add missing cases?
        switch direction {
        ^
note: Using new build system
note: Building targets in parallel
note: Using codesigning identity override: 
note: Planning build
note: Constructing build description
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 14.0.99. (in target 'IKEventSource' from project 'Pods')
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 14.0.99. (in target 'Starscream' from project 'Pods')
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 14.0.99. (in target 'SAMKeychain' from project 'Pods')
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 14.0.99. (in target 'NYTPhotoViewer-NYTPhotoViewer' from project 'Pods')
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 14.0.99. (in target 'MDFInternationalization' from project 'Pods')
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 14.0.99. (in target 'FLAnimatedImage' from project 'Pods')
warning: MobileCoreServices has been renamed. Use CoreServices instead. (in target 'FLAnimatedImage' from project 'Pods')
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 14.0.99. (in target 'NYTPhotoViewer' from project 'Pods')
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 14.0.99. (in target 'Socket.IO-Client-Swift' from project 'Pods')

### Make sure to check the demo app(s) for sample usage 

### Make sure to check the existing issues in this repository 

### If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.

### Which platform(s) does your issue occur on?
- iOS/Android/Both IOS
- iOS/Android versions 
- emulator or device. What type of device? emulator

### Please, provide the following version numbers that your issue occurs with:

- CLI: (run `tns --version` to fetch it) 7.0.11
- Cross-platform modules: (check the 'version' attribute in the
`node_modules/tns-core-modules/package.json` file in your project)
- Runtime(s): (look for the `"tns-android"` and `"tns-ios"` properties in the `package.json` file of your project)
- Plugin(s): (look for the version numbers in the `package.json` file of your
project and paste your dependencies and devDependencies here)
    "@angular/animations": "^10.1.5",
    "@angular/common": "~10.0.9",
    "@angular/compiler": "~10.0.9",
    "@angular/core": "~10.0.9",
    "@angular/forms": "~10.0.9",
    "@angular/localize": "~10.0.9",
    "@angular/platform-browser": "~10.0.9",
    "@angular/platform-browser-dynamic": "~10.0.9",
    "@angular/router": "~10.0.9",
    "@angular/service-worker": "~10.0.9",
    "@nativescript/angular": "~10.1.0",
    "@nativescript/camera": "^5.0.2",
    "@nativescript/core": "~7.0.0",
    "@nativescript/theme": "~2.5.0",
    "@ng-bootstrap/ng-bootstrap": "^7.0.0",
    "@schoolsquirrel/letter-avatar": "^1.0.0",
    "@stomp/ng2-stompjs": "^7.2.0",
    "@types/node-rsa": "^1.0.0",
    "@types/socket.io-client": "^1.4.33",
    "aes-js": "^3.1.2",
    "angularx-social-login": "^3.2.1",
    "bootstrap": "^4.5.0",
    "constants": "0.0.2",
    "core-js": "^3.6.5",
    "cryptico": "^1.0.2",
    "crypto": "^1.0.1",
    "crypto-module": "^1.3.19",
    "event-source-polyfill": "^1.0.16",
    "idb": "^5.0.4",
    "mediasoup-client": "^3.6.12",
    "moment": "^2.27.0",
    "nativescript-oauth2": "^3.0.1",
    "nativescript-ui-listview": "^9.0.2",
    "nativescript-videoplayer": "^5.0.1",
    "nativescript-webrtc-plugin": "^2.0.0-alpha.22",
    "ng-gapi": "0.0.93",

### Please, tell us how to recreate the issue in as much detail as possible. 
Describe the steps to reproduce it.

### Is there any code involved? 
 - provide a code example to recreate the problem 
 - (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.
abhayastudios commented 3 years ago

@triniwiz having the same issue on latest Xcode:

image