bitcode

XCode 8 bitcode compatibility

烈酒焚心 提交于 2020-01-02 00:59:06
问题 I noticed an issue with the new XCode 8, that makes it impossible to archive on XCode 7 with bitcode. So for example if I'm trying to develop a library on XCode 8, when using on Xcode 7 and enabling bitcode I'm getting this error: Invalid bitcode version (Producer: '800.0.38.0_0' Reader: '703.0.29_0') Is there any workaround for that when developing libraries on Xcode 8 (objective c)? 回答1: In my case, the problem came when i add new pod library which change bitcode compress. So changing

Bitcode and dylib

非 Y 不嫁゛ 提交于 2019-12-24 00:33:33
问题 I am trying to compile a C library to use it in my iOS project, and I want to embed bitcode. I can successfully build static libraries targeting each arch. And those static library do contain bitcode (checked using otool), but the dynamic library doesn't contain bitcode. Why? Is bitcode not supported in dylib? The library I am trying to build is xz. Here is the script build_iOS() { ARCH=$1 if [ $ARCH == "i386" ] || [ $ARCH == "x86_64" ]; then SDKROOT="$(xcodebuild -version -sdk

Bitcode WatchOS3 - how to generate

北城以北 提交于 2019-12-23 17:13:47
问题 I am attempting to upload a watchOS3 app to the apple store, however I received a rejection (from apple) thats similar the below Invalid Executable - The executable 'someWatch Extension' does not contain bitcode. Once these issues have been corrected, you can then redeliver the corrected binary. How can I resolve this? It seems like bitcode is mandatory as there is no longer a build setting in Xcode for my watch application to simply "Enable Bitcode=No". I have also tried looking into running

What is exact connection between BITCODE_ENABLE and dylib framework?

跟風遠走 提交于 2019-12-23 09:40:21
问题 I have seen many reference Link for find out connection between the BITCODE_ENABLE and .dylib framework, But i can not get positive result. Please anyone help me what is the exact connection between both and also mention use of BITCODE_ENABLE Clearly. 回答1: I think you're confusing what Bitcode actually is. Bitcode can be used with both static frameworks and dynamic libraries. From the Apple docs: Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes

Error while exporting with Bitcode enabled (symbol not found for architecture armv7)

牧云@^-^@ 提交于 2019-12-23 07:42:04
问题 I have a fairly old project with a minimum deployment target set to iOS 8.4. For technical reasons bitcode must be enabled. The project builds and runs fine . When trying to export an archived build however, things go wrong. I am using Xcode 8.2.1. When I create a test build (signed with Enterprise certificate) with the option Rebuild from bitcode enabled, the export fails at the stage when it is compiling bitcode. Here is the relevant part of the log: "/Applications/Xcode.app/Contents

How to enable or disable bitcode for specific library or SDK in Xcode project

微笑、不失礼 提交于 2019-12-22 06:58:08
问题 I have many external libraries and SDKs in my project. And some of them does not support bitcode . So I have to disable bitcode . But some libraries like ParseCrashReporting , does require it to symbolicate the crash reports. I want to disable and enable bitcode for specific libraries. How I can achieve that? Is it even possible? Thanks 回答1: You can't. The library itself has to be built with support of bitcode. However, in case you have to ship you app right now and you don't have time for

Enabling Bitcode for iOS 9 increases IPA size 3x, is this the size on the app store?

耗尽温柔 提交于 2019-12-22 04:38:20
问题 Before iOS 9, our IPA size was roughly 6MB. After Archiving and exporting our IPA through Xcode 7, our IPA increased to about 17MB. Upon further investigation, we found out that enabling the "Bitcode" option in the export settings is what caused the large filesize jump. My question is this: if we enable this option, will our IPA size be 17MB in the store? Or does Apple do something with the bundle to make it roughly the same size as before (6MB). There's not much info about Bitcode out there

'Invalid bitcode version (Producer: '902.0.39.2_0' Reader: '900.0.37_0')'

泪湿孤枕 提交于 2019-12-22 03:49:12
问题 I'm using Xcode 9.0 . My pod file : pod 'Alamofire', '~> 4.3' pod 'SwiftyJSON' pod 'AlamofireSwiftyJSON' pod 'KSToastView', '0.5.7' pod 'SDWebImage', '~> 4.0' pod 'NVActivityIndicatorView' pod 'Firebase/Core' pod 'Firebase/Messaging' pod 'CarbonKit' pod 'SBPickerSelector' pod 'SwiftyStoreKit' pod 'Fabric' pod 'Crashlytics' pod 'SAMKeychain', '1.5.2' My error log: ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '902.0.39.2_0' Reader: '900.0.37_0')',

bitcode bundle could not be generated because iOS Charts

我怕爱的太早我们不能终老 提交于 2019-12-22 00:26:40
问题 I make app with 3d library iOS-Charts. But I get the error bitcode bundle could not be generated because was built without full bitcode. from today widget. I installed it with help Carthage and I did all the instructions. I do not know how can I fix it? I made the following screenshot from today widget target. 回答1: Please check this SO thread and see if adding the -fembed-bitcode flag in build settings works for you. iOS library to BitCode 回答2: Please try to change Enable Bitcode to No in

How can I stop Xamarin from building my app with bitcode enabled?

烂漫一生 提交于 2019-12-21 12:19:37
问题 In the configurations from my iOS build, there is no option to disable bitcode. While in Xcode it is possible to set ENABLE_BITCODE=NO I need this because my linked frameworks are not build with bitcode, and nowadays Apple does not allow half-bitcode-compiled apps anymore. 回答1: In your .csproj for your iOS application, search for the PropertyGroup for the release configuration that you need to turn off bit code for, i.e.: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release