• iOS 获取素材


    一、 获取ipa

    法1:[Apple configurator 2 获取ipa]:

    (https://www.jianshu.com/p/fdb50d303ad6)


    法2:[老版本itunes 获取ipa]:

    (https://juejin.im/post/5a3735016fb9a0451f3107e3)


    二、解析 Assets.car 文件

    自己开发了Mac工具:如图

    软件地址

    工具源码:

     https://github.com/iRemark/ReadCar

    #附上一段 读取 txt 文件的代码,和本博客内容无关

            

            //加载本地字txt资源

            let path = Bundle.main.path(forResource:"multiple-device-upload-ios", ofType:"txt")

            let text = try! String(contentsOfFile:path!, encoding: String.Encoding.utf8)

           

            let textList = text.components(separatedBy: " ");

            

            for(index, item) in textList.enumerated() {

                print(item + "   device(index+1)");

            }

            

  • 相关阅读:
    saltstack笔记
    saltstack学习篇
    tomcat学习篇
    memcache笔记
    sed、awk学习篇
    javascript function call
    jvm性能调优工具
    spring boot 单元测试
    activemq 分布式事务
    sringboot 集成dobbo2.5.3
  • 原文地址:https://www.cnblogs.com/saytome/p/10221464.html
Copyright © 2020-2023  润新知