Skip to content

Broken build option --i-cloud-container-environment #5034

Closed
@jzgoda

Description

@jzgoda

Environment

  • CLI: 6.2.0

Describe the bug
The --i-cloud-container-environment build option was removed from the plist generation, handled by the ExportOptionsPlistService.createDevelopmentExportOptionsPlist method.

To Reproduce
The command:

tns build ios --release --for-device --i-cloud-container-environment Production

Will produce the following error:

error: exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided

Error Domain=IDEFoundationErrorDomain Code=1 "exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided" UserInfo={NSLocalizedDescription=exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}, but no value was provided}

** EXPORT FAILED **

Command xcodebuild failed with exit code 70

Expected behavior

A result like:

Exported app to: app/platforms/ios/build/Release-iphoneos
** EXPORT SUCCEEDED **

Project successfully built.
The build result is located at: app/platforms/ios/build/Release-iphoneos/app.ipa

Additional context
This was a feature that I had added (#4526), I will be supplying a PR to fix it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions