cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Austin France (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-13458) Build issues while exporting and manual code signing even on cordova-ios 4.5.2
Date Fri, 03 Nov 2017 16:48:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237868#comment-16237868
] 

Austin France edited comment on CB-13458 at 11/3/17 4:47 PM:
-------------------------------------------------------------

I am seeing this issue, though I am using automatic signing (or I think I am).

{code}
{
    "ios": {
        "debug": {
            "codeSignIdentity": "iPhone Developer",
            "developmentTeam": "MYTEAMID",
            "packageType": "development",
            "buildFlag": [
                "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
            ]
        },
        "release": {
            "codeSignIdentity": "iPhone Developer",
            "developmentTeam": "MYTEAMID",
            "packageType": "app-store",
            "buildFlag": [
                "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
            ]
        }
    },
	"android": {
		"release": {
			"keystore": "rmcv2-release-key.keystore",
			"storePassword": "lalalala",
			"alias": "redsky",
			"password": "lalalala",
			"keystoreType": "jks"
		}
	}
}
{code}

I am building with


{code}
$ cordova --verbose --release build
...

** EXPORT FAILED **

Error: Error code 70 for command: xcodebuild with args:  -exportArchive,-archivePath,RMCv2.xcarchive,-exportOptionsPlist,/Users/adf/Sites/RMC2/dev/BZ95599/Cordova/RMCv2/platforms/ios/exportOptions.plist,-exportPath,/Users/adf/Sites/RMC2/dev/BZ95599/Cordova/RMCv2/platforms/ios/build/device
{code}

It's not failing now since I went into Xcode, did an Archive, then exported the archive, but
then it doesn't even seem to be trying to export anymore.

├─┬ cordova@7.1.0
├─┬ cordova-ios@4.5.2



was (Author: mehuge):
I am seeing this issue, though I am using automatic signing (or I think I am).

{code}
{
    "ios": {
        "debug": {
            "codeSignIdentity": "iPhone Developer",
            "developmentTeam": "MYTEAMID",
            "packageType": "development",
            "buildFlag": [
                "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
            ]
        },
        "release": {
            "codeSignIdentity": "iPhone Developer",
            "developmentTeam": "MYTEAMID",
            "packageType": "app-store",
            "buildFlag": [
                "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
            ]
        }
    },
	"android": {
		"release": {
			"keystore": "rmcv2-release-key.keystore",
			"storePassword": "lalalala",
			"alias": "redsky",
			"password": "lalalala",
			"keystoreType": "jks"
		}
	}
}
{code}

I am building with


{code}
$ cordova --verbose --release build
...

** EXPORT FAILED **

Error: Error code 70 for command: xcodebuild with args:  -exportArchive,-archivePath,RMCv2.xcarchive,-exportOptionsPlist,/Users/adf/Sites/RMC2/dev/BZ95599/Cordova/RMCv2/platforms/ios/exportOptions.plist,-exportPath,/Users/adf/Sites/RMC2/dev/BZ95599/Cordova/RMCv2/platforms/ios/build/device
{code}

It's not failing now since I went into Xcode, did an Archive, then exported the archive.

├─┬ cordova@7.1.0
├─┬ cordova-ios@4.5.2


> Build issues while exporting and manual code signing even on cordova-ios 4.5.2
> ------------------------------------------------------------------------------
>
>                 Key: CB-13458
>                 URL: https://issues.apache.org/jira/browse/CB-13458
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova-ios 4.5.0
>            Reporter: Dennis Patzer
>            Assignee: Suraj Pindoria
>            Priority: Blocker
>
> After running cordova build ios with manual signing enabled in xcode 9, I get the following
error even after updating to cordova-ios 4.5.2 that should've fixed this issue.
> 2017-10-17 21:42:50.890 xcodebuild[2005:19419] [MT] IDEDistribution: -[IDEDistributionLogging
>         _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/0g/dd1ww3615ng7n2c4ryjjncbh0000gn/T/My
>         App_2017-10-17_21-42-50.889.xcdistributionlogs'.
>         2017-10-17 21:42:51.455 xcodebuild[2005:19419] [MT] IDEDistribution: Step failed:
>         <IDEDistributionSigningAssetsStep: 0x7fd21eab3ae0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain
>         Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating
signing assets failed.,
>         IDEDistributionSigningAssetStepUnderlyingErrors=(
>              "Error Domain=IDEProvisioningErrorDomain Code=9 \"\"My App.app\" requires
a provisioning profile
>         with the Push Notifications feature.\" UserInfo={NSLocalizedDescription=\"My
App.app\" requires a
>         provisioning profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add
a profile to the
>         \"provisioningProfiles\" dictionary in your Export Options property list.}"
>         )}
>         error: exportArchive: "My App.app" requires a provisioning profile with the Push
Notifications feature.
>         Error Domain=IDEProvisioningErrorDomain Code=9 ""My App.app" requires a provisioning
profile with the
>         Push Notifications feature." UserInfo={NSLocalizedDescription="My App.app" requires
a provisioning
>         profile with the Push Notifications feature., NSLocalizedRecoverySuggestion=Add
a profile to the
>         "provisioningProfiles" dictionary in your Export Options property list.}
>         ** EXPORT FAILED **
>         Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,My
>         App.xcarchive,-exportOptionsPlist,/Users/myuser/customers/acme/my_app/app/platforms/ios/exportOptions.plist,-exportPath,/Users/myuser/customers/acme/my_app/app/platforms/ios/build/device



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message