梁liang
梁liang
  • 发布:2015-05-26 15:33
  • 更新:2015-11-21 18:40
  • 阅读:2535

hbuider打包上线的ios版本?

分类:HBuilder

打包上线的ios版本app;

总是报错一下的:
xcode build 开始

xcodebuild -sdk iphoneos8.1 -project 安装包制作目录Pandora.xcodeproj TARGETED_DEVICE_FAMILY="1,2"
Build settings from command line:
SDKROOT = iphoneos8.1
TARGETED_DEVICE_FAMILY = 1,2

=== BUILD TARGET Pandora OF PROJECT Pandora WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies
Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“ehome”) has an AppID of “com.smarlova.ehome” which does not match your bundle identifier “ehome”.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'

BUILD FAILED

The following build commands failed:
Check dependencies
(1 failure)

2015-05-26 15:33 负责人:无 分享
已邀请:
DCloud_IOS_XTY

DCloud_IOS_XTY

这个应该是你AppID和profile文件中的AppID不一致导致的,你把AppID改为com.smarlova.ehome看看

  • 梁liang (作者)

    有这种可能,谢了

    2015-11-21 18:25

张一三

张一三

也有可能你打包的证书是APNS推送用的证书,之前我就是把推送证书当发布证书打包时遇到过一次你说所的错误!

  • 梁liang (作者)

    证书是没错的。不过还是谢了

    2015-11-21 18:25

梁liang

梁liang (作者)

xcode build 开始

xcodebuild -sdk iphoneos9.1 -project 安装包制作目录Pandora.xcodeproj TARGETED_DEVICE_FAMILY="1,2"
Build settings from command line:
SDKROOT = iphoneos9.1
TARGETED_DEVICE_FAMILY = 1,2

=== BUILD TARGET Pandora OF PROJECT Pandora WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“BaMa2”) were found.

BUILD FAILED

The following build commands failed:
Check dependencies
(1 failure)

该问题目前已经被锁定, 无法添加新回复