搜索
您的当前位置:首页正文

常用设置+打包报错处理

来源:哗拓教育
1.破解软件:
2.真机编译不通过

尝试Build Settings -> Enable Bitcode设置为NO。

3.打包报错提示项目名称有特殊字符

Build Settings ->packaging->修改product Name

4.解决xcode打印一堆废话

Edit Scheme -> Run -> Arguments -> Environment Variables 添加OS_ACTIVITY_MODE,设置为disable。

5.打包时出现:
      Invalid code signing entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Speicifically value  for key 'application-identifier' in 'Payload/iResus.app/iResus' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.' followed by the bundle identifier,证书bundleid不匹配 重新配置一下,如果还是不行,就清除organizer里面已经编译好的包,再clean一下项目,再退出xcode,重新启动xcode,重新打包,再上传就ok了
6.权限设置:
    Privacy - Camera Usage Description(摄像头) 
    Privacy - Microphone Usage Description(麦克风)
    Privacy - Photo Library Usage Description(图库)
    Privacy - Location When In Use Usage Description       
    Privacy - Location Always Usage Description(位置)
<key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>(开启网络)
7.ios技术研究:文字图片信息扫描识别(百度信息识别)
8.上传appstore报错:
屏幕快照 2017-03-28 下午1.20.20.png

(错误原因:项目名称含有特殊符号,解决办法:build setting->搜索pack-修改product name,去除特殊符号,下面是解决办法截图)

420B4319-BBCA-4E0C-A249-AE4C0571E55C.png
Top