Questions tagged [build-time]
75 questions
2
votes
3 answers
Apple Mach-O Linker Error in project with Coredata, when creating NSManagedObject Class
I have a project with Core Data, storyBoard based, and 3 classes. The Core Data purpose is to save locations on a MapKit, but when I create the class "Spot", subclass of NSManagedObject, I get this Buildtime error. It says:
duplicate symbol…

FuManchu
- 145
- 2
- 11
2
votes
1 answer
VS2015, how to add TimeStamp to the output directory name?
I am using VS2015, common C++ project. Is it possible to add current time or date or timestamp to the name of the output directory?
For example: I press the "Build" button at 15:23:45 and the .exe file outputs to the /bin/2016_02_29-15_23_45.

Anton Egorov
- 101
- 1
- 8
2
votes
0 answers
Sudden increase in build times of Maven job in Jenkins
I have a Maven build job setup in Jenkins, with following notable configs :
- It is a multi-module job with 75 modules
- It is built incrementally (build only changed modules)
- Automatic artifact archiving is disabled
The build time is approx 20…

phoenix
- 795
- 1
- 7
- 14
2
votes
1 answer
Android-version-dependent compilation
Is there any kind of conditional compiling for Android? I am trying to use android.webkit.WebView.onPause(), while still also supporting Android API 8.
I tried the solutions suggested by Fiddler and Andrey Voitenkov at Conditional compiling in…

cowlinator
- 7,195
- 6
- 41
- 61
2
votes
1 answer
Add key to plist in buildtime
I want to add a key to [AppName]-Info.plist in built time. It is possible? How can I do this in built time.
Let me explain what i'm trying to do here:
I am writing a library and I want to read bundleIdentifier from app when developer want to release…

Jakub
- 13,712
- 17
- 82
- 139
2
votes
1 answer
How do I use Shader Model 5.0 compiled shaders in Visual Studio 11?
I am trying to have the .hlsl files in my project pre-/ offline/ buildtime compiled for my C++ DirectX 11 project. Visual Studio compiles the .hlsl files into .cso files. I am now having trouble reading .cso files of SM 5.0 into my program to create…

gundamb2
- 258
- 3
- 6
1
vote
0 answers
Android speed up install time during development
I have a rather large Android game that I'm working on and making small changes in code is killing my productivity.
If I make a small change, it has to re-upload and install a 15mb package every time I hit run. I'm running on a real device and it's…

Rev Tyler
- 601
- 7
- 17
1
vote
1 answer
'clang -ftime-trace' does not produce a JSON file
Clang supports the -ftime-trace flag since version 9 which allows to analyze compilation times by producing a JSON file that can be read by Google Chrome. Unfortunately, Clang fails to output a JSON file for me, even for the simplest…

Sedenion
- 5,421
- 2
- 14
- 42
1
vote
0 answers
Is it posible to cache bundles in Webpack dev server?
I have a large Vue application that is being bundled with Webpack. The bundle time is around 2 minutes, and I have not found a way to improve it much.
For development purposes, I am using webpack-dev-middleware and webpack-hot-middleware. I would…

Franco Frizzo
- 11
- 1
1
vote
0 answers
Is Swift done type-check multiple times when building
I'm currently working on build time optimization. I added these 2 lines to the 'Other swift flags' debug option.
After a clean building of the project, I saw some lines give warnings multiple times. Are these warnings coming from type-checking…

excE
- 70
- 9
1
vote
0 answers
How to reduce android studio build time when Testing to a real Device
For you guys who might have computers that have less memory resources, Less than the 8GB recommended by android studio docs, I have a solution on how to reduce the build that android studio consumes while trying to build an debug app to run in your…

Andrew Mititi
- 933
- 12
- 11
1
vote
0 answers
What steps can be taken to reduce link time?
Possible Duplicate:
How to improve link performance for a large C++ application in VS2005
We are building against Visual Studio 7.1, and have two main dlls.
DLL A is 7Mb, and DLL B is 5Mb – However DLL B Takes far longer than A.
What should I…

Peter Nimmo
- 1,045
- 2
- 12
- 25
1
vote
1 answer
How can I force my app to launch with different language
I localized my app in multiple languages, and I want to force it to launch with a specific language. I've tried setting my language in user defaults for "AppleLanguages" key, it worked, but in the first launch, the language is still English. I need…

NabiMo
- 105
- 9
1
vote
2 answers
OutOfMemoryError: GC overhead limit exceeded after Updating gradle plugin in android studio 3.0
I am having problem with gradle after updating my project to com.android.tools.build:gradle:3.0.1.
It was previously working with com.android.tools.build:gradle:2.1.3.
I have already tweak my memory setting which is located in gradle.properties.…

Kaung Khant Thu
- 165
- 9
1
vote
0 answers
Android build time is too long due to more tables in realm database.
Whenever i run the app, it took more time to build in android. i am using realm database. it have more than 300 tables. when i remove the realm table files, it building normally. For offline purpose, we are using this much tables. my app have only…

Sathya
- 49
- 4