bitcode

ld: -bundle and -bitcode_bundle cannot be used together

空扰寡人 提交于 2021-01-27 04:51:32
问题 i'm building llvm/clang 3.7 with bitcode support ( -fembed-bitcode ). Some modules can't be linked due to error: ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together clang: error: linker command failed with exit code 1 (use -v to see invocation) Full error output: Linking CXX shared module ../../lib/BugpointPasses.dylib cd /Volumes/Transcend/dev/src/llvm_37_ios_any_build/tools/bugpoint-passes && /usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_link

ld: -bundle and -bitcode_bundle cannot be used together

北城余情 提交于 2021-01-27 04:51:28
问题 i'm building llvm/clang 3.7 with bitcode support ( -fembed-bitcode ). Some modules can't be linked due to error: ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together clang: error: linker command failed with exit code 1 (use -v to see invocation) Full error output: Linking CXX shared module ../../lib/BugpointPasses.dylib cd /Volumes/Transcend/dev/src/llvm_37_ios_any_build/tools/bugpoint-passes && /usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_link

iOS/macOS app distribution failed while using framework after upgrading Xcode12 and macOS BigSur

佐手、 提交于 2021-01-10 08:19:25
问题 We are unable to distribute our sample app which uses our framework as well as our users can't. While archiving and distributing to AppStore, the app is rejected with the following message: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store.

iOS/macOS app distribution failed while using framework after upgrading Xcode12 and macOS BigSur

不羁岁月 提交于 2021-01-10 08:17:11
问题 We are unable to distribute our sample app which uses our framework as well as our users can't. While archiving and distributing to AppStore, the app is rejected with the following message: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store.

iOS/macOS app distribution failed while using framework after upgrading Xcode12 and macOS BigSur

半世苍凉 提交于 2021-01-10 08:16:38
问题 We are unable to distribute our sample app which uses our framework as well as our users can't. While archiving and distributing to AppStore, the app is rejected with the following message: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store.

How to enable Bitcode for WebRTC iOS framework?

谁都会走 提交于 2020-12-08 08:00:32
问题 How can I compile WebRTC iOS framework with Bitcode enabled. Currently I have to disable the Bitcode of my project due to WebRTC framework. 回答1: You will need to build it yourself. Something like: # Clone the depot tools git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git # Add the tools to the path export PATH=$PATH:"`pwd`/depot_tools" # Download the WebRTC source code mkdir webrtc_ios cd webrtc_ios # This will take some time fetch --nohooks webrtc_ios gclient sync #

How to enable Bitcode for WebRTC iOS framework?

一曲冷凌霜 提交于 2020-12-08 08:00:18
问题 How can I compile WebRTC iOS framework with Bitcode enabled. Currently I have to disable the Bitcode of my project due to WebRTC framework. 回答1: You will need to build it yourself. Something like: # Clone the depot tools git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git # Add the tools to the path export PATH=$PATH:"`pwd`/depot_tools" # Download the WebRTC source code mkdir webrtc_ios cd webrtc_ios # This will take some time fetch --nohooks webrtc_ios gclient sync #

How to disable Bitcode on Carthage dependencies

﹥>﹥吖頭↗ 提交于 2020-02-05 03:27:44
问题 How to disable Bitcode on dependencies where it's enabled? This question is the opposite scenario of the question "Bitcode disabled on Carthage dependencies". Unfortunately, while the given answer by the OP was using a nice trick by stripping all instances of ENABLE_BITCODE = NO; in the project file, it's inapplicable to add that line where it's missing. 来源: https://stackoverflow.com/questions/55607492/how-to-disable-bitcode-on-carthage-dependencies

Xcode 7 what happens when I disable bitcode for a project?

独自空忆成欢 提交于 2020-01-05 14:15:51
问题 I'm trying to understand what are the implications of disabling bitcode for a project. As far as I understand Apple intends to use it for some behind the scene optimizations for future API changes. However, a lot of the frameworks/Cocoapods that I'm using don't use bitcode, so I had to disable it. Should I try to resolve the issue rather than just disabling bitcode? What are the advantages of shipping a binary with bitcode enabled? What are the implications of disabling bitcode for a project

Xcode 7 what happens when I disable bitcode for a project?

若如初见. 提交于 2020-01-05 14:14:03
问题 I'm trying to understand what are the implications of disabling bitcode for a project. As far as I understand Apple intends to use it for some behind the scene optimizations for future API changes. However, a lot of the frameworks/Cocoapods that I'm using don't use bitcode, so I had to disable it. Should I try to resolve the issue rather than just disabling bitcode? What are the advantages of shipping a binary with bitcode enabled? What are the implications of disabling bitcode for a project