Fastlane: proper way to add a device to provisioning? : <p>I am using fastlane to handle provisioning.</p>

<p>This is what I did:</p>

<pre><code>match nuke development 
match nuke distribution
</code></pre>

<p>then in a lane I have this for each bundleId I need to provision for:</p>

<pre><code>match(type: "development", app_identifier: "com.myCompany.myApp", force_for_new_devices: true)
</code></pre>

<p>When I want to download the provisioning I have a lane that does this:</p>

<pre><code>match(type: "development", app_identifier: "com.myCompany.myApp", readonly: true)
</code></pre>

<p>All this lets me work and build fine on devices that were ALREADY in the portal at the time of nuke.</p>

<p>How do I update provisioning correctly if I want to add a device?</p>

<p>I tried this:</p>

<pre><code>match development --force_for_new_devices true -a com.myCompany.myApp
</code></pre>

<p>It does not work.</p>

<p>I get this error:</p>

<pre><code>Provisioning profile '82afbd5b-9f19-4c78-b3ac-56a3565ce3f2' is not available on the Developer Portal
</code></pre>

<p>The only thing that works every time I have to add a device is to nuke everything and start fresh.</p>

<p>What's the proper way to add a device without having to nuke??</p>

<p>I am using xcode8, I disabled the automatic provisioning like suggested by fastlane.</p>
