Question: I have a JSON file

```
response ={
  "classifier_id": "xxxxx-xx-1",
  "url": "/testers/xxxxx-xx-1",
  "collection": [
    {
      "text": "How hot will it be today?",
      "top_class": "temperature",
      "classes": [
        {
          "class_name": "temperature",
          "confidence": 0.993
        },
        {
          "class_name": "conditions",
          "confidence": 0.006
        }
      ]
    },
    {
      "text": "Is it hot outside?",
      "top_class": "temperature",
      "classes": [
        {
          "class_name": "temperature",
          "confidence": 1.0
        },
        {
          "class_name": "conditions",
          "confidence": 0.0
        }
      ]
    }
  ]
}

```

Current Output
--------------

[![enter image description here](https://i.stack.imgur.com/svfxp.png)](https://i.stack.imgur.com/svfxp.png)

Code and undesired output
-------------------------

[![enter image description here](https://i.stack.imgur.com/sT1yZ.png)](https://i.stack.imgur.com/sT1yZ.png)

I tried `json_normalize`, however, it's giving duplicates.

How can I convert this Jason file to Pandas DataFrame?

The records for each collection should be expanded wide, not long.

![result: DataFrameImage](https://i.stack.imgur.com/cjlSv.jpg)

Answer: 
With cocoapods and Xcode 12, you currently need to set your Pods' deployment targets in a so-called "post-install hook".

Try adding this to the end of your Podfile:

```

deployment_target = '12.0'

post_install do |installer|
    installer.generated_projects.each do |project|
        project.targets.each do |target|
            target.build_configurations.each do |config|
                config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
            end
        end
        project.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
        end
    end
end

```
You are tying to import a version of `RxSwift` that has already set its minimum deployment target to iOS 12.0 while your project itself is still on iOS 10.0.

This should not be related to Xcode or the Xcode update.

If you can post your Podfile we can verify this.