gpt4 book ai didi

ios - 无法生成位码包,因为

转载 作者:行者123 更新时间:2023-12-03 09:28:47 24 4
gpt4 key购买 nike

基本上我已经构建了一个已编译发布的框架并与 cocoaPods 一起分发。问题是,然后归档此框架应用程序会出现以下错误:
enter image description here

ld: bitcode bundle could not be generated because '/Users/cagrialtay/Desktop/mucbirsebepler/ios/Flutter/Flutter.framework/Flutter' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/cagrialtay/Desktop/mucbirsebepler/ios/Flutter/Flutter.framework/Flutter' for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Search for Enable Bitcode setting and set it to YES for Debug and Release modes.



我尝试过但没有运气的事情
  • 启用 Bitcode 设置为 'YES' 将 '-fembed-bitcode' 添加到 'Other C
  • Flags' 添加 'BITCODE_GENERATION_MODE' 并设置值 'bitcode'
  • 跳过安装到是

  • 我只需要发布版本,所以我没有构建通用框架,只是发布版本......我真的很想解决这个问题,因为它对我来说是一场噩梦......

    最佳答案

    我终于解决了这个问题。这个错误是因为我而发生的。我用flutter开发我的iOS应用程序,所以如果你首先用flutter开发你的ios应用程序,你必须用flutter而不是xcode构建

    flutter clean
    flutter build ios
    然后去

    Xcode -> Product -> Destination -> Any iOS Device

    Xcode-> Product -> Scheme -> choose scheme -> Runner

    Xcode-> Product -> Archive


    或者
    flutter clean
    flutter build ipa
    然后

    Xcode-> Product -> Archive

    关于ios - 无法生成位码包,因为,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61824439/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com