Questions tagged [release-builds]

77 questions
3
votes
1 answer

What does CMAKE_BUILD_TYPE affect, other than the compiler flag selection?

I know that if if we set -DCMAKE_BUILD_TYPE=Release (or Debug etc.), then the values of CMAKE_C_FLAGS_RELEASE and CMAKE_CXX_FLAGS_RELEASE will be appended to CMAKE_C_FLAGS and CMAKE_C_FLAGS respectively. But is this the only effect of setting the…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
3
votes
0 answers

Android Studio only builds apk for x86_64 native platforms - don't know why?

I'm using Android Studio 2.2.3 trying to make a release build with following splits splits { abi { enable true reset() include 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a' //select ABIs to…
3
votes
2 answers

Creating release build for dynamic framework

I am developing a dynamic framework using Xcode 6.4. I am able to generate the debug build for it which is available in the Debug-iphoneos and Debug-iphonesimulator folders under the Products group. However, I am not able to generate the release…
Priya
  • 41
  • 5
3
votes
2 answers

ARC seems to overrelease objects referenced in blocks that are created and dispatched in a loop

I am trying to put some complex computations on a background thread using dispatch_async but the objects I am using in the blocks seem to be overreleased. I am using ARC so I assumed that I do not have to care much about retain and release, but…
2
votes
1 answer

How to eliminate fonts which are not used to reduce release build

Apk Analyzer package.json includes "rnpm": { "assets": [ "./assets/fonts" ] } "react-native-vector-icons": "9.2.0",
2
votes
0 answers

How to solve error on releasing app bundle in flutter as given below

I am a Flutter newbie, I was trying to release the build of an app but I am getting the below error on entering the flutter command "flutter build appbundle" on my mac. FAILURE: Build failed with an exception. * What went wrong: Execution failed…
S4NJ33V
  • 21
  • 1
  • 4
2
votes
2 answers

Task :app:bundleReleaseJsAndAssets FAILED - React Native - Android

Getting this error in my React-Native app when I run on Android using npx react-native run-android --variant=release or generate a Release Build. I tried whatever solutions I found on Stackoverflow and GitHub like - upgrading gradle build tools…
2
votes
5 answers

How can I link against the debug/release libraries automatically in VC++ 6.0?

I am trying to maintain a program written 5 years ago in VC++ 6.0. It uses our 'common' libraries. The trouble I have is that it either links against the debug version of these libraries or the Release version, depending on whether I have the…
user41013
  • 1,251
  • 2
  • 16
  • 25
2
votes
2 answers

Release build problems; Passing a std::string object to a static library function

This is the first time I've tried to use the release build with Visual C++ 2005 and it seems there's definitely some differences. My current error is: Unhandled exception at 0x6ef7d628 (msvcr80d.dll) in : 0xC0000005: Access violation…
Mathmagician
  • 179
  • 1
  • 8
2
votes
0 answers

warning: Insecure world writable dir /Users/fee/Documents/flutter/bin in PATH, mode 040707

im trying to build my apk for ios using flutter but the Cocoapods throw an error which is warning: Insecure world writable dir /Users/fee/Documents/flutter/bin in PATH, mode 040707 i look in this but i dont know how to apply in my project, can…
Ken Verganio
  • 532
  • 8
  • 21
2
votes
0 answers

Ios build release build issue flutter App

Flutter app when installing the iOS app in simulator from Xcode it works good, it is not working in the build which I distributed the iOS app using ADHOC mode it is not working properly and the ui for some screens is not loaded properly, Is there…
Praveen
  • 31
  • 3
2
votes
1 answer

What should I do in CMakeLists.txt w.r.t. the build type?

I'm the author of some library which gets built using CMake. If a user specifies a build type they run cmake - I can oblige that, no problem. But what is the best practice when a user doesn't specify a build type? Should I just ignore it? Should I…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
2
votes
0 answers

How to debug a release build in .NET Core

Normally we cannot debug a release build in Visual Studio as the code has been optimised. But for .NET Framework applications, we can follow the way described in Debugging Optimized Code in .NET, so JIT will not optimize the code and we can debug…
cateyes
  • 5,208
  • 2
  • 24
  • 31
2
votes
1 answer

Javascript interface not working in release build

I have a Webview with some Javascript interface public class WebAppInterface { @JavascriptInterface void buttonClick() { listener.onButtonClicked(); } } This is how it's added to the view webView.addJavascriptInterface(new…
Andrey Rankov
  • 1,964
  • 2
  • 17
  • 33
2
votes
0 answers

Visual Studio Release build deploys to Hololens, but Master build doesn't - Activation of Windows Store failed

I am using spectator view for recording and streaming our Hololens app(link) and Visual Studio 2017 to build our solution for the Hololens. I have been using the following Visual Studio build configurations: Master, x86. However, with the same…