[ad_1]
My Fastfile:
lane :construct do |choices|
match(
app_identifier: [
ENV['IOS_APP_ID'],
ENV['SIRI_BUNDLE_ID'],
ENV['PUSH_INTERCEPTOR_BUNDLE_ID'],
ENV['WIDGETS_BUNDLE_ID']
],
shallow_clone: true,
clone_branch_directly: true,
readonly: true
)
update_code_signing_settings(
use_automatic_signing: false,
path: xcodeproj,
targets: ios_target_names
)
gymOptions = ({
silent: true,
export_team_id: ENV['IOS_TEAM_ID'],
export_options: {
signingStyle: "handbook",
provisioningProfiles: {
ENV['IOS_APP_ID'] => "match AdHoc #{ENV['IOS_APP_ID']}",
ENV['SIRI_BUNDLE_ID'] => "match AdHoc #{ENV['SIRI_BUNDLE_ID']}",
ENV['PUSH_INTERCEPTOR_BUNDLE_ID'] => "match AdHoc #{ENV['PUSH_INTERCEPTOR_BUNDLE_ID']}",
ENV['WIDGETS_BUNDLE_ID'] => "match AdHoc #{ENV['WIDGETS_BUNDLE_ID']}"
}
}
}).merge(
File.listing?("../#{xcworkspace}") ?
{workspace: xcworkspace} :
{mission: xcodeproj}
)
fitness center(gymOptions)
From the output, it seems to be like all the things is about up appropriately:
| Put in Provisioning Profile |
+---------------------+---------------------------------------------+---------------------------------------------+
| Parameter | Atmosphere Variable | Worth |
+---------------------+---------------------------------------------+---------------------------------------------+
| App Identifier | | com.firm.app.SiriAction |
| Kind | | adhoc |
| Platform | | ios |
| Profile UUID | sigh_com.firm.app.SiriAction_ad | exxxxxx-1xxxx-4xxx-bxxx-7xxxxxxx |
| | hoc | |
| Profile Title | sigh_com.firm.app.SiriAction_ad | match AdHoc |
| | hoc_profile-name | com.firm.app.SiriAction |
| Profile Path | sigh_com.firm.app.SiriAction_ad | /Customers/myuser/Library/MobileDevice/Professional |
| | hoc_profile-path | visioning |
| | | Profiles/exxxxxx-1xxxx-4xxx-bxxx-7xxxxxxx |
| | | 6a8.mobileprovision |
| Growth Workforce ID | sigh_com.firm.app.SiriAction_ad | 38XXXXXXXX |
| | hoc_team-id | |
+---------------------+---------------------------------------------+---------------------------------------------+
// This repeats for every provisioning profile...
+---------------------------------------------------------------------+---------------------------------------------------------------+
| Abstract for fitness center 2.206.2 |
+---------------------------------------------------------------------+---------------------------------------------------------------+
| silent | true |
| export_team_id | 38XXXXXXXX |
| export_options.signingStyle | handbook |
| export_options.provisioningProfiles.com.firm.app.staging | match AdHoc com.firm.app.staging |
| export_options.provisioningProfiles.com.firm.app.SiriAc | match AdHoc com.firm.app.SiriAction |
| tion | |
| export_options.provisioningProfiles.com.firm.app.PushIntercep | match AdHoc com.firm.app.PushInterceptor |
| tor | |
| export_options.provisioningProfiles.com.firm.app.Widgets | match AdHoc com.firm.app.Widgets |
| workspace | ios/app.xcworkspace |
| export_method | ad-hoc |
| scheme | app |
| clear | false |
| output_directory | dist |
| output_name | app |
| skip_package_ipa | false |
| skip_package_pkg | false |
| build_path | /Customers/myuser/Library/Developer/Xcode/Archives/2022-06-24 |
| result_bundle | false |
| buildlog_path | ~/Library/Logs/fitness center |
| vacation spot | generic/platform=iOS |
| xcodebuild_formatter | xcpretty |
| skip_profile_detection | false |
| xcodebuild_command | xcodebuild |
| skip_package_dependencies_resolution | false |
| disable_package_automatic_updates | false |
| use_system_scm | false |
| xcode_path | /Functions/Xcode.app |
+---------------------------------------------------------------------+---------------------------------------------------------------+
However then I get errors saying it may well’t discover the certificates:
[12:22:16]: ▸ ❌ error: "PushInterceptor" requires a provisioning profile. Choose a provisioning profile within the Signing & Capabilities editor. (in goal 'PushInterceptor' from mission 'app')
[12:22:16]: ▸ ❌ error: "SiriAction" requires a provisioning profile. Choose a provisioning profile within the Signing & Capabilities editor. (in goal 'SiriAction' from mission 'app')
[12:22:16]: ▸ ❌ error: "WidgetsExtension" requires a provisioning profile with the App Teams function. Choose a provisioning profile within the Signing & Capabilities editor. (in goal 'WidgetsExtension' from mission 'app')
[12:22:16]: ▸ ❌ error: "app" requires a provisioning profile with the Related Domains, Siri, In-App Buy, App Teams, Register with Apple, and Push Notifications options. Choose a provisioning profile within the Signing & Capabilities editor. (in goal 'app' from mission 'app')
I’ve checked the capabilities are appropriate for every cert within the Apple developer portal, and tried each mixture of solutions I can discover for comparable points.
This output suggests all the things is appropriate proper? Is there something I can do to debug additional or appropriate the configuration?
It appears as if I haven’t got the provisioning profiles domestically, or I am not pointing to them appropriately. Some other concepts?
[ad_2]
