Giter Club home page Giter Club logo

Comments (9)

danielcrisp avatar danielcrisp commented on July 23, 2024 1

Thanks @hthetiot - upgrading my OS now 😬

I'll let you know if it helps.

from cordova-plugin-iosrtc.

danielcrisp avatar danielcrisp commented on July 23, 2024

It seems that doing this makes it build ok again:

$ cordova plugin remove cordova-plugin-iosrtc
$ cordova plugin add cordova-plugin-iosrtc
$ cordova platform remove ios --no-save
$ cordova platform add ios --no-save

$ cordova emulate ios

However, I've tried prefixing subsequent calls like this:

$ DISABLE_IOSRTC_HOOK=1 cordova emulate ios

But it still fails with the error above.

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on July 23, 2024

from cordova-plugin-iosrtc.

danielcrisp avatar danielcrisp commented on July 23, 2024

Nope, just yours. This is my package.json, if it helps:

{
  "name": "example",
  "displayName": "example",
  "version": "1.0.0",
  "description": "A sample Apache Cordova application that responds to the deviceready event.",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [
    "ecosystem:cordova"
  ],
  "author": "Apache Cordova Team",
  "license": "Apache-2.0",
  "devDependencies": {
    "cordova-android": "^10.1.1",
    "cordova-browser": "^6.0.0",
    "cordova-ios": "^6.2.0",
    "cordova-plugin-iosrtc": "^8.0.1"
  },
  "cordova": {
    "platforms": [
      "browser",
      "android",
      "ios"
    ],
    "plugins": {
      "cordova-plugin-iosrtc": {
        "MANUAL_INIT_AUDIO_DEVICE": "FALSE"
      }
    }
  }
}

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on July 23, 2024

@danielcrisp you should try on Xcode 13.2.1 (13C100), in any case updating to latest Xcode is required to be future proof or even work on latest ios sometime.

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on July 23, 2024

I do not reproduce this issue on MacOS 12.2.1 (21D62) using Xcode 13.2.1 (13C100) using following steps.
Using cordova 11.0.0 and cordova-ios@^6.2.0 on nodeJS v14.18.2.

$ cordova create MyApp
$ cd MyApp
$ cordova platform add ios
$ cordova plugin add cordova-plugin-iosrtc
$ cordova emulate ios

# Close the simulator, and then run the emulate command again
$ cordova emulate ios

Second time i run cordova emulate ios, it works and result only in "Simulator already running" error but display cordova app.

[ios-sim] device.name: iPhone 13
[ios-sim] device.runtime: iOS 15.2
device.id: 64599413-C4F6-420D-8470-9C6C9B9E7BAB
Error: Unhandled error. ('[ios-sim] Simulator already running.\n')

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on July 23, 2024

@danielcrisp Please check with following packages

  • cordova 11.0.0
  • cordova-ios 6.2.0
  • nodeJS v14.18.2
  • Xcode 13.2.1 (13C100)

Dont worry MacOS 12.2.1 (21D62) is stable, update your mac at the same time.

Generally to make ios app with cordova you need an uptodate xcode, cordova and cordova ios.

from cordova-plugin-iosrtc.

hthetiot avatar hthetiot commented on July 23, 2024

@danielcrisp Please close issue if your problem is solved.
Thx.

from cordova-plugin-iosrtc.

danielcrisp avatar danielcrisp commented on July 23, 2024

Awesome, it works! Thanks @hthetiot - closing.

The versions I used:

  • cordova 11.0.0
  • cordova-ios 6.2.0
  • nodeJS v16.14.0
  • Xcode 13.2.1 (13C100)
  • MacOS 12.2.1

from cordova-plugin-iosrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.