I add Project -> Build Setting -> code signing resource rules path as $(SDKROOT)/ResourceRules.plist
and it works benjamin.a.lau於 2014年12月5日星期五UTC+8下午5時40分53秒寫道: > > 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] <javascript:>> > 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] <javascript:>. > > 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 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/2dac8a64-a9d7-4873-9a25-8814d875a618%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
