iOS 获取素材

 

1、 获取ipa

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

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


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

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

 


2、解析 Assets.car 文件

本身开发了Mac工具:如图post

 

 

 

软件地址spa

 

工具源码:3d

 https://github.com/iRemark/ReadCarcomponent

 

 

 

 

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

        

        //加载本地字txt资源ip

        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: "\n");

        

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

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

        }

相关文章
相关标签/搜索