Filed to build ipa

134 views
Skip to first unread message

cc ko

unread,
Dec 5, 2014, 3:57:41 AM12/5/14
to jenkins...@googlegroups.com
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

Benjamin Lau

unread,
Dec 5, 2014, 4:40:53 AM12/5/14
to Jenkins Users
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
> --
> 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 jenkinsci-use...@googlegroups.com.
> 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.

cc ko

unread,
Dec 5, 2014, 4:55:11 AM12/5/14
to jenkins...@googlegroups.com
I add Project -> Build Setting -> code signing resource rules path as
$(SDKROOT)/ResourceRules.plist

and it works

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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BvtdQa5EW98QL3zi4ejrU7%3D4En36O4Kzs%2BCzZ3snVEVwJzR0w%40mail.gmail.com.

cc ko

unread,
Dec 5, 2014, 4:56:55 AM12/5/14
to jenkins...@googlegroups.com
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秒寫道:
Reply all
Reply to author
Forward
0 new messages