zoukankan      html  css  js  c++  java
  • Flutter:实现iOS无证书打包ipa

    很多时候因为种种原因,我们需要发布ipa,但是苦于没有企业证书,或者说由于某些原因,我们要将ios产物交给第三方进行企业签名,那么我们并没有开发者证书怎么办?网上关于iOS无证书打包ipa的文章也很多,我只说我验证过的一种可靠方式。

    首先,我们先生成一个Runner.app

    flutter build ios --release 

    输出结果:

    Building "com.jarvanmo.fluwx-example" for device (ios-release)...
    Automatically signing iOS for device deployment using specified development team in Xcode project: xxxxxxx
    Running pod install...                                       1.3s
    Starting Xcode build...                                          
     ├─Building Dart code...                             26.7s                                                                                                                                                                                                                        
     ├─Generating dSYM file...                            0.9s                                                                                                                                                                                                                        
     ├─Stripping debug symbols...                         0.7s                                                                                                                                                                                                                        
     ├─Assembling Flutter resources...                    1.2s                                                                                                                                                                                                                        
     └─Compiling, linking and signing...                 15.3s                                                                                                                                                                                                                        
    Xcode build done.                                           54.3s
    Built /Users/xxx/Code/Flutter/fluwx/example/build/ios/iphoneos/Runner.app. 

    我们去寻找/Users/xxx/Code/Flutter/fluwx/example/build/ios/iphoneos/Runner.app. 这个文件,然后我们要创建一个名为Payload的文件夹,注意名字不能错,然后把Runner.app粘贴到Payload文件下,然后对Payload压缩成.zip:

    Runner.app

    然后将Runner.zip重命名为Runner.ipa

    本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

    来源:https://cloud.tencent.com/developer/article/1394918

  • 相关阅读:
    linux 静态库和动态库(共享库)的制作与使用
    实现linux mkdir命令
    行间距和文本样式
    单位和字体
    html标签2
    css层叠样式表
    html标签
    html简介
    数据数组
    Redis的使用
  • 原文地址:https://www.cnblogs.com/yangyxd/p/14334898.html
Copyright © 2011-2022 走看看