FAQ Database Discussion Community


How do I make a releases, builds, and/or snapshots with BitBucket?

git,bitbucket,release,snapshot
I have just been working on my engine but after changing focus for a competition, I would like to be able to make releases and builds for my game. I know GitHub has releases, but I am 15 and don't have a steady supply of money to get private repos...

Which certificate should I use to sign my Mac OS X application?

xcode,osx,certificate,release
We are developing a Mac OS X application that we are going to distribute outside the Mac App Store. We ended up having these certificates in the Mac Developers program: and when I go to select one for signing the application, I find this: Am I correct in that I...

How to snapshot a software release (with GitHub)?

git,github,release
This GitHub guide seems to indicate that tag-ing a release snapshots a compiled binary. I was previously under the assumption that tag-ing a release is intended to snapshot the source code state, where the build (or equivalent) directories are often intentionally ignored. Or is that just performed by a commit...

Transitioning an Objective C project to ARC and get rid of multiple app crashes

ios,crash,automatic-ref-counting,release,retain
I spent few days working on an app that was built by my friend last year before the release of iOS 8 and Xcode 6+ I believe. He used several libraries like PMCalender , FXforms, MyBlurIntroductionView, CCPickerView, SWRevealTableView etc and I added MBProgressHUD. Now before the app was running without...

Invalid release error when uploading config file to cloudfoundry

vagrant,virtualbox,release,cloudfoundry,bosh
I'm trying to upload a release to cloud foundry (following these steps for the complete cf installation) after installing bosh-lite. The process failed due to an invalid release as shown below, i tried with different configs cf-200.yml and cf-199.yml. I'm using ubuntu desktop 14.04.2. What I can do? $ bosh...

Is it possible that a file lock never gets released?

java,locking,release,jvm-crash
Given the following file lock request: FileLock lock = null; try { lock = randomAccessFile.getChannel().lock(0, Long.MAX_VALUE, mode.shared); // work with file } finally { if (lock != null) { lock.release(); } } The targetted OS being MS Windows, is there any chance the finally block won't be ever executed, and...

Gradle Build Failure

android,android-gradle,release,build.gradle
My project compiles and executes well on debug mode but when i try to generate a signed apk, errors arise. This appears on the message log: :app:proguardRelease Warning:android.support.v4.app.DialogFragment: can't find referenced class android.support.v4.app.DialogFragment$DialogStyle Warning:android.support.v4.app.FragmentTransaction: can't find referenced class android.support.v4.app.FragmentTransaction$Transit Warning:android.support.v4.view.ViewCompat: can't find referenced class...

Retain and release nsstring

objective-c,release,retain
str is a NSString I own. It is my responsibility to release it, since I call initWithString: if (![[str substringFromIndex:str.length-1] isEqualToString:@"\n"]) { str = [str stringByAppendingString:@"\n"]; } if the line inside the if statement reached, I will lose the ownership of the str var. so my app crashes with a...

FontAwesome icon crash only when release mode

ios,objective-c,xcode,release,font-awesome
When my project in debug mode ,everything work fine. But when I change to release mode, my app crash at [_menuButton setTitleTextAttributes:@{NSFontAttributeName:[UIFont fontWithName:kFontAwesomeFamilyName size:30.0], NSForegroundColorAttributeName:[UIColor whiteColor] } forState:UIControlStateNormal]; the error message is * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from...

When building Go programs for release is it standard practise to just use 'go build'?

go,compilation,release
When building Go programs for release is it standard practise to just use go build without any other options? I ask because when building using go build all debug information is included by default. To remove it you can pass an option to the linker, thus: go build -ldflags "-w"...

Liberty Java Runtime - Websphere release change management

java,release,bluemix
The documentation is very clear on how to manage different versions of JRE but do you know how Bluemix manage the change of websphere release? To be concrete, if I launch today my java application on the current websphere 8.5, can I be confident that, if websphere is upgraded to...

Release Command still working Xcode

xcode,release,objective
I have old project that uses manual memory management. My new projects are using ARC. How can I convert my old project to use ARC as well?

Android release app at specific date and time

android,release
Is there a way to release an Android app at a specific date and time. A client wants the app to be released tomorrow at noon (I want to submit it now and tell the developer console that it should be released tomorrow at noon). I've never seen this before...

Qt error in release

qt,release
when I compile my project as debug, it usually works , but when I try to build in release the following message appears on the compile Output: cc1plus : error: argument to ' O ' should be a non-negative integer, 'g' , 's' or 'fast' make: *** [ main.o ]...

Error: Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle) instead [ValidFragment]

android,android-fragments,apk,release,default-constructor
I have a Fragment named Fragment_scheduled_newdetail and following is a constructor I am passing to this Fragment when launching, I get the following error: Error:Error: Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle) instead [ValidFragment] This seems to happen in Android Studio only (I am porting this...

Visual Studio Web Deploy prompts for password when mode is Release, but not Debug

visual-studio-2013,release,azure-web-sites,webdeploy
We have a web project set up to deploy the same project to a handful of azure websites. When deploying to these websites, deployment in Debug mode works as expected. However when trying to deploy the same project to a website in Release mode, we are always prompted for a...

Some functionality not working in “Release” deploy (but working in “Debug”)

ios,debugging,deployment,xamarin,release
I Have been working on an iOS app, with which (down-to-earth) I send to and receive data from a database. I am currently in the alpha state, where we want to deploy the app as a "Release", and have a group of people test the app to receive feedback e.t.c....

Android Studio Signed APK Not Installing

android,android-studio,apk,release,signed
I am in Android Studio and signing an APK under Build > Generate Signed APK and using the wizard. Everything appears to sign fine and an .apk file is generated. When I go copy this file over to my device (either Nexus 7 or Moto X) it won't install. I...

Gson deserialize null pointer in released apk

android,json,debugging,gson,release
I'm writing an Android app need using gson to deserialize the json string: { "reply_code": 001, "userinfo": { "username": "002", "userip": 003 } } so I create two classes: public class ReturnData { public String reply_code; public userinfo userinfo; } public class userinfo { public String username; public String userip;...

Android activities only for developers, should I leave them in the application release?

android,release
In my application I have a couple of activities that display stuff useful for developers, (or perform certain tasks only useful for developers). What should I do when I get to release the application? Should I leave all that code in there (but hide it somehow) or should I just...

why different behaviour between ipa and running directly on device

ios,debugging,release,ipa
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000ce72bec8 when error like this happens when using ipa, but not run on simulator or directory on device, ...

Android Studio: run/debug release version of app

android,debugging,android-studio,release
I have added gradle build to Android app, and can launch from Android Studio. gradlew build produces debug and released (signed, minified with proguard) versions. buildTypes { debug { zipAlignEnabled true versionNameSuffix "-" + buildDateTime() } release { minifyEnabled true // Eclipse project.properties # proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' zipAlignEnabled true...

Maven: release checkout with version number in path

java,maven,release
I have simple Maven project with release plugin. I use standart procedure like mvn release:prepare release:perform -Pprofile. here is my definition for maven release plugin: <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.5.1</version> <configuration> <arguments>-f pom.xml</arguments> <baseDirectory>${basedir}</baseDirectory> <workingDirectory>${basedir}/releases/</workingDirectory> </configuration> </plugin> After each release I've...

Android Studio Release build gives me: Unfortunately, “App Name” has stopped

android,build,android-studio,release,signing
I'm working on Android Studio 1.1.0. The build variant debug works perfectly but when I tried to run the release build variant the app starts but gives me an "Unfortunately, “App Name” has stopped." I already signed my apps in the past, maybe I'm missing a simple step which I...

Release with maven + gitflow

git,maven,ssh,release,git-flow
i am using Maven + gitflow to generate releases of my application, but when i try start release i got one error. Command to start release: mvn jgitflow:release-start Error: Caused by: org.eclipse.jgit.errors.UnsupportedCredentialItem: ssh://[email protected]:10022: The authenticity of host '127.0.0.1' can't be established. RSA key fingerprint is 7e:03:51:7b:55:a5:cd:de:4c:7a:0d:1b:43:75:08:68. Are you sure you...

OpenGL program works only in Debug mode in Visual Studio 2013

c++,opengl,visual-studio-2013,release
my small OpenGL application works fine in Debug mode, but if I build it in Release mode I often get this error: Shader Creation Error: - Vertex shader failed to compile with the following errors: ERROR: 0:22: error(#132) Syntax error: "]" parse error ERROR: error(#273) 1 compilation errors. No code...

Maven versions-maven-plugin versions plugin 2.2

maven,nullpointerexception,release,maven-release-plugin,versions-maven-plugin
Maven is 3.1.0. I'm using versions-maven-plugin:2.2 in my project's pom.xml (as shown below). Apart from the usual pom.xml file configuration, I'm just showing the main code snapshot below: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>tools-parent</artifactId>...

I switched the Solution Configuration from Debug to Release and it completely destroyed my solution

c#,wpf,visual-studio-2013,release,solution
I've just about completed this project, so I thought I would switch from Debug to Release and test it like that... everything failed. To start with; I keep getting this XAML error : The name 'Foo' does not exist in the namespace "clr-namespace:Bar.Snafu", when where I look into it, it...

Debug mode c# application

c#,debugging,release
I'm wondering what happens when I build a WF Application when it's in debug mode and when it's in release mode. Let's assume I have built a WFA in Release mode. Will the code between #if DEBUG ...code... #endif be built in the resulting .exe file? I'm asking this because...

How to deploy additional artifacts in maven without hardcoding a repository?

maven,release,snapshot,maven-deploy-plugin,deploying
In my maven pom, I have an additional jar-file that I'd like to include with my deployables. I've got the jar-file building successfully, and I figured I'd use the maven-deploy-plugin, like so (version-wise, I'm using 2.8.2 from dependencyManagement): <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <executions> <execution> <id>deploy-special-jar</id> <phase>deploy</phase> <goals> <goal>deploy-file</goal>...