I add Project -> Build Setting -> code signing resource rules path as
$(SDKROOT)/ResourceRules.plist

and it works

On Fri, Dec 5, 2014 at 5:40 PM, Benjamin Lau <[email protected]>
wrote:

> This doesn't appear to be a jenkins problem but with the latest
> version of XCode.
>
> Warning: usage of --preserve-metadata with option "resource-rules"
> (deprecated in Mac OS X >= 10.10)!
> Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
>
> I'd guess that your project file is still set up in a way that isn't
> compatible with Yosemite.
>
> Cheers,
> Ben
>
>
> On Fri, Dec 5, 2014 at 12:57 AM, cc ko <[email protected]> wrote:
> > Hi guys.
> >
> > my environment is Yosemite 10.10.1
> > xcode 6.1.1
> > Jenkins 1.592
> >
> > I cannot build ipa, can anyone tell me how what happen about below
> error???
> >
> > thank you all.
> >
> > Done checking the original app
> > ### Codesigning '' with 'iPhone Developer: Chi-Chung KO (NSYHRH336G)'
> > + /usr/bin/codesign --force
> > --preserve-metadata=identifier,entitlements,resource-rules --sign iPhone
> > Developer: Chi-Chung KO (NSYHRH336G)
> >
> --resource-rules=/var/folders/tw/c_zx0n3x3ts0zr8h2jm5tcmm0000gn/T/7XX0kJ6EsB/Payload/CITest2.app/ResourceRules.plist
> >
> /var/folders/tw/c_zx0n3x3ts0zr8h2jm5tcmm0000gn/T/7XX0kJ6EsB/Payload/CITest2.app
> > Program /usr/bin/codesign returned 1 : [Warning: usage of
> > --preserve-metadata with option "resource-rules" (deprecated in Mac OS X
> >=
> > 10.10)!
> > Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
> >
> /var/folders/tw/c_zx0n3x3ts0zr8h2jm5tcmm0000gn/T/7XX0kJ6EsB/Payload/CITest2.app/ResourceRules.plist:
> > cannot read resources
> > ]
> > error: /usr/bin/codesign --force
> > --preserve-metadata=identifier,entitlements,resource-rules --sign iPhone
> > Developer: Chi-Chung KO (NSYHRH336G)
> >
> --resource-rules=/var/folders/tw/c_zx0n3x3ts0zr8h2jm5tcmm0000gn/T/7XX0kJ6EsB/Payload/CITest2.app/ResourceRules.plist
> >
> /var/folders/tw/c_zx0n3x3ts0zr8h2jm5tcmm0000gn/T/7XX0kJ6EsB/Payload/CITest2.app
> > failed with error 1. Output: Warning: usage of --preserve-metadata with
> > option "resource-rules" (deprecated in Mac OS X >= 10.10)!
> > Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
> >
> /var/folders/tw/c_zx0n3x3ts0zr8h2jm5tcmm0000gn/T/7XX0kJ6EsB/Payload/CITest2.app/ResourceRules.plist:
> > cannot read resources
> >
> > Failed to build /Users/ccko/CITest_1.0_build1_2014.12.05.ipa
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Jenkins Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/jenkinsci-users/125f6176-36b8-4908-9a6a-983048bbc75a%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/gYAJJzRHdes/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CA%2BvtdQa5EW98QL3zi4ejrU7%3D4En36O4Kzs%2BCzZ3snVEVwJzR0w%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 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAKHRjYngR8_0XvHs5dtuJZTk3uvv_kkfdw52Dq-0a3r7hjEGDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to