In this case it's for a debug build. We obviously have app store builds too and 
do have some customer enterprise ones as well. . 


Yep I need it sorting and this info should be enough to convince  my boss give 
me time to do it!! :) 


Paul




On Wed, Nov 2, 2016 at 3:50 PM +0000, "Steve Hannah" 
<steve.han...@codenameone.com> wrote:










In my experience, if "iphone" fails, and "iphone_old" works, you're just 
kicking the can down to runtime for a failure.  "iphone" is much more picky 
that all of the certificates, entitlements, and permissions are correct and 
consistent.  In this case it is complaining that the certificate provided in 
the wrong "kind" for the type of build you are doing.  Are you doing an ad hoc 
or enterprise build?  Is it s debug build or a release build?
Steve
On Wed, Nov 2, 2016 at 4:03 AM,  <mcellinp...@gmail.com> wrote:
Hi,
I am still having problems building for ios if I don't use the iphone_old 
target type. It seems to surround the signing of the app but I am using the 
same certificate and provisioning profile that works with iPhone_old. 
Any ideas what it could be? here is the end of the error log which will 
hopefully through out some clues.
Regards,
Paul
LOGNAME=administrator
_=/usr/bin/env
+ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive 
-archivePath ApplicationWrapper.xcarchive -exportPath 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1347080266284814304xxx/result
 -exportOptionsPlist 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/export8364358331285155482.plist
 -verbose PROVISIONING_PROFILE=790dba8e-41b9-4541-b71a-4780864e6073 
'CODE_SIGN_IDENTITY=iPhone Distribution: eSay Solutions Limited (EA67SMA4LD)' 
KEYCHAIN=/Users/administrator/Library/Keychains/temp1478080279572.keychain 
CODE_SIGN_ENTITLEMENTS=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/Entitlements1956301248681602482.plist
2016-11-02 05:07:05.069 xcodebuild[75594:19129460] [MT] IDEDistribution: 
-[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path 
'/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/ApplicationWrapper_2016-11-02_05-07-05.068.xcdistributionlogs'.
2016-11-02 05:07:05.096 xcodebuild[75594:19129460] [MT] DeveloperPortal: Using 
pre-existing current store at URL 
(file:///Users/administrator/Library/Developer/Xcode/DeveloperPortal%207.3.1.db).
2016-11-02 05:07:05.280 xcodebuild[75594:19129460] [MT] IDEDistribution: Step 
failed: <IDEDistributionSigningAssetsStep: 0x7fd0fcbc7ca0>: Error 
Domain=IDEDistributionErrorDomain Code=1 "(null)"
error: exportArchive: The operation couldn’t be completed. 
(IDEDistributionErrorDomain error 1.)

Error Domain=IDEDistributionErrorDomain Code=1 "(null)"

** EXPORT FAILED **

Failed export step
2016-11-02 10:07:04 +0000 [MT] Step failed: <IDEDistributionSigningAssetsStep: 
0x7fcf51632470>: Error Domain=IDEDistributionErrorDomain Code=1 "(null)"


2016-11-02 10:07:04 +0000 [MT] Running step: IDEDistributionSigningAssetsStep 
with <IDEDistributionContext: 0x7fcf53e1f530; archive(resolved)='<IDEArchive: 
0x7fcf53da3880>', distributionTask(resolved)='2', 
distributionMethod(resolved)='<IDEDistributionMethodDevelopmentSigned: 
0x7fcf53db59b0>', teamID(resolved)='(null)'>
        Chain (2, self inclusive):
        <IDEDistributionContext: 0x7fcf53e1f530; archive = '(null)', 
distributionMethod='<IDEDistributionMethodDevelopmentSigned: 0x7fcf53db59b0>', 
teamID='(null)'>
        <IDEDistributionContext: 0x7fcf53da46b0; archive = '<IDEArchive: 
0x7fcf53da3880>', distributionMethod='(null)', teamID='(null)'>
</IDEDistributionContext: 0x7fcf53e1f530>


2016-11-02 10:07:04 +0000 [MT] Available distribution methods: (
    "<IDEDistributionMethodiOSAppStoreExport: 0x7fcf53db57d0>",
    "<IDEDistributionMethodAdHoc: 0x7fcf53db5d10>",
    "<IDEDistributionMethodEnterprise: 0x7fcf53db5950>",
    "<IDEDistributionMethodDevelopmentSigned: 0x7fcf53db59b0>"
)
2016-11-02 10:07:04 +0000 [MT] IDEDistributionItem init 
<DVTFilePath:0x7fcf53da4260:'/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1347080266284814304xxx/dist/ApplicationWrapper.xcarchive/Products/Applications/ApplicationWrapper.app'>
2016-11-02 10:07:04 +0000 [MT] Set distributionItems on context: (
    "<IDEDistributionItem: 0x7fcf51640f90 
'uk.co.esayltd.mobile.workmobile.codenameone' 
'<DVTFilePath:0x7fcf53da4260:'/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1347080266284814304xxx/dist/ApplicationWrapper.xcarchive/Products/Applications/ApplicationWrapper.app'>'>"
)
2016-11-02 10:07:04 +0000 [MT] -[IDEDistributionProvisioning 
_itemToSigningInfoMap:]: Locating assets for items = (
    "<IDEDistributionItem: 0x7fcf51640f90 
'uk.co.esayltd.mobile.workmobile.codenameone' 
'<DVTFilePath:0x7fcf53da4260:'/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build1347080266284814304xxx/dist/ApplicationWrapper.xcarchive/Products/Applications/ApplicationWrapper.app'>'>"
)
2016-11-02 10:07:04 +0000 [MT] Disqualifying <DVTSigningCertificate: 
0x7fcf53e6d340; name='iPhone Distribution: eSay Solutions Limited 
(EA67SMA4LD)', hash='8CA541C42B972ABE22314A7E27E09258FEBAF070', 
certificateKind='1.2.840.113635.100.6.1.4'> due to certificateKind (input 
1.2.840.113635.100.6.1.2 doesn't match 1.2.840.113635.100.6.1.4)
2016-11-02 10:07:04 +0000 [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.2] = (
)







-- 

You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.

Visit this group at https://groups.google.com/group/codenameone-discussions.

To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/868392c0-1b0a-4133-a712-27d2428624b0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




-- 
Steve HannahSoftware DeveloperCodename Onehttp://www.codenameone.com






-- 

You received this message because you are subscribed to a topic in the Google 
Groups "CodenameOne Discussions" group.

To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/codenameone-discussions/RczRNsGASyU/unsubscribe.

To unsubscribe from this group and all its topics, send an email to 
codenameone-discussions+unsubscr...@googlegroups.com.

Visit this group at https://groups.google.com/group/codenameone-discussions.

To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKV68_GR7vYcfuT1GRJdTrE62kgJ4MvXFkaLyuCKnyw1zw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.






-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/AEA7DE3F115D9A03.4a1be137-0f3f-471e-aa29-5fd3959906d4%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to