title: Using fastlane with an app that uses a notification extension
body: <p>I am using fastlane to build and send my app to testflight. This worked until I added a Notification Extension. Now it always gives me the error:</p>
  
  <blockquote>
    <p>Error Domain=IDEProvisioningErrorDomain Code=9
    ""OneSignalNotificationServiceExtension.appex" requires a provisioning
    profile with the App Groups feature."
    UserInfo={NSLocalizedDescription="OneSignalNotificationServiceExtension.appex" requires a provisioning profile with the App Groups feature.,
    NSLocalizedRecoverySuggestion=Add a profile to the
    "provisioningProfiles" dictionary in your Export Options property
    list.}</p>
  </blockquote>
  
  <p>Everything is supposed to be handled automatically on Xcode, and my fastfile looks like this:</p>
  
  <pre><code>default_platform(:ios)
  
  platform :ios do
    before_all do
      increment_build_number
    end
  
    desc "Push a new beta build to TestFlight"
    lane :beta do
      get_certificates           # invokes cert
      get_provisioning_profile   # invokes sigh
      build_app(workspace: "MyApp.xcworkspace", scheme: "MyApp (Production)")
      pilot(skip_waiting_for_build_processing: true)
    end
  end
  </code></pre>
  
  <p>My bundle identifier for my app is like com.myapp.ios and my bundle identifier for my notification service is like com.myapp.ios.notificationservice.</p>
  
  <p>I've tried creating multiple provisioning profiles for the different bundle identifiers manually, but fastlane only selects one. How can I fix this?</p>