Just do document what I'm seeing
Build with no command seems to just stop in the middle of it.

Build with the new command
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

Seems to build just fine and was able to push a version to the phone. 

For ionic I see a build.json file.  I add the following to it. 

```
{  
"ios": {
    "debug": {
      "developmentTeam": "898989",
      "buildFlag": [
        "-UseModernBuildSystem=0"
      ]
    },
    "release": {
      "developmentTeam": "89989898",
      "buildFlag": [
        "-UseModernBuildSystem=0"
      ]
    }
  }
}
```

It seems to look at the build.json,  either I don't have it setup right or 
something because its not using the command.

> Code Signing Error: Automatic signing is unable to resolve an issue with the 
> "APP NAME" target's entitlements. Automatic signing can't add the 
> aps-environment entitlement to your provisioning profile. Switch to manual 
> signing and resolve the issue by downloading a matching provisioning profile 
> from the developer website. Alternatively, to continue using automatic 
> signing, remove this entitlement from your entitlements file and its 
> associated functionality from your code.
> Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: 
> com.app.dev.app" doesn't include the aps-environment entitlement.
> Code Signing Error: Code signing is required for product type 'Application' 
> in SDK 'iOS 12.0'

I don't think that error surprise us.  But not sure why adding the command to 
build.json file doesn't seem to work.

[ Full content available at: https://github.com/apache/cordova-ios/issues/407 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to