ios 打包ios9.2.1越狱失败原因 什么原因

iOS10项目打包上传被拒关于隐私权限问题
今天项目打包提交。收到了苹果的邮件。主要内容:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
Once these issues have been corrected, you can then redeliver the corrected binary.
大概意思就是有需要设置的隐私权限没有设置
右击Info.plist文件 &Open As &Source Code 打开复制以下你在应用中使用的隐私权限设置(描述自己修改)
NSVideoSubscriberAccountUsageDescription
NSBluetoothPeripheralUsageDescription
NSSpeechRecognitionUsageDescription
语音识别权限
NSSiriUsageDescription
NSRemindersUsageDescription
NSPhotoLibraryUsageDescription
kTCCServiceMediaLibrary
NSMotionUsageDescription
NSMicrophoneUsageDescription
麦克风权限
NSAppleMusicUsageDescription
NSLocationWhenInUseUsageDescription
地理位置权限
NSLocationUsageDescription
地理位置权限
NSLocationAlwaysUsageDescription
地理位置权限
NSHomeKitUsageDescription
NSHealthUpdateUsageDescription
NSHealthShareUsageDescription
NSContactsUsageDescription
通讯录权限
NSCameraUsageDescription
摄像头权限
NSCalendarsUsageDescription查看: 88|回复: 4
iOS打包遇到问题
主题帖子积分
新手上路, 积分 7, 距离下一级还需 43 积分
新手上路, 积分 7, 距离下一级还需 43 积分
=== BUILD TARGET scan OF PROJECT scan WITH CONFIGURATION Debug ===
& && &Check dependencies
& && &Signing for &scan& requires a development team. Select a development team in the project editor.
& && &Code signing is required for product type 'Application' in SDK 'iOS 10.2'
& && &ERROR building one of the platforms: Error: /Users/wangxin/Desktop/WeX5_V3.6-mac/model/Native/scan/build/src/platforms/ios/cordova/build: Command failed with exit code 2
& && &You may not have the required environment or OS to build this project
& && &** BUILD FAILED **
& && &The following build commands failed:
& && && & & & Check dependencies
& && &(1 failure)
& && &Error code 65 for command: xcodebuild with args: -xcconfig,/Users/wangxin/Desktop/WeX5_V3.6-mac/model/Native/scan/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,scan.xcodeproj,ARCHS=armv7 arm64,-target,scan,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/wangxin/Desktop/WeX5_V3.6-mac/model/Native/scan/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/wangxin/Desktop/WeX5_V3.6-mac/model/Native/scan/build/src/platforms/ios/build/sharedpch
& && &Error: /Users/wangxin/Desktop/WeX5_V3.6-mac/model/Native/scan/build/src/platforms/ios/cordova/build: Command failed with exit code 2
& &****ERROR****: 子任务 &exec& 执行失败。
& &****ERROR****: 任务 &buildIOS& 执行失败。
& &****ERROR****: 执行出错:
& &****ERROR****: 错误信息: exec returned: 1
& &****ERROR****: 如不能确定具体问题,可参考常见问题:
****ERROR****: 子任务 &java& 执行失败。
****ERROR****: 任务 &pack& 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题:
主题帖子积分
新手上路, 积分 7, 距离下一级还需 43 积分
新手上路, 积分 7, 距离下一级还需 43 积分
请问在哪里可以设置team
主题帖子积分
请问苹果 xcode 版本是多少?目前只支持7.3 版本!
估计xcode 版本太高了!
主题帖子积分
新手上路, 积分 7, 距离下一级还需 43 积分
新手上路, 积分 7, 距离下一级还需 43 积分
http://docs.wex5.com/wex5-app-question-list-2042
请问苹果 xcode 版本是多少?目前只支持7.3 版本!
我的是xcode8.2.1
主题帖子积分
我的是xcode8.2.1
目前只支持7.3
Powered by&nbsp>&nbsp
&nbsp>&nbsp
&nbsp>&nbsp
ios 打包 验证应用失败原因汇总
摘要:xcode在打包应用时出现的错误汇总如下:点击Archive-》Validate时出现错误或者警告1.出现错误thisbundleisinvalidwhensupportingiPhone,theexecutablemustincludesupportforthearmv6architecture,unlesstheUIRequireDeviceCapabilitiesincludethe'armv7'capability解决方法:如下图在BuildSetting中设置Arc
xcode在打包应用时出现的错误汇总如下:
点击Archive-》Validate时出现错误或者警告
1. 出现错误
this bundle is invalid when supporting iPhone,the executable must include support for the armv6 architecture,unless the UIRequireDeviceCapabilities include the 'armv7' capability
解决方法:如下图
在Build Setting中设置Architectures为armv6 armv7,Valid Architectures为armv7。具体设置方法如下:
点击Other然后添加armv6和armv7,如下图
2. 出现警告
the app references non-public selectors in Payload/xxxx.app/xxxx:layerNames
注:xxxx为应用的名字,layerNames为出错的一个方法
解决方法:在xcode工程中搜索layerNames这个方法(也可以是其他的方法),看看是否是苹果的private方法或者有重复的文件包含了这个方法,删除掉重复的文件即可,然后重新打包。
3.出现警告
[WARN]Warning: Multiple build commands for output file /xxx 原因:在xcode的资源里面包含了重复的文件
(1).选择你的工程
(2).选择target
(3).点击 Build Phases
(4).展开Copy Bundle Resources
(5).删除里面的刚才提示警告的文件,一般为红色的名字的文件(如果找不到,可以在搜索框中搜索该资源的名字)
以上是的内容,更多
的内容,请您使用右上方搜索功能获取相关信息。
若你要投稿、删除文章请联系邮箱:zixun-group@service.aliyun.com,工作人员会在五个工作日内给你回复。
云服务器 ECS
可弹性伸缩、安全稳定、简单易用
&40.8元/月起
预测未发生的攻击
&24元/月起
为您提供0门槛上云实践机会
你可能还喜欢
你可能感兴趣
阿里云教程中心为您免费提供
ios 打包 验证应用失败原因汇总相关信息,包括
的信息,所有ios 打包 验证应用失败原因汇总相关内容均不代表阿里云的意见!投稿删除文章请联系邮箱:zixun-group@service.aliyun.com,工作人员会在五个工作日内答复
售前咨询热线
服务与支持
资源和社区
关注阿里云
InternationalXcode 打包IPA问题集锦_IOS开发-织梦者
当前位置:&>&&>& > iOS
Xcode 打包IPA问题集锦
Xcode 打包IPA问题集锦
问题一:this action cannot be completed -22421
iOS打包app为IPA包时报错:
this action cannot be completed -22421
iTunes Store operation failed
This action could not be completed ,Try again.
解决办法:
.Applacition Loader提交
删掉之前的包重新Export
问题二:Error ITMS-4238 “Redundant Binary Upload
submit时出现如下错误:Error ITMS-4238 “Redundant Binary Upload”
解决办法:
出现这个问题通常是因为之前上传过app但是没使用,第二次上传build版本冲突。修改软件的build版本大于之前版本即可(工程-属性-General)。现在的ITC提交app,APP版本要和ITC设置的版本相同,如果提交多次,则需要增加build版本好以便区分。
问题三:ERROR ITMS-90188
submit 之后报:ERROR ITMS-90188
解决办法:
打包的同一个版本,每次编包build号(
就是上面说的CFBundleVersion)要递增。
问题四:ERROR ITMS-9
ERROR ITMS-9: “Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘*’ for key ‘com.apple.
原因 : 生成的API 分析文件过大,系统不能在提交前,完成API使用信息的校验。
解决办法:
command+Shift + K
Xcode 缓存,重新打包上传 即可。
问题五:ERROR ITMS-90086
ERROR ITMS-90086:”missing 64-bit support. beginning on february 1, 2015, new iOS apps submitted to the app store must be include 64-bit support and be built with the ios8 SDK……
原因及解决办法:
这是因为现在提交的app必须支持64位,但是使用cocospod时,在Podfile文件里面加上:
post_installdo |installer| installer.project.targets.eachdo |target| target.build_configurations.eachdo |config| config.build_settings['ARCHS'] ="armv7 arm64" endend end
问题六:Error itms-90060
Error itms-90060 This bundle is invalid:
原因及解决办法:
这是在更新软件版本时,填写的版本号格式与上次提交的不一致造成的,改成一致的就行。
问题七:Error itms-4236
Error itms-4236:
原因及解决办法:
这是在提交中版本号带有字符造成的,改为数字即可
问题八:ERROR ITMS-90098
ERROR ITMS-90098
原因及解决办法:
把Build Active Architecture
Only 改为YES就行
问题九:ERROR ITMS-90096
ERROR ITMS-90096
原因及解决办法:
打开图片资源包Images.xcassets
如果没有看到LaunchImage,就添加。LaunchImage将里面空缺的图片补全,注意?必须是*.png。
问题十:ERROR ITMS-90535
ERROR ITMS-90535
解决办法:
找到腾讯的 info.plist
删除其中一行
重新打包上传
问题十一:ERROR ITMS-90062
ERROR ITMS-90062:
“This bundle is invalid. The value for key CFBundleShortVersionString [100] in the Info.plist file must contain a higher version than that of the previously approved version [100].”
原因及解决办法:
提交新版本时 CFBundleVersion 和 CFBundleShortVersionString 都要大于上个版本才行
它的提示应该是你的 CFBundleShortVersionString 没有大于之前的版本号
问题十二:ERROR ITMS-90046:
ERROR ITMS-90046:
“Invalid Code Signing Entitlements.
解决办法:
参考:点我查看详情
问题十二:ERROR ITMS-90022
ERROR ITMS-90022:
“Missing required icon file. The bundle does not contain an app icon for
/ iPod Touch of exactly ‘57x57’ pixels, in .png format for iOS versions & 7.0.”
WARNING ITMS-90025:
“Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for iOS versions &= 7.0.”
原因及解决办法:
从显示出的错误中我们看到项目中缺少了57x57和120x120的PNG格式图片。
解决ERROR ITMS-90022和WARNING ITMS-90025方案是:
一、在文件夹images.xcassets下的文件夹AppIcon.appiconset中添加icon.png、icon@2x.png以及icon-60.png、icon-60@2x.png这些PNG图片
二、打开Contents.json,添加“filename” : “icon.png”
问题十三:ERROR ITMS-9
ERROR ITMS-9
This bundle is invalid The bundle identifier contains disallowed characters
解决办法:
方法(一):删除项目中第三方的plist文件(最主要的腾讯的info.plist)。。。。
方法(二):在腾讯的info.plist中添加Bundle ID 键值对。
这两个error都是第三方的info.plist 文件问题,解决方法
在xcode左下角搜索info.plist 找到第三方的info.plist文件,如友盟中腾讯Api文件夹下的info.plist文件;
找到Bundle version字段 ,添加项目的build号
添加Bundle identifier 字段,并对应添加项目的BundleId号;
找到Bundle versions string, short字段 添加项目的版本号
参考:点我坐飞机
本文持续更新···
以上就是iOS
Xcode 打包IPA问题集锦的全文介绍,希望对您学习和使用ios应用开发有所帮助.
这些内容可能对你也有帮助
更多可查看IOS开发列表页。
猜您也会喜欢这些文章

我要回帖

更多关于 ios下载失败原因 的文章

 

随机推荐