运行HR ADF Mobile示例时出错

时间:2014-10-23 17:32:25

标签: oracle oracle-adf oracle-maf

我正在尝试运行HR示例应用,但我遇到以下错误:

--sign iPhone Distribution: Gary Zamorano (BH36YRHH44) --embed /Users/garyzamorano/Proyectos/GRK_IPAD_profile_ad_hoc.mobileprovision
[01:45:13 PM] error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign iPhone Distribution: Gary Zamorano (BH36YRHH44) --resource-rules=/var/folders/68/qtr2dz896bb410t36p_2bjwr0000gn/T/XVV6umKpQY/Payload/HR.app/ResourceRules.plist --entitlements /var/folders/68/qtr2dz896bb410t36p_2bjwr0000gn/T/XVV6umKpQY/entitlements_plist4QFl794s /var/folders/68/qtr2dz896bb410t36p_2bjwr0000gn/T/XVV6umKpQY/Payload/HR.app failed with error 1. Output: Warning: usage of --preserve-metadata with option "resource-rules" (deprecated in Mac OS X >= 10.10)!
[01:45:13 PM] Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
[01:45:13 PM] Program /usr/bin/codesign returned 1 : [Warning: usage of --preserve-metadata with option "resource-rules" (deprecated in Mac OS X >= 10.10)!
[01:45:13 PM] Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
[01:45:13 PM] Command-line execution failed (Return code: 1)
[01:45:13 PM] Deployment cancelled.
[01:45:13 PM] ----  Deployment incomplete  ----.
[01:45:13 PM] Failed to package the XCode application.
[01:45:13 PM] Failed to build the iOS application bundle.
[01:45:13 PM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'.  The following is a summary of the returned error(s):
Command-line execution failed (Return code: 1)
error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign iPhone Distribution: Gary Zamorano (BH36YRHH44) --resource-rules=/var/folders/68/qtr2dz896bb410t36p_2bjwr0000gn/T/XVV6umKpQY/Payload/HR.app/ResourceRules.plist --entitlements /var/folders/68/qtr2dz896bb410t36p_2bjwr0000gn/T/XVV6umKpQY/entitlements_plist4QFl794s /var/folders/68/qtr2dz896bb410t36p_2bjwr0000gn/T/XVV6umKpQY/Payload/HR.app failed with error 1. Output: Warning: usage of --preserve-metadata with option "resource-rules" (deprecated in Mac OS X >= 10.10)!
Program /usr/bin/codesign returned 1 : [Warning: usage of --preserve-metadata with option "resource-rules" (deprecated in Mac OS X >= 10.10)!

有人可以帮帮我吗?

1 个答案:

答案 0 :(得分:0)

从这个帖子:https://community.oracle.com/thread/3611632?start=15&tstart=0

对于使用Mac OS 10.9.5或10.10(Yosemite)的用户,请通过帮助>下载最新的MAF补丁。检查更新。这应该可以解决您的代码问题