开发者

How to compile an iPhone application source code on server using command line in Windows?

I have an application in which I change the data on web and then download the files then I compile my iPhone app with data. I just want to create ad-hoc distribution so I have already added devices. So is there a way that anytime I change data on web then I compile my iPhone app over the server using PHP and some command-line script so that I create a ready-made ipa and user can install the application using iTunes? Also is it possible to compile on Windows? Also how do we change ad hoc provision profile? I mean where we can set code sign?

How do we invoke terminal and run command xcodebuild using PHP? Suppose we have mac server then how开发者_JAVA技巧 we invoke terminal and then navigate to project directory and run xcodebuild command?


Check out the OS X commandline program xcodebuild. When your current directory is the project directory (the one with the .xcodeproj file), xcodebuild will compile the primary target. See man xcodebuild for more options.


have you thought about setting up a build server with different scripts that can perform the requirements that you are asking for and of course a Web Interface to interact with it ?

This link describes how to do it, and in the comments of the blog readers mention several other Build Server alternatives with Xcode Project support.

Sorry if this is not the exact answer that you are looking for, but may be a valid angle to solve your problem ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜