[ 
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:38 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.


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

$ cordova --verbose --release build

{code}
** 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.

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to