taco support for cordova 6.4.0 and IOS 4.3.0 cocoapods doesn't seem to work - visual-studio-cordova

I upgraded my app to cordova 6.4.0 and ios 4.3.0. I also updated the plugin phonegap-plugin-push to 1.9.0 which now uses cocoapods in plugin.xml
<framework src="GoogleCloudMessaging" type="podspec" spec="~> 1.2.0"/>
<framework src="GGLInstanceID" type="podspec" spec="~> 1.2.1"/>
After installing cocoapods on the mac with
sudo gem install cocoapods
I now get a compilation error in XCode saying GoogleCloudMessaging.h is not found.
So, is TACO not ready yet for ios 4.3.0, or is there something I am missing?

Related

"FirebaseCore" version not compatible in react native project

In my react native project I started getting an error after I have tried to install the module firebase/crashlytics. I get the error
[!] CocoaPods could not find compatible versions for pod "FirebaseCore":
In Podfile:
FirebaseCore
FirebaseStorageInternal was resolved to 9.6.0, which depends on
FirebaseCore (~> 9.0)
RNFBApp (from `../node_modules/#react-native-firebase/app`) was resolved to 16.4.3, which depends on
Firebase/CoreOnly (= 10.1.0) was resolved to 10.1.0, which depends on
FirebaseCore (= 10.1.0)
What I tried:
sudo gem install cocoapods-clean
pod deintegrate
pod install
pod update
pod repo update && pod install --repo-update
yarn install
nothing helped. I think before I had the problem the firebase/core version was 8. How can I change the 10.1.0 version? How is this pod installed, I don't see it in the pod file.
FirebaseStorageInternal has been removed from Firebase 10.x and should not be included in Podfiles.

cannot run the flutter app after firebase connection

After i added the GoogleService-Info.plist file to Runner on xcode, I get this error.
(I work on an M1 Chip MacBook Air)
I uninstalled each cocoapods version, and installed again using the ARM version (sudo arch -x86_64 gem install cocoapods).
But nothing changed.
Edit: Just tried the pod install method inside the ios folder and this is what happened;
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.11.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "cloud_firestore":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)
Specs satisfying the `cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)` dependency were found, but they required a higher minimum deployment target.
[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
you need first to upgrade your package by write "pub upgrade" command
after it try to update podfile as below setups :
inside terminal move to ios folder "cd ios"
enter "pod update" command
if above point not working try "pod install" command
Final edit: I solved it thanks to this issue. The problem was that there's no Podfile.lock in the /ios folder.

Missing `Microsoft.AspNetCore.App` of version `2.2.8` on `Ubuntu 20.04` after clean installation

Having issues with Ubuntu 20.04. I followed official instruction and installed both SDK & runtime. If can be confirmed from the terminal:
dotnet --list-sdks
3.1.403 [/usr/share/dotnet/sdk]
and runtime:
dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
...yet the project I am trying to dotnet run requires the Microsoft.AspNetCore.App 2.2.8 as can be seen from the log:
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '2.2.8' was not found.
- The following frameworks were found:
3.1.9 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=2.2.8&arch=x64&rid=ubuntu.20.04-x64
What's the correct way to install missing SDKs and runtimes?
So it comes out that Ubuntu 20.04 is not supported for above-mentioned runtime and one have to install them manually.
In my particular case it was enough to download binaries and run them as usual.

How to connect SQLite3 with Electron (Win10)

I'm trying to connect my Electron project with SQLite3 but I'm encountering an error that say's
An unhandled error occurred inside electron-rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [E:\Personal_Projects\myquiz\node_modules\sqlite3\build\deps\action_before_build.vcxproj]
I've followed these steps:
1. install electron-rebuild (npm install --save-dev electron-rebuild)
2. install sqlite3 using npm (npm install --save sqlite3)
I've already found the solution just download and install the SDK 8.1 version.

VS2017 Cordova build error Remotebuild requires your projects to use cordova-ios 4.3.0 or greater with XCode 8.3

My MacOS X env:
cordova -v: 7.1.0
remotebuild -v: Copyright (C) 2014-2015 Microsoft Corporation. All rights reserved. 2.1.3
MacOS High Sierra (10.13.1)
Xcode: 9.1
My Window 10 Pro (ver 1709) dev env:
Visual Studio Community 2017: ver 15.4.4
Visual Studio Tools for Apache Cordova: 15.0.26728
Cordova Toolset (set by VS 2017):
Cordova 6.3.1
node.js: 4.4.3
cordova-simulate: 0.3.1.2
cordova-ios: 4.2.0
Microsoft Cordova documentation has not caught up with VS2017 and latest Cordova versions.
When in VS2017 on Wins10 PC, building to iOS and to any Simulator - [iOS device] target, I get the following error in full:
'Remote build error from the build server https://[my mac
ip]:3000/cordova - Build failed with error Remotebuild requires your
projects to use cordova-ios 4.3.0 or greater with XCode 8.3. Please
update your cordova-ios version.'
Doesn't work to simply bump up cordova-ios: 4.2.0 to 4.3.0 or greater in project's config.xml file. Not even sure what represents. Cordova iOS platform version?
Please help get me past this build error.
Duplicate question of:
Install specific version of Cordova CLI in Visual Studio 2017
Which notes a suitable solution.

Resources