bitcode

iOS MobileVLCKit archive problems

爷,独闯天下 提交于 2019-12-14 03:43:08
问题 While trying archiving my project I got this error : ld: bitcode bundle could not be generated because '/Users//MobileVLCKit/MobileVLCKit.framework/MobileVLCKit(VLCEmbeddedDialogProvider.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file '/Users//MobileVLCKit/MobileVLCKit.framework/MobileVLCKit' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Tried to

Bundled framework issues with Bitcode compilation

不想你离开。 提交于 2019-12-11 09:54:54
问题 I have a watchOS app which includes a framework. Suddenly with Xcode 7.3, I have been having issues with Release builds. I had to follow the manual instructions found here to solve my Release build issues. My app compiles on all build configurations now. When I try to export my app from the Xcode Organizer, I'm faced with other errors. From the very verbose console output, I found the last error message in the process: description = "failed to compile bitcode for Coventry-Watch:\n Debug: SDK

Extracting LLVM::Module from LLVM::ModuleRef

别说谁变了你拦得住时间么 提交于 2019-12-11 08:32:28
问题 I'm trying to build a simple bitcode reader (rather than a dedicated pass, in order to be able to debug more easily) and I have some problems extracting the module. Here's what I have inside main: LLVMModuleRef module; char *message = nullptr; LLVMMemoryBufferRef memoryBuffer; LLVMCreateMemoryBufferWithContentsOfFile( argv[1], &memoryBuffer, &message); LLVMParseBitcode2(memoryBuffer,&module); // for (auto func:module->getFunctionList()) { /* ... */ } How can I extract Module from

Enable bitcode in Xamarin iOS

安稳与你 提交于 2019-12-11 06:27:42
问题 I've developed a cross platform for iOS and android using Xamarin Forms. My app uses several screens and some tjird party dependencies such as Facebook, google maps and firebase. Everything works good until I went to compile it in release mode. Assuming I want to support both armv7 and arm64, these are the app size: * without linking and optimization: 103mb. * with full optimization (link all + LLVM): 73mv. With the optimization and without armv7 I'm getting 40mb - that's my desired result

Method to determine whether a binary contains Bitcode no longer seems to work

狂风中的少年 提交于 2019-12-11 01:06:10
问题 In my search for a method to determine if a iOS binary was build with Bitcode, I found the following post: How to check if a framework is BITCODE supported for Xcode7 Here, the following method was suggested to determine if bitcode is present in a binary: $ otool -l libName.o | grep __LLVM However, I have tried this on several binaries with no success. One of them is a library I know has bitcode since after I changed the flag on its project a build error went away. Another one of them is a

Sudden Error when Uploading to iTunesConnect: ITMS-90635 Invalid Mach-O Format / ENABLE_BITCODE

扶醉桌前 提交于 2019-12-10 14:42:43
问题 Last week i was able to upload my ipa to iTunesConnect just fine. But as of today I am getting the following error when uploading via Application Loader: ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "Application.app/Frameworks/PSPDFKit.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains armv7(machine code) and arm64(machine code), while the nested bundle Mach-O contains armv7(bitcode and machine code) and arm64(bitcode and machine

Xcode7 编译报错 -fembed-bitcode 错误

[亡魂溺海] 提交于 2019-12-10 01:30:54
意思说 :- fembed bitcode 不支持iOS 6之前的版本 先说解决办法:在Build Settings 中搜索Enable Bitcode ,将其中的YES 改成 NO 就ok了 简单说一下原因:Xcode7中,对于iOS应用来说,Bitcode是可选的,但对于如今新出的watchOS而言, Bitcode 是必须的。现在由于我们的工程中使用了未包含bitcode框架,导致编译失败。所以,我们需要找Enable Bitcode选项,将默认的 Yes 改为 No 即可临时解决这个问题。那什么时候可以彻底根治这个问题呢,只有等到你工程中所有使用的框架均支持Bitcode才行。 来源: oschina 链接: https://my.oschina.net/u/2472425/blog/534789

dont run app with open-cv in xcode 7?

谁都会走 提交于 2019-12-08 00:44:08
问题 I install opencv how pods, and when i run app in my ios devise i have this issue. opencv2.framework/opencv2(cap_ios_photo_camera.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7 回答1: In the build settings for your App Target, search for "Bitcode" and set Bitcode Enabled to NO. Although I recommend you get the framework vendor to supply a

Bitcode disabled on Carthage dependencies

大憨熊 提交于 2019-12-07 13:34:02
问题 Scenario My project (codebase shared for iOS/watchOS/tvOS ) has build settings with ENABLE_BITCODE = YES and takes advantage of fundamental libraries which are not yet supporting bitcode, although quoting Apple documentation in App Thinning Bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and frameworks in the app bundle (all targets in the project) need to include bitcode I am currently integrating those fundamental

App Processing Error: Unexpected CFBundleExecutable Key

梦想的初衷 提交于 2019-12-07 11:11:03
问题 I am trying to submit to Apple with bitCode enabled. Everytime i submit I am getting this email. We have discovered one or more issues with your recent delivery for "MyAPPP". To process your delivery, the following issues must be corrected: Unexpected CFBundleExecutable Key - The bundle at '/Payload/MyAPPP.app/Base.lproj' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using