Xcode Build Server

a build server protocol implementation for integrate xcode with sourcekit-lsp
Alternatives To Xcode Build Server
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Openrct211,580
a day ago1,502gpl-3.0C++
An open source re-implementation of RollerCoaster Tycoon 2 🎢
Viewfinder1,783
5 years ago4apache-2.0Python
Viewfinder client and server code
X1,606
5 days ago3mitC#
Core basic components: log (file / network), configuration (XML / JSON / HTTP), cache (memory / redis), network (TCP / UDP / HTTP), RPC framework, serialization (binary / XML / JSON), APM performance tracking. 核心基础组件,日志(文件/网络)、配置(XML/Json/Http)、缓存(内存/Redis)、网络(Tcp/Udp/Http)、RPC框架、序列化(Binary/XML/Json)、APM性能追踪。
Webrtc Ios882
13 days ago27apache-2.0Swift
A simple native WebRTC demo iOS app using swift
Express858
54 years agoApril 18, 201614otherSwift
Swift Express is a simple, yet unopinionated web application server written in Swift
Realm Tasks368
a year ago85apache-2.0Swift
To Do app built with Realm, inspired by Clear for iOS
React Native Static Server321131920 days ago19May 13, 202044mitJava
HTTP static file server for React Native
Teleport Nslog241
37 years ago4April 15, 2015otherObjective-C
Remote logging for iOS. Send NSLog messages to backend server.
Langserver Swift168
5 years ago16apache-2.0Swift
A Swift implementation of the open Language Server Protocol.
Dtxmsg151
2 years ago1mitC++
Alternatives To Xcode Build Server
Select To Compare


Alternative Project Comparisons
Readme

Xcode-Build-Server

apple's sourcekit-lsp doesn't support xcode project. but I found it provide a build server protocol to integrate with other build system. this is why I created this repo.

This repo aims to integrate xcode with sourcekit-lsp, so I can develop iOS with my favorate editor.

Install

clone this repo, and just ln -s ABSPATH/TO/xcode-build-server /usr/local/bin

Usage

Manual Parse Xcodebuild log

xcode build, copy the build log, and then in Workspace root, run:

pbpaste | xcode-build-server parse

this should generate buildServer.json, which hook sourcekit-lsp to use the buildServer to provide compile infomation and a .compile hidden file, which provide actual compile command

last, restart your language server, and it should work.

if your build environment changes(eg: add new files, switch sdk, debug/release, conditional macro, etc..) and language server work incorrectly, just repeat previous action to update compile info

PS: Recent Xcode may copy failed. if the case, use the export button to save log to file, and in workspace root run:

xcode-build-server parse <PATH/TO/Log>

Sync Xcodebuild log

xcode-build-server provider post-build-action script to auto parse newest log into .compile and generate buildServer.json.
just add xcode-build-server postaction | bash & into script in scheme -> Build -> Post-actions. and script should choose provide build settings from target

after this, the compile info should auto generate when xcode build and no need further manual parse.

Index And Build

sourcekit-lsp use indexing while build. if you found find definition or references is not work correctly, just build it from xcode to update index

More

current implementation is basicly work, but may have some rough edges. Please report issue if you have any problem. If you want to help, can check the open issue list. PR is always welcome.

Popular Xcode Projects
Popular Server Projects
Popular Integrated Development Environments Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Swift
Server
Xcode
Lsp
Language Server Protocol
Sourcekit