Giter Site home page Giter Site logo

fastlane 打包导出会有问题 about dokit HOT 7 CLOSED

didi avatar didi commented on May 4, 2024
fastlane 打包导出会有问题

from dokit.

Comments (7)

EyreFree avatar EyreFree commented on May 4, 2024

@hackjie

  1. 参考 #40 中的临时解决方案;
  2. 也可以手动将相应 target 的 ENABLE_BITCODE 设为 NO。

from dokit.

hackjie avatar hackjie commented on May 4, 2024

嗯 改 podfile 了:

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            if 'DoraemonKit' == config.build_settings['PRODUCT_NAME']
                config.build_settings['ENABLE_BITCODE'] = 'NO'
            end
        end
    end
end

但是利用 fastlane 最后导出包还是会报上面的问题

from dokit.

albertjson avatar albertjson commented on May 4, 2024

嗯 改 podfile 了:

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            if 'DoraemonKit' == config.build_settings['PRODUCT_NAME']
                config.build_settings['ENABLE_BITCODE'] = 'NO'
            end
        end
    end
end

我按照这样弄了,fastlane打包导出的时候还是会报错

[18:21:37]: ⬆️  Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[18:21:37]: 📋  For the complete and more detailed error log, check the full log at:
[18:21:37]: 📋  /Users/ios1/Library/Logs/gym/WMDoctor-WMDoctor.log
[18:21:37]: 
[18:21:37]: Your `export_method` in gym is defined as `development`
[18:21:37]: which might cause problems when signing your application
[18:21:37]: Are you sure want to build and export for development?
[18:21:37]: Please make sure to define the correct export methods when calling
[18:21:37]: gym in your Fastfile or from the command line

from dokit.

yixiangboy avatar yixiangboy commented on May 4, 2024

可以更新到1.1.5,看看有没有修复?

from dokit.

albertjson avatar albertjson commented on May 4, 2024

可以更新到1.1.5,看看有没有修复?
试过了,已经可以正常fastlane打包了,O(∩_∩)O谢谢

from dokit.

hackjie avatar hackjie commented on May 4, 2024

@albertjson 1.1.5 你还在 podfile 里加那段用来关闭 bitcode 了么

from dokit.

albertjson avatar albertjson commented on May 4, 2024

@albertjson 1.1.5 你还在 podfile 里加那段用来关闭 bitcode 了么

不需要了,我都把那段代码去掉了

from dokit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.