Closed hthetiot closed 2 years ago
8.0.0-RC2
Hi Harold @hthetiot
testing it and having this at compile
What should we do ?
It looks to me the hooks was not executed, try removing the plug-in and add again.
Travis has no issue building branch 8.0.0: https://github.com/cordova-rtc/cordova-plugin-iosrtc/pull/545
already tried quite a few times this before reporting. I can put previous versions without any problem.
I tried to update to Swift5 too, just to be sure. Doesn't help.
I'll try with the demo project you have I rolled back to cordova9 and same issue, I tried with node12 as well.
I tried with your IOS sample project, from scratch first install I get this:
@numerized can you fill a separate issue with information requested. I'm not able to reproduce any of your issues. Notice that if you use cordiva-ios 6+ you need to remove WKWebView Plugin cause its builtin now.
@numerized As you can see here Travis build without issue, meaning the issue in on your setup nothing else.
I tried with your IOS sample project, from scratch first install I get this:
That because you are using cordova-ios 6+ you need to remove to cordova-plugin-wkwebview-engine when you use cordova-ios 6+
cordova plugin remove cordova-plugin-wkwebview-engine
I checked in depth and I found that my project was on swift 4.0, switching it to swift 4.2 made it working.
now when it comes to publishing in the appstore we face this bug:
I've obviously updated to latest Xcode version and I usually don't have problems.
I usually follow these steps before publishing to appstores:
node plugins/cordova-plugin-iosrtc/extra/ios_arch.js --extract
node plugins/cordova-plugin-iosrtc/extra/ios_arch.js --device
node plugins/cordova-plugin-iosrtc/extra/ios_arch.js --clean
cordova platform remove ios
cordova platform add ios
file platforms/ios/Bandcast/Plugins/cordova-plugin-iosrtc/WebRTC.framework/WebRTC
which gives:
platforms/ios/Bandcast/Plugins/cordova-plugin-iosrtc/WebRTC.framework/WebRTC: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64]
platforms/ios/Bandcast/Plugins/cordova-plugin-iosrtc/WebRTC.framework/WebRTC (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
platforms/ios/Bandcast/Plugins/cordova-plugin-iosrtc/WebRTC.framework/WebRTC (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64
cordova build ios --device
I could rollback to 7.0.0 RC2. Tomorrow I'll check and let you know
@numerized please fill separate issue, this is Announcement, not hotline or bug report issue.
Finaly google is your friend:
The documentation is your friend also:
platforms/ios/Bandcast/Plugins/cordova-plugin-iosrtc/WebRTC.framework/WebRTC (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 platforms/ios/Bandcast/Plugins/cordova-plugin-iosrtc/WebRTC.framework/WebRTC (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64
You still have x86_64, this should not be the case...
Updated to m87 @numerized see
cordova plugin remove cordova-plugin-iosrtc --verbose cordova plugin add https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 --verbose cordova platform remove ios --no-save cordova platform add ios@latest --no-save
Use WebRTC 4280 super fresh: https://webrtc.googlesource.com/src.git/+log/refs/branch-heads/4280
Reference: https://chromiumdash.appspot.com/branches
note: I also restoted i368 and armv7
8.0.0 will be next release, we skip 7 and 6 goes in LTS.
I keep having this issue:
> cordova plugin add "https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0" --verbose
No scripts found for hook "before_plugin_add".
Calling plugman.fetch on plugin "https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0"
Failed to fetch plugin https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: command failed
CordovaError: Failed to fetch plugin https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: command failed
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:140:43
@wmwood
I keep having this issue:
> cordova plugin add "https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0" --verbose No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0" Failed to fetch plugin https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. CordovaError: Error: command failed CordovaError: Failed to fetch plugin https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. CordovaError: Error: command failed at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:140:43
Please create a separate issue this is not the right place, also Continuous integration does not have this issue (https://travis-ci.org/github/cordova-rtc/cordova-plugin-iosrtc/jobs/761038140), make sure to provide all version and exact steps to reproduce and dependency (ionic or capacitor, etc..).
Also we don't use "before_plugin_add" check plugin.xml, and finally, 8.0 is on master now
I keep having this issue:
> cordova plugin add "https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0" --verbose No scripts found for hook "before_plugin_add". Calling plugman.fetch on plugin "https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0" Failed to fetch plugin https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. CordovaError: Error: command failed CordovaError: Failed to fetch plugin https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. CordovaError: Error: command failed at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:140:43
Did you even read the error ?
Failed to fetch plugin https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL.
I can believe i have to quote your error message to explain to you the issue.
@wmwood
If you want to test v8 read the testing, it's on master now and task/8.0.0 has been merged...
8.0.0 is now latest on NPM.
Was it unpublished or something? I still see 6.0.20 as the latest version.
8.0.0 is now latest on NPM.
Was it unpublished or something? I still see 6.0.20 as the latest version.
Yes sorry about that, we went back to 6.0.20 for now we need more testing, i found a possible issue.
Hello cordova-rtc users,
I will released cordova-plugin-iosrtc 8.0.0 but in the mean time 8.0.0 RC is available for testing.
The current work in progress is on the branch https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/8.0.0 and the PR is https://github.com/cordova-rtc/cordova-plugin-iosrtc/pull/545
Changelog Version 8.0.0
Test 8.0.0-RC