Native Xcode Plugin that allows for Perforce integration
The configuration files on your local computer set up the Perforce connections settings need to allow Xcode to interact with p4 or p4vc.
In this example, you have most of your settings in your ~/.bash_login file; this may reflect a user who only connects to 1 Perforce server for all of their work; the workspace specific info is then held in a perforce config file, set up in the P4CONFIG variable.
export P4CONFIG=perforce.rc
export P4PORT=myawesomedomain.com:1666
export P4USER=jaime_rios
export P4PASSWD=PFourIzGr8
P4CLIENT=jaime_rios_XcodePerforcePlugin
In this example, the user connects to many different Perforce servers, so the ~/.bash_login file only specifies the name of the configuration file in the P4CONFIG variable and the rest of the connection specific information is put into the configuration file
export P4CONFIG=perforce.rc
P4CLIENT=jaime_rios_XcodePerforcePlugin
P4PORT=myawesomedomain.com:1666
P4USER=jaime_rios
P4PASSWD=PFourIzGr8
Run rm -r ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/XcodePerforcePlugin.xcplugin/
Q: I have the p4 command line installed and available when I type "which p4" in the Terminal.app command line, but the plugin says that p4 is not installed. What's wrong?
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16584 | pengyunfei | Branching using xcodep4_jamie_peng | ||
//guest/jaime_rios/XcodePerforcePlugin/README.md | |||||
#9 | 16549 | jaime_rios | Added debugging code to see paths exported by Xcode; modified MD readme file to include preferred location of p4 and p4vc binaries | ||
#8 | 16417 | jaime_rios | Added UUID for Xcode 7.1; Updated plugin icons to use newer Helix themed icons. | ||
#7 | 13688 | jaime_rios | Added Alcatraz in installation section of readme doc. | ||
#6 | 12123 | jaime_rios | Added compatibility for Xcode 6.2; modified the menu layout; added additional screenshot; updated URL for Alcatraz Package Manager. | ||
#5 | 11740 | jaime_rios | Updated readme text with additional known issues; refactored p4 revert function; added perforce icon to alert message. | ||
#4 | 11737 | jaime_rios | Minor change to error checking in debug mode; updated readme document with information pertaining to how to set up settings for workspace and edited MD markup formating. | ||
#3 | 11736 | jaime_rios | Added extra "known issue" in README.md document. | ||
#2 | 11714 | jaime_rios | Added unit tests; fixed bugs found during testing; added Jon Reid's XcodeCoverage files (http://qualitycoding.org/xcode-code-coverage/); modified project to produce code coverage reports. | ||
#1 | 11694 | jaime_rios | Initial add of XcodePerforcePlugin project to guest depot. |