After upgrading XCode6.1 xcode command line build failed

After upgrading Mac OS to Yosemite and Xcode to 6.1, command line xcodebuild failed with following error:
dyld: program was built for Mac OS X and cannot be run in simulator
./RunTests.sh: line 20:   567 Trace/BPT trap: 5       mkdir -p "$CFFIXED_USER_HOME"
2014-11-18 11:07:33.333 GHUnitTests[569:3301313] ***createStorageTaskManagerForPath:withIdentifier failed: Error Domain=NSCocoaErrorDomain Code=4099 "The operation couldn’t be completed. (Cocoa error 4099.)" (The connection to service named com.apple.nsurlstorage-cache was invalidated.) UserInfo=0x7fdaa9b575d0 {NSDebugDescription=The connection to service named com.apple.nsurlstorage-cache was invalidated.}; {
    NSDebugDescription = "The connection to service named com.apple.nsurlstorage-cache was invalidated.";
If anybody is able to resolve this issue, please let me know.
Thanks,
Pravesh

Finally I am able to resolve this issue.
Below API is the main cause of the problem, this API throws "***createStorageTaskManagerForPath:withIdentifier failed:" error on first time execution but hangs on second time execution.This issue is only found via command line execution, if unit tests are executed from direct Xcode then no issues:
[[NSURLCache sharedURLCache] currentDiskUsage]
After commenting above API, everything works fine for me.
Regards,
Pravesh

Similar Messages

  • Reporting success or failure of labview command line build

    We've set up a nightly build for our project, using a batch file for compiling the C++ code in our project on Windows. Thanks to some other posts on this subject, we've gotten the command-line build to work in Labview 8.2. I'd like to add the Labview build command to same batch file as the C++ build. We found how to check within Labview if the project built or failed; however, I didn't see a way to report the success or failure status of the build from the Labview environment back up into the calling batch file (as/just before Labview exits).
    One option is to have the batch file check for the existence of the Labview output executable file(s). Does anyone have a more elegant solution?
    Thanks,
    Adam

    Hello Adam,
    Based on what you have described, your method seems to be the simplest way to do it.  You can not only check whether the executable files were created, but you can also check to see the modification dates to make sure that they are from the latest build.
    body { margin: 0 0 0 0; padding:0 0 0 0 }
    td,div { font-family:Arial;font-size:10pt;vertical-align:top }
    body { margin: 0 0 0 0; padding:0 0 0 0 }
    .transcript { background-color:#d2d2d2; }
    .messageBlock { margin-left:4px; margin-bottom:3px }
    .message { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-spacere; }
    .messageCont { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-spacere;}
    .other { color:#39577a;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .myself { color:#da8103;font-style:normal;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont { font-size:8px;text-align:right; color:#39577a;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .myselfCont { font-size:8px;text-align:right; color:#da8103;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .system { margin-left:4px; word-wrap:break-word;color:#da8103;font-style:normal;font-weight:normal; white-space:-moz-pre-wrap; _white-spacere; }
    .showTimestamp { margin-right:3px; float:right; color:#999999;font-style:normal;font-weight:normal; }
    .other1 { color:#ac2000;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont1 { font-size:8px;text-align:right; color:#ac2000;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other2 { color:#3c9fa8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont2 { font-size:8px;text-align:right; color:#3c9fa8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other3 { color:#e25614;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont3 { font-size:8px;text-align:right; color:#e25614;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other4 { color:#0b6ac8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont4 { font-size:8px;text-align:right; color:#0b6ac8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other5 { color:#b23290;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont5 { font-size:8px;text-align:right; color:#b23290;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other6 { color:#02e7c7;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont6 { font-size:8px;text-align:right; color:#02e7c7;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .other7 { color:#5b3284;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; }
    .otherCont7 { font-size:8px;text-align:right; color:#5b3284;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; }
    .tsDisplay { display:block }To check if they exist, you can use the following batch command to check if a file exists:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    IF EXIST some.txt DOSOMETHING
    Good luck!
    Kameralina
    Ask NI (ni.com/ask)
    Search The KnowledgeBase
    NI Developer Zone
    Measure It. Fix It. ni.com/greenengineering/
    NI Vision ni.com/vision/

  • [svn:osmf:] 14412: Added the Syndication. swc to the command line build config file for the AkamaiPluginSample project .

    Revision: 14412
    Revision: 14412
    Author:   [email protected]
    Date:     2010-02-24 17:48:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Added the Syndication.swc to the command line build config file for the AkamaiPluginSample project.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml

    I think it is not supported through ant script and you may have to contact Oracle Support. Please go through below thread (hisaak's reply) -
    Re: Export OSB configuration jar file using Ant
    Regards,
    Anuj

  • Command Line Build

    I'm trying to do a command line build for my project.  I have a main application, that uses a couple of libraries and there are about 10 modules.
    I can compile the main application using mxmlc, but when I try to compile the modules I get an error saying it can't find the main application.
    My question is, there seems to be 2 paths here.  The mxmlc way that I've been playing with and an ant build way.  I don't mind switching to the ant build way if it's easier, but I just don't know what the recommended or preffered way is.
    Here is my current mxmlc script for the main application.
    %FLEX_home%\mxmlc  -library-path+="../libs/3rd_party/Library1.swc"  -library-path+="../libs/3rd_party/Library2.swc"  -theme=${flexlib}/themes/Halo/halo.swc MyApplication.mxml
    What would the correct way to build the modules be?

    use OJDEPLOY
    Its in your jdeveloper\jdev\bin directory.
    Make sure you can deploy from the jdeveloper ide with the Application>Deploy>whateveryourserver.connectionis
    If you can deploy your ear to the server from the IDE then you can use OJDEPLOY
    .\jdeveloper\jdev\bin\ojdeploy -profile SOME_DEPLOYMENT_PROFILE_NAME -forcerewrite -workspace c:\projects\SomeProject\SomeProject.jws
    The deployment profile is the key that connects JDeveloper UI deployment to the OJDEPLOY command line tool.
    OJDEPLOY will create the ear file or war etc.....
    To deploy this to a sever use the servers deployment tools.
    To deploy to Weblogic I use:
    java weblogic.Deployer -user weblogic -password weblogic1 -deploy -upload C:\path.to.my.ear\MY-EAR-File.ear -name My_Ear_File_name_I_want_to_see_in_weblogic_console -remote -verbose
    Hope this helps...
    JJ Everett

  • [svn:osmf:] 13165: unused import was breaking the command line build.

    Revision: 13165
    Revision: 13165
    Author:   [email protected]
    Date:     2009-12-22 14:04:24 -0800 (Tue, 22 Dec 2009)
    Log Message:
    unused import was breaking the command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/examples/AllExamples.as

    Carey,
    I have tried london1a1's workaround, and it has not made any difference.
    It seems that london1a1 suggests changing the Camera.h file in this location:
              Users/london1a1/Documents/DW_NAF/PhoneGapLib/PhoneGapLib/Classes/Camera.h
    Whereas you're saying to change the Camera.h file in this location:
              /Applications/Adobe Dreamweaver CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib/Classes/Camera.h
    I've tried changing the Camera.h file in both locations.  Neither has made a difference.

  • [svn:osmf:] 13544: Attempt to fix the broken command line build.

    Revision: 13544
    Revision: 13544
    Author:   [email protected]
    Date:     2010-01-15 17:13:13 -0800 (Fri, 15 Jan 2010)
    Log Message:
    Attempt to fix the broken command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    If there was a magic bullet to keeping clients healthy, then keeping clients healthy would not be an issue.
    However, ConfigMgr 2012 does have a a built-in client health tool called ccmeval -- this is run using a scheduled task on client systems every day and does a very good job of keeping clients healthy.
    Using a task sequence or anything directly deployed by ConfigMgr won't work because its a catch-22: how is the ConfigMgr agent supposed to run a deployment if it or a dependent component is not healthy.
    Other things to keep clients healthy:
    - Don't give users local admin privileges.
    - Beat users that hard shutdown or reboot systems (this is IMO the number 1 cause of client health issues)
    - Get rid of XP
    - Use client startup script that supplements ccmeval
    Jason | http://blog.configmgrftw.com

  • [svn:osmf:] 13639: Attempt to fix the command line build.

    Revision: 13639
    Revision: 13639
    Author:   [email protected]
    Date:     2010-01-19 14:58:36 -0800 (Tue, 19 Jan 2010)
    Log Message:
    Attempt to fix the command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    Hi,
    I am  new to this field.
    I imported the strobe media playback to my flash builder.
    I am getting the error
    unknown configuration variable 'swf-version'
    When i imported the strobe media playback in flash builder
    the ADDITIONAL COMPILER ARGUMENTS  in the projec>properties>actionscript compiler>
    was having value
    -swf-version=11 -define CONFIG::LOGGING true -define CONFIG::FLASH_10_1 true
    please help me out

  • [svn:osmf:] 14411: Adding command line build config files for the syndication library.

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

  • Command line build and source control (svn)

    Using Flash Builder, what should be checked into source control to enable a command line build without any user interaction? Just checking in all the source directories is apparently not enough - as far as I can tell the individual projects have to be added to the workspace for the build to work.
    I've experimentally determined that .metadata/.plugins/com.abobe.flexbuiler.project and .metadata/.plugins/org.eclipse.core.resources are the 2 directories required for my build to work. the com.adobe.flexbuilder.project directory is pretty straight forward and it's obvious what needs to get checked in. the org.eclipse.core.resources directory has quite a bit more files contained in it - do all of these need to be checked into source control for the build to work? Deleting the .history folder appears to be ok.

    Hi GB_Austin,
    What you need to do is set up a Single Source Layout (SSL) to
    build with the conditional tags. If you are not sure how to do
    this, let me know. Let's assume you have a SSL that can do this and
    it is called "General". To build it using Command Line Compilation,
    use the following command:
    rhcl [address of your project's xpj file] -l "General" -o
    [address of the output directory]
    The -l (lower case L) tells the caommand line to use this
    SSL. If you leave -l "General" out it will compile your Primary
    Layout instead. If you leave out the -o and the address, the output
    chm file will be placed in the current folder. So the basic command
    is just:
    rhcl [address of your project's xpj file]
    I hope this has helped,
    darkagn

  • Command line build problem

    We have a large help project I'm migrating to RoboHelp 6
    (nearly 3000 topics, 12 chms plus a master file). We generate using
    a script that calls the command-line option. One of the projects
    fails during command line processing, even though I can build it
    from within the GUI without fail. When I run the command line
    command, this is the message that is returned:
    "D:\quartus\robohelp\subs\reference>"d:\Adobe\RoboHelp
    6.0\RoboHTML\RHCL.exe" reference.xpj
    Adobe (R) RoboHelp Project Command Line Compiler version
    6.00.099
    Copyright (C) 2006 Adobe Macromedia Software LLC. All rights
    reserved.
    Project: D:\quartus\robohelp\subs\reference\reference.xpj
    Layout: Microsoft HTML Help.
    Output: D:\quartus\robohelp\reference.chm.
    Scanning project for compilation....
    Error: Failed to scan all the project files. Please use
    RoboHelp to recover the project.
    Unexpected Error: Failed to prepare single source data for
    RHCL. Please try to compile it in RoboHTML."
    If I open the project in the GUI and compile it, then compile
    from the command line, it works fine. But if I clear the directory,
    run the NGCMD.exe command and get the files out and run the
    RHCL.exe, I get the same error message.
    Thanks

    Finally I figured out this problem.
    It is because one .fpj file missing in the image folder.
    When I was using X5, there is no image.fpj in the image
    folder, but after upgrading to RH6, using the command line compiler
    will fail if there is no the .fpj file under the image folder.
    Checking in the image.fpj to the server, then check it out to
    your build machine, everything is OK now.
    AG2MM

  • Getting a stack trace after a crash using a command ant build

    I am trying to do some maintenance on a large project (about 300 files) that cannot be built using an IDE like eclipse or netBeans (the build instructions are in a build.xml file and is built using ant) and after installing the MacOSX 10.5.7 update yesterday the application crashes every time one of my SwingUI elements come up. I don't know of any way for me to get the stack trace so I can try and figure out what's going on. I did test the application on a non intel based mac and it does not crash when the dialogs come up so I think the bug is specific to the update. Can anyone tell me an easy way to get this stack trace? Thanks.

    ender2012 wrote:
    I am trying to do some maintenance on a large project (about 300 files)That's not particularly large.
    that cannot be built using an IDE like eclipse or netBeans (the build instructions are in a build.xml file and is built using ant) I know that Intellij can build using an ant file, so I'd expect that Eclipse and NB can do the same.
    and after installing the MacOSX 10.5.7 update yesterday the application crashes every time one of my SwingUI elements come up. I don't know of any way for me to get the stack trace so I can try and figure out what's going on.Regardless of whether you build in the IDE or on the command line, you should be able to attach a debugger to the app and set a breakpoint on any exception. Even if you don't do that, when it crashes, there should be a stack trace. Unless the problem is in the JVM itself--improper .so file, for example.

  • Command Line Build Option

    Hello All--
    Is there any way I can invoke jdev.exe from the command line with an option to specify that it build my .jpr project file, and without invoking the IDE or requiring any other interaction? I'm new to JDeveloper, and I got used to this nicety over many years of using the -build option of JBuilder (which is now WAY too pricey for my needs). BTW, I know I can use an Ant configuration file, and that is specifically what I am trying to now move away from, and keep things as simple and streamlined as possible.
    If there is currently no way to do this, I'd like to add this to the feature request list. Maybe the developers could squeeze that in before final rollout :)
    Thanks.

    If this is a requirement what is wrong with using Ant? You can generate the Build.xml from the project by using New > Ant > BuildFile from Project so you don't have the pain of maintaining the basic script. Likewise you can use Ant as your build-system in the product as well if you only want to use one method. I find useful for making and testing all in one go.
    Anyway in answer to your question no - to see the command line options to the IDE type jdev -help from the command prompt.

  • Command Line Build - Java heap space error

    I'm attempting to build a Flex app via the command line. Even though the build works fine from within the Flash Builder IDE, I get the following error when I attempt to build via the command line
    C:\code\software\web_stuff>"C:\Program Files\Adobe\Adobe Flash Builder Beta 2\FlashBuilderC.exe" --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "C:\code\software\web_stuff" -file C:\code\software\web_stuff\build.xml WebControlBrowser
    Buildfile: C:\code\software\web_stuff\build.xml
    WebControlBrowser:
    [fb.exportReleaseBuild] Compiling 1 application to C:\code\software\web_stuff\WebControlBrowser\bin-release...
    [fb.exportReleaseBuild] Exception in thread "Code Model Worker" java.lang.OutOfMemoryError: Java heap space
    [fb.exportReleaseBuild]         at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPlatform.java:404)
    [fb.exportReleaseBuild]         at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:282)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.bridge.WorkspaceSpecification.log(WorkspaceS
    pecification.java:136)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.parsing.ASTokenizer.parseTokens(ASTokenizer.
    java:386)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.search.SWCSearchDataProvider.indexFiles(SWCS
    earchDataProvider.java:440)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.search.SWCSearchDataProvider$2.run(SWCSearch
    DataProvider.java:364)
    [fb.exportReleaseBuild]         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    [fb.exportReleaseBuild]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    [fb.exportReleaseBuild]         at java.lang.Thread.run(Unknown Source)
    BUILD FAILED
    C:\code\software\web_stuff\build.xml:4: java.lang.OutOfMemoryError: Java heap space
    Total time: 1 minute 0 seconds
    FlashBuilderC:
    An error has occurred. See the log file
    C:\code\software\web_stuff\.metadata\.log.
    I've attached the .log file that is referenced.

    Why isn't this documented somewhere? or if it is why isn't it easy to find?
    This link ought to have a link to common issues people run into.
    I just spent an hour trying to solve this same problem. FlashbuilderC.exe wouldn't even work on very small projects until I found this post, so thanks.

  • OAF command line build

    Hello,
    does anyone know how to build OAF development from command line
    1. With complete JDeveloper (OAF patch) installed
    2. Without having to completely install JDeveloper (OAF patch)
    regards, Yora

    Yora,
    I haven't tried but when we make a project, this is what the command execute.
    C:\jdevbin\jdev\bin\ojc.exe -noquiet -warn -deprecation:self -encoding Cp1252 -g -d C:\jdevhome\jdev\myclasses\.jsps -makeRegards,
    Gyan

  • WEC2013 command line build

    I have succeeded to setup and build an OS Design with Platform Builder 2013. All necessary files are put to git.
    Now I want to re-build the OS design when some other guys have updated the sources in git. I update all files and want just to execute "Build"/"Rebuild Solution".
    The VS2013 allows to build from command line with this use:
    devenv [solutionfile | projectfile | anyfile.ext] [switches]
    The solution name is ABC. The OS design is in directory product and has the name ABC. So I have a directory tree similar to this:
    C:\Work\ABC.sln
    C:\Work\Product\ABC\ABC.pbxml
    The BSP name is ABC1 and the Configuration Manager shows these configurations: 
    solution configuration: ABC1 X86 Release
    project configuration: ABC1 X86 Release
    I have tried to build the OS design with this command:
    \path\to\devenv ABC.sln /build "ABC1 X86 Release" /project ABC1 /projectconfig "ABC1 X86 Release"
    But devenv always shows an usage message describing that I have to pass the arguements as shown above. I made some variations while omitting options. But the OS design is never built.
    How do you run an unattended build?

    You have to use pbxmlutils to set the environment and then build the OS design with blddemo. See here:
    https://guruce.com/blogpost/commandlinebuild

Maybe you are looking for

  • Skype's Downfall

    Dear Skype Members, I wish to share my personal experience and opinion on Skype's progression and how it has affected me. First of all I am a long time Skype user so I go way back to 2006: i was a client way before the transition and sale to Microsof

  • HP Mini 110-3000 is anything upgradable ?

    Hello HP experts, I need some help. Can I somehow upgrade my video card or RAM on my HP Mini 110-3000 ? Im looking forward to have a good gaming experience so that I dont have to buy any expensives laptop.

  • IPhoto cannot be opened after upgrade to 9.3 in Lion

    After I upgraded to iPhoto 9.3, my iPhoto crashed as follow, appreciate if you could give advice on this. Thanks. Process:         iPhoto [1577] Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier:      com.apple.iPhoto Version

  • SAP NetWeaver Mobile 7.1: New sessions on SDN + RKT Workshops

    Hello mobile community, I'd like to thank the many participants (Seventy!) who attended the first two rollout sessions in the previous weeks. We are offering two more sessions in September and October. For details see my <a href="/people/community.us

  • Chkbox

    Hi All, How to add the refresh button at application tool bar. at report output. regards.