美文网首页
持续更新备注信息

持续更新备注信息

作者: 不可雕的板蓝根 | 来源:发表于2018-07-31 10:27 被阅读0次

    1、清除svn信息

    find . -type d -name ".svn"|xargs rm -rf
    

    2、转换音乐格式

    afconvert Desktop/1.mp3 Desktop/2.caf -d ima4 -f caff -v
    

    3、转换为java后台推送的p12证书

    openssl x509 -in aps_developer_identity.cer -inform DER -out aps_developer_identity.pem -outform PEM
    
    openssl pkcs12 -nocerts -out PushChat_Noenc.pem -in PushChatKey.p12
    
    openssl pkcs12 -export -in aps_developer_identity.pem -inkey PushChat_Noenc.pem -certfile CertificateSigningRequest.certSigningRequest -name "aps_developer_identity" -out aps_developer_identity.p12
    

    4、查看App Store上审核应用的奔溃日志

    方法2 使用命令行工具symbolicatecrash
    有时候Xcode不能够很好的符号化crash文件。我们这里介绍如何通过symbolicatecrash来手动符号化crash log。
    
    在处理之前,请依然将“.app“, “.dSYM”和 ".crash"文件放到同一个目录下。现在打开终端(Terminal)然后输入如下的命令:
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer 
    
    然后输入命令:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash appName.crash appName.app > appName.log
    
    现在,符号化的crash log就保存在appName.log中了。
    https://developer.apple.com/contact/app-store/?topic=expedite
    

    5、解决TabView与Tap手势冲突

    - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
    {
        if ([NSStringFromClass([touch.view class]) isEqualToString:@"UITableViewCellContentView"]) {
            return NO;
        }
        return  YES;
    }
    

    6、Podfile

    platform :ios, '8.0'
    target "GYProgram" do
    pod 'AFNetworking'
    pod 'SDWebImage'
    pod 'MJRefresh'
    pod 'IQKeyboardManager'
    end
    

    7、https

     Let’s Encrypt 
     Certbot 的官方网站是 https://certbot.eff.org/ ,打开这个链接选择自己使用的 web server 和操作系统,EFF 官方会给出详细的使用方法,如下图,不过我觉得这样还是太复杂,太麻烦,所以建议读者朋友可以不用看这个网站,按照我的方法走一遍即可。我自己的个人网站( https://wenqixiang.com )和本站( https://linuxstory.org )都是按此方法配置,以下以本网站域名( linuxstory.org )举例。
    
    $ sudo apt-get update
    $ sudo apt-get install software-properties-common
    $ sudo add-apt-repository ppa:certbot/certbot
    $ sudo apt-get update
    $ sudo apt-get install python-certbot-apache 
    
    $ sudo certbot --apache
    $ sudo certbot --apache certonly
    

    相关文章

      网友评论

          本文标题:持续更新备注信息

          本文链接:https://www.haomeiwen.com/subject/abycvftx.html