Skip to content

Issue with multiple App targets IOS #85

@kumarsunil0007

Description

@kumarsunil0007

I am using app-flow for one of my ionic-capacitor app. It was all working well. As per my requirements, I had to add one extension to project and it all work fine using xcode. While I am creating build using app-flow, it keep failing because it is skipping all target other than app and at later stage xcode fails to build because there are no certificate added by app-flow to sign extra target.
Below is output from app-flow build:

[11:02:38]: $ set -o pipefail && xcodebuild -workspace /Users/ionic/builds/carstenschaefer/demo_mobileapp/ios/App/App.xcworkspace -scheme App -configuration Debug -destination 'generic/platform=iOS' -archivePath /Users/ionic/Library/Developer/Xcode/Archives/2021-09-16/a221a153-6f49-4f30-8c0e-99f9b80edc79-development\ 2021-09-16\ 11.02.38.xcarchive archive CODE_SIGN_IDENTITY=Apple\ Development:\ Demo\ Schaefer\ \(L8T3J39XXX\) | tee /Users/ionic/Library/Logs/gym/App-App.log | xcpretty
[11:02:49]: ▸     AssetsLibrary is deprecated. Consider migrating to Photos instead. (in target 'CordovaPlugins' from project 'Pods')
[11:02:49]: ▸     MobileCoreServices has been renamed. Use CoreServices instead. (in target 'CordovaPlugins' from project 'Pods')
[11:02:49]: ▸ ❌  error: "ShareExtension" requires a provisioning profile with the App Groups feature. Select a provisioning profile in the Signing & Capabilities editor. (in target 'ShareExtension' from project 'App')
[11:02:49]: ▸     The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 14.5, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'ShareExtension' from project 'App')
[11:02:49]: ▸ * ARCHIVE FAILED *
    AssetsLibrary is deprecated. Consider migrating to Photos instead. (in target 'CordovaPlugins' from project 'Pods')
    MobileCoreServices has been renamed. Use CoreServices instead. (in target 'CordovaPlugins' from project 'Pods')

❌  error: "ShareExtension" requires a provisioning profile with the App Groups feature. Select a provisioning profile in the Signing & Capabilities editor. (in target 'ShareExtension' from project 'App')


    The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 14.5, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'ShareExtension' from project 'App')
* ARCHIVE FAILED *
[11:02:49]: Exit status: 65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions