Xcode and Perforce

Has anyone been able to setup XCode to work with a Perforce SCM server? I know that this is supported and can be done, but I have not been able to integrate Perforce into XCode's SCM features. I have installed the P4 command line app and it says that it has authenticated properly. However, when it attempts to list the contents of the repository, the log reads:
Xcode[18884:203] * NSTask: Task create for path '/usr/bin' failed: 13, "Permission denied". Terminating temporary process.
The repository never shows any files.
Any ideas?

To continue the XCode/Perforce integration discussion a little further.
Once they have basic XCode/Perforce integration working has anyone been able to get their project file automatically checking out.
Here is the use case we are having problems with:
1. Your project including all source, project file and resources is version controlled in Perforce
2. You can successfully go to edit a file such as main.m and be prompted to "SCM Edit" the file. Choosing to "SCM Edit" sucesfully checks out the file in perforce.
3. Double clicking on the project file allows you to edit the file BUT you notice it NEVER gets checked out in Perforce. Further when you go to exit XCode it asks if you if you want to "Close and Lose" changes you have made to the project file.
As everyone is aware the project file needs editing quite often. Not having the IDE check it out on your behalf becomes annoying quite quickly.
I have watched the SCM actions reported by XCode closely (apple-shift-v) and the commands that are being executed by XCode seem pretty right. My guess is that xcode isn't interpreting the result of the following command correctly:
p4 opened <base>/projects/myworkspace/main/TestProject.xcodeproj/...
I notice with interest in the "Source Code Management" section here http://developer.apple.com/releasenotes/DeveloperTools/RN-Xcode/index.html that Apple have recently been doing quite a bit of work with Xcode/Perforce integration.
Having project files broken in SCM integration seems obvious. Surely I must be missing something?
Any thoughts/fixes/comments/suggestions or updates very welcome
Thanks for your time,
Xumii Dev Team

Similar Messages

  • How can i create link between ipad(xcode) and webserver?

    Hi, I'm a new to iPad development and i need help,
    i'm not good with english but i try to explain my question:
    how can i create link between ipad(xcode) and webserver?
    (the webserver ".NET" with driver odbc is connected with DB Oracle)
    so, how can my ipad application access to the Oracle DB?
    Create a webservice (.NET) to be place between iPad and DB, is this correct?
    how can i do it?
    which are libraries to include in the xcode's framework?
    thx

    I think the following URL will be your best answer:
    http://stackoverflow.com/questions/3510468/connecting-iphone-to-an-odbc-database

  • Upgrading to xcode and can't connect to the network

    Hi! I use a C++ library in my application which connects to the network (I suppose it uses sockets). I've been using it for months and I was using xcode 3.2.4. Now, I just had the great idea of upgrading to xcode 3.2.5, and I found out my application was crashing with the error:
    If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first. 3.2.5
    Ok, couldn't solve it, so went back to 3.2.4, as suggested somewhere. The application is not crashing anymore, but now the library can't connect anymore to the network. Tried to rebuild it (I didn't write the library but I have the sources) and use the new library, but nothing. Still the library can't connect to the network. I tried with every simulator.
    Any idea what there could be wrong and how I may be able to solve this? Can I somehow delete manually everything related to xcode and the simulator and try to start all over again?
    Thanks!

    I've been able to temporarily solve this problem by removing the entire Development directory and installing again xcode 3.2.4. Even with xcode 3.2.4 however, the same happened, and I had to do this procedure again. Now it seems to be working correctly, but it seems something very strange has happened. Hasn't anyone experienced anything similar?
    Thanks!

  • Why can't I exit Xcode and shut down my computer?

    Hello,
    I have just installed Xcode and I don't think I like it.
    This time I CAN'T Exit Xcode and shut the computer
    down, I can't do nothing. Even if I hold down the
    off/on button nothing will happen, I guess I have to wait
    until the battery runs out! However, any suggestions?

    try to use "Force Quit":
    The choose "XCode" from the list of items to quit:

  • How to create fxplug transition for xcode and quatrz composer

    how to create fxplug transition for xcode and quatrz composer?

    Hi Mohan,
    You have to create and configure your system in the system administration tab in the portal.
    Usually, it looks like the following:
    System from template: JDBC System
    Connector properties
       Connection URL: jdbc:sap:sqlserver://<serverlocation>;DatabaseName=<database name>
       Driver class name: com.sap.portals.jdbc.sqlserver.SQLServerDriver
    User management properties
       User mapping type: admin, user
    Set the system with an alias.
    Go to user administration tab and map the user with VCRole to the configured system
    (the default for MSSQL is usauly user: sa and pw: admin)
    Save your changes and logon to VC with this user.
    The alias name should appear in your list of systems.
    Hope I helped,
    Shay

  • I am new to xCode and SDK Disks. My Interface Builder will not work and 'quit's unexpecteldy'. What can I do? I really want to create an applicaiton. Thanks

    Hi, I am a new user to xCode and just recently downloaded a SDK Disk image and also an older version of xCode from the Apple Developer site. I opened the 'Interface Builder' for the first time and it worked. Next, when I tried to open it again (with and without the xCode 'Mainmenu.xib' attachment file from xCode) it kept showing the message "it quit unexpectedly".
    I need to create an application for a project I am working on. If anyone who can resolve my problem of why the Interface Builder is not working, that will be great.
    If you need additional details (like which versions etc.) please ask, for I am desperate to find an adequate solution to this problem.
    Thanks.

    If you need additional details (like which versions etc.) please ask, for I am desperate to find an adequate solution to this problem.
    Without intending any disrespect, if you had suspected these would be questions and if you're in a hurry for an answer, then why did you exclude the information?  And yes, knowing the Mac OS X version (preferably Mac OS X 10.5.8 or 10.6.7) , as well as the Xcode version might shed some light on this.  Might.  And I'll presume there's a specific reason you downloaded what I will assume is an Xcode3 version.
    Was this an existing Xcode project, or did you start with a new project here?  If it's an existing project, it could well have a corruption or an incompatibility.
    Initially, I'd probably start with a new project, and load in newly-copied source files.  On the off chance the project is corrupted.
    Failing that, I'd deinstall Xcode using the documented procedures, and would then reload it.  If there was an old version of Xcode around on the system, sometimes wonky stuff can happen with an installation.
    And FWIW, the Apple Developer Forums and the Apple mailing lists tend to see far more developer-related traffic than do these particular forums.  (There's an Xcode users' mailing list around which sees regular traffic, too.)

  • Xcode and older Java projects

    Help!
    Recently I've tried to re-run some older Java Xcode projects and have received this error message:
    "Jam is deprecated and has been removed; targets that use Jam must be upgraded to native targets. For more information on doing this, consult the Xcode documentation."
    I can get around the problem by copying the old code into a newly created project; however, when I tried to follow the instruction in the error message and consult the Xcode documentation, I could find no information on how to do this. I have tried searching the user docs for all of the terms in the above message with no useful results. Selecting "Upgrade all targets to native" from the Project menu produces a warning that this is not supported in Java.
    I must be missing something really obvious. Can anybody tell me what is going on?
    Thanks, dcl

    Thanks for the quick reply, Karl.
    I should have mentioned that I'm pretty much a beginner with Xcode and Java (actually, with software in general). I get the impression that you don't think that Xcode is a very good way to develop Java. Why is that?
    For my level of programming it works just fine (usually). If I start with a new project there is no problem; however, I can't go back and work on older projects because of the problem I mentioned in the original email.
    Any clues as to what is going on?

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • LVcompare and Perforce

    Hello,
    I have a problem similar to this one, using LabVIEW and Perforce.
    My problem is slighly different. I use LabVIEW 2012 f5 and Perforce 2012.1
    I want to use LVCompare from LV environnement.
    The compare tool works well inside LV, when using two VIs with different names.
    My problem is that when I want to compare 2 versions of the same VI, using Perforce, LVCompare launches and everything is blocked. I have to kill tasks both for LVCompare and LabVIEW.
    Any suggestion for that problem ?
    with many thanks
    Philippe
    Pièces jointes :
    LV compare.png ‏77 KB

    HI Philippe,
    First of all, which LabVIEW Perforce clients are you using? The command line version ?
    Are you sure to call the LVCompare.exe within Perforce for diff and not another one ?
    Moreover these are steps you can use and check:
    1. Launch Perforce client (P4V ?) 
    2. Edit -> Preferences 
    3. Select the Diff tab 
    4. Click Add 
    o If you already had a tool (LVDiff) setup to diff VIs, select that entry and Click Edit 
    5. Enter this data in the pop-up dialog 
    o Extension: .vi 
    o Application: 
    § C:\Program Files\National Instruments\Shared\LabVIEW Compare\LVCompare.exe (32bit) 
    § C:\Program Files (x86)\National Instruments\Shared\LabVIEW Compare\LVCompare.exe (64bit) 
    o Argument: %1 %2 -nofp -nobdcosm -nobdpos 
    6. Save 
    7. Repeat for .ctl, .vit, and other LV file types 
    o NOTE1: Consider using the '-nofppos' option instead of the '-nofp' especially for .ctl's. Otherwise LV Compare will not show any differences for controls/typedefs. 
    o NOTE2: Do not add .lvproj, .lvlib or .lvclass to the list, as those files are XML files that LV Compare can not handle (as of LV 2012) and are simple to diff with text compare.
    These command line options listed above will: 
    · use the current LV version for the diff (since I did not list a LV version to use) 
    · does not compare the front panels (-nofp) 
    · does not compare front panel objects' position/size (-nofppos) 
    · does not compare the appearance of block diagram objects (-nobdcosm) 
    · does not compare size or position of lock diagram objects (-nobdpos) 
    See the full LV help for a complete list of all command line options.
    Hope it could help !
    Antonin G. Associated LabVIEW Developper
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Communauté francophone des développeurs LabVIEW et des enseignants en STI2D
    Si vous souhaitez partage...

  • How do I completely uninstall Xcode and Developer Tools?

    **Sorry if this isn't the place to ask this, but I really didn't find a section dedicated to this, so I'm asking it here.**
    I installed Xcode and the Mac developer tools from Apple's developer site page and I'm not going to use it (for the time being anyway). I dragged and dropped all of the files from the download into the trash and emptied it. Then, I went to Terminal, and typed in the following:
    sudo /Developer/Library/uninstall-devtools –mode=all
    It gave me a prompt to enter my password before continuing, entered my password, and then that was it! Question is, though, is this really it? Did I really get rid of Xcode and all of the developer stuff that came in the Mac Developer Tools download?

    The only thing that I could find in utilities that started with "X" was something called "X11". Also, I had Xcode 3.1.2 installed, and at first I tried typing this command in Terminal:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=all
    I got this from the "About Xcode 3.1.2" document from Apple's developer site, but it wouldn't work. Then I tried the code that I posted in my first post, and I guess it worked. I actually entered the code
    sudo /Developer/Library/uninstall-devtools –mode=all
    a few times (for closure) and the same thing happened every time: password to continue and, that's it! So I guess it worked. I actually got that code from a blog after googling "how to uninstall xcode 3.1.2 and developer tools"!

  • Xcode and C/C++

    I recently upgraded my Leopard to SL. I then installed Xcode 3.2.1, but I'm no longer able to create regular C/C++ projects. Can anyone help me?

    I'm assuming that by "them" you mean the Carbon project templates. You have to install Xcode 3.1, at least temporarily. You can have Xcode 3.1 and 3.2 installed on the same computer.
    After you install Xcode 3.1, copy the Carbon application templates to the location of user project templates. The Carbon templates are in the following directory:
    XcodeInstallLocation/Library/Xcode/Project Templates/Application
    Where XcodeInstallLocation is the directory where you installed Xcode 3.1. Copy the templates to the following directory:
    /Library/Application Support/Developer/Shared/Xcode/Project Templates/Carbon
    You will have to manually create some of the folders in that path, at least the Project Templates and Carbon folders. After copying the Carbon project templates, restart Xcode and create a new project. Under User Templates, there should be a Carbon entry. Select it and you should be able to choose the Carbon application projects. At this point, you can uninstall Xcode 3.1.

  • Cheapest option for someone new to mac wanting to use xcode and try develop

    Hi
    Apologies if this is in wrong location but couldnt find a general section
    I havent used mac before, looking to find cheapest option to get in to the mac World and try my hand with xcode / develop the likes of an app for iphone for fun
    Had found a imac5 1 but when I researched further it would appear that I might not be able to use this for latest version of xcode and therefore wouldnt suit my need. Shame as I think I could have got it for €300
    Am I correct - in that its not suitable?
    Any suggestions on what else would be suitable or where I could start?
    I couldnt afford to spend €1,000 or more on a new mac whether it was desktop or laptop etc.
    I want to get something thats useable (not from the dark ages) but realise that I may have to go back at least a few years thus the reason I was looking at the imac5,1
    Thanks for your time. Any help advise etc would be appreciated.

    The latest XCode requires OSX Lion. That requires:
    Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of RAM
    Mac OS X 10.6.6 or later with the Mac App Store installed
    At least 4GB of additional disk space to accommodate the download, but more is obviously recommended
    Thus, assuming that whan you said imac5 you were referring to an iMac with an Power PC G5 processor you are right i that that is not compatible.
    There are some Mac with an Intel Core sSolo and just Intel Core Duo processor that will not work with the latest XCode.
    I would look for a Mac Mini 2007 or later since those meed the XCode requirements

  • Do I need xCode and developer tools?

    Hi,
    Do I need Xcode and the developer tools? I'm not a software developer and don't see a time when I will be. I did a quick check and the Developer file on my HD is taking up roughly 6 GB of space. If I don't need them, I'd love to free up that space for other things (i.e. movies, music, photos, etc.). If I don't need them, what is the best way of going about getting rid of them?
    Thanks

    You dont need them at all if you're not a developer or do not use any of the utilities for troubleshooting or any other purpose. To uninstall the developer tools, open the Terminal and enter the following command:
    sudo /Developer/Library/uninstall-devtools -mode=all
    Supply your password, and you should be all set once the script is done running.

  • IPhone, xCode and iTunes

    Hi All
    Got my new iPhone 2 days ago.  Worked a treat with iTunes opening when the phone was connected with a cable.
    Today I installed xCode and now when I plug my iPhone into my Mac I get xCode and not iTunes opening.
    Is there any was of returning to the original behaviour?  (i.e. itunes opening when iPhone conected to my Macbook).
    Thanks in advance
    Sathers

    Cable, or the dock connector on the bottom of the phone. Try cleaning it with a dry toothbrush and/or wooden toothpick.

  • Exporting screen layouts made with Creative Cloud for Xcode and Eclipse.

    Hi,
    I would like to know if it is possible to create the screens layouts (User Interface) with Creative Cloud and export the code to my developers in a way they can add additional coding to the screens I've created.
    I am insterested in export to iOS devices (Xcode) and Android (Eclipse).
    Tks,

    You Deserves cookie. YOU DESERVE COOKIE!!!!!
    Adobe could never figure out why people were experiencing the problem, telling them to go to appdata rename this, uninstall this that, and the freaking coresync x64 wouldn't erase.
    I was lucky that I born in the SSD era that it didn't take me that much time restarting my computer, I had to restart my computer so many times...and all my efforts was unnecessary.
    I couldn't find this thread until today. Thanks. Adobe should request Google to move this thread up.

Maybe you are looking for