flutter pod install is not installing anything

my podfile looks like this

        # Uncomment the next line to define a global platform for your project
    # platform :ios, '9.0'

    target 'Runner' do
        # Comment the next line if you don't want to use dynamic frameworks
        # Pods for Runner

If I run pod install, it shows

        MDs-MacBook-Pro:ios mdzainalabedin$ pod install
    Analyzing dependencies
    Downloading dependencies
    Generating Pods project
    Integrating client project
    Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.

    (!) The Podfile does not contain any dependencies.

    (!) 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`.

    (!) CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).

    (!) Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile.
    MDs-MacBook-Pro:ios mdzainalabedin$ 


Any idea how can I generate one?


woocommerce – POD provider or supplier ecommerce store

We are printing suppliers looking to set up a Print on Demand eCommerce store similar to Printify or Printful. We are looking for the below features

  1. Seller or drop shipper registration
  2. Each seller can add products from our catalog to their account
  3. Each seller can integrate with their own store (Shopify or WooCommerce store)
  4. Seller should be able to automatically send orders from their Shopify store to our website.
  5. we should be able to send/sync product catalog to their store

Basically, we are looking for a fulfillment e-commerce solution for POD dropshipping supplier.

Are you trying to mount a directory onto a file (or vice-versa) when I am start kubernetes kube-proxy pod

Today my kubernetes v1.18 cluster encount a problem and I found the slave node’s kube-proxy process not start up.

(root@k8sslave1 ~)# docker ps -a|grep proxy
cd8cece1784f        0d40868643c6                                                    "/usr/local/bin/kubeā€¦"   27 hours ago        Exited (127) 4 hours ago                        k8s_kube-proxy_kube-proxy-f4lg4_kube-system_577b0574-a3bc-4818-ace8-ce471cfc8712_1
4274cee90665        registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.2   "/pause"                 27 hours ago        Up 14 minutes                                   k8s_POD_kube-proxy-f4lg4_kube-system_577b0574-a3bc-4818-ace8-ce471cfc8712_1

When I am start kubernetes kube proxy like this:

docker start cd8cece1784f

it give me this error:

Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused "rootfs_linux.go:58: mounting \"/run/xtables.lock\" to rootfs \"/var/lib/docker/overlay2/76b5f780dfd3542dae7ffd8c164fd6d0e3e6fa9ebd9ba1869c67ada9324d9e6b/merged\" at \"/var/lib/docker/overlay2/76b5f780dfd3542dae7ffd8c164fd6d0e3e6fa9ebd9ba1869c67ada9324d9e6b/merged/run/xtables.lock\" caused \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Error: failed to start containers: cd8cece1784f

what should I do to fix this problem?

kubernetes – Dynamic volume provisioning folder per pod in a volume?

What I am aiming for is a folder(pod name) per pod created inside of a volume using a volumeClaimsTemplate in a StatefulSet.

An example would be:

  • PersistentVolume = “/data”
  • Pods:
    • pod-0 = “/data/pod-0”
    • pod-1 = “/data/pod-1”

I am struggling with getting the replicas to create new folders for themselves. Any help with how to do this would be grateful.

ssl – How to solve “Bad Certificate” error on kubernetes pod?

I am trying to set up a kubernetes pod in order for it to connect to a device, specifically a F5 BIG-IP appliance.

The deployment appears to be OK, in fact i had to modify a code snippet I found online.

When the pods is trying to start up, i got an error. So I started my investigation:

Running kubectl logs <pod_name> -n <namespace> returns an error:

REST call error: Get <URL>: x509: cannot validate certificate for <IP> because it doesn't contain any IP SANs

By looking at a wireshark dump on the interface, I se that there’s a TLS 1.2 alert (fatal) with a description of “bad certificate” sent from the client to the server.

So I looked online, and I found some articles saying it’s a problem with kubernetes trying to connect to the server but not recognizing it – at least I think that’s what they meant.
One of the suggested workarounds was to apply a DNS name, so I modified the /etc/hosts file in order to use the DNS name within the deployment YAML file.

The result is that the error message changes to:

REST call error: Get <URL>: dial tcp: lookup <hostname>: device or resource busy

Any ideas on what the problem might be and how to solve it?

This is a test environment so I wouldn’t mind -let me say- “unorthodox” methods, such as ignoring the certificate check, but I’d appreciate it if there were solutions or workarounds which I could eventually bring into production.

Thanks for any input you might have.

logging – How long kubernetes stores pod stdout logs?

I run pods in kubernetes (1.17.0) that write logs to stdout. This pods are going to be up for a long time. I use promtail to gather logs and send to loki storage. So I can configure to store logs, for example, for last 7 days.

However, I don’t clearly understand how kubernetes tracks these logs? I know that kubernetes deletes logs when pod is evicted, but my pods will not be evicted. That means kubernetes will store all logs and eventially node’s SSD will be full? How can I configure kubernetes to delete old logs?

kubernetes – Why does my pod never start?

I create a kubernetes cluster, as root, like so:

# kubeadm init

Then, as a regular user, I execute this:

$ kubectl apply -f https://raw.githubusercontent.com/Mirantis/virtlet/master/examples/cirros-vm.yaml

Then I wait for the pod to start:

$ kubectl get pod -w
cirros-vm   0/1     Pending   0          47m

As you can see my cirros-vm pod is 47 minutes old and still as status Pending.

What do I need to do to get the status to become Running?

Kubernetes kubeconfig in the pod

I am trying to create a deployment that will be deployed on a K8S instance where services will be migrated. This requires kubeconfig as part of the code at the moment. We don't have access to create service accounts. We also have Kubectl binaries in the container that do some operations. What is the best way to take kubeconfig as input?

Flatter plugin issue: The Objective-C pod in the Swift Flatter plugin causes the build to fail when used as a flutter dependency

Details here https://github.com/flutter/flutter/issues/54574

Objective-C Pod in the Swift Flatter plugin causes the build to fail when used as a flutter dependency.

  1. Create a quick flutter plugin.
    fast plugin
  2. Add an Objective-C dependency to the Swift plugin
  3. Fix import errors by creating a module map
    Module assignment
    Module assignment pt2
  4. Create a new flutter app
  5. Add the Swift plugin as a dependency on the pubspec.yaml file
    Enter the image description here
  6. Note App cannot be created.
    Build failure