Bots integration with TestFlight - ios

I'm trying to upload a build new created with the continuous integration system provided by Apple, Bots, to TestFlight. I have created an archive post-action in the scheme, but I don't know how to get the path to the build on post-action script.
Does anybody know how were Bots saves the builds and how we get this path, to use it in scripts?
Thanks,
Mihai

They are all stored here: /Library/Server/Xcode/Data/BotRuns
Check out this other post action script.

Related

Fastlane upload_to_testflight lane is looking for target selection manually

Im trying to build and upload an ipa file to testflight using Fastfile, but when i start fastlane command to run, there is pop is coming and that is looking for target selection. Hence it still needs a manual intervention however i aimed to automate the deployment process.
Here it is the screenshot which im telling the actual issue.
I tried using SCHEME to pass TARGET of Xcode workspace , however it still requires to provide target selection manually.
Is there any way to automate the target selection for upload ipa file to Testflight?
Looks like you are missing the target from the parameters on the call:
version = get_version_number(
xcodeproj: "Project.xcodeproj",
target: "App"
)
The docs note the properties here.

Upload your IPA file to internal server using Fastlane

Is it possible to use fastlane to upload beta-testingIPA to your internal server?
Let's say you are using share point and you want to upload your IPA at share point.
Does fastlane has any feature like this?
I saw couple of article where we can upload IPA to AWS. So hoping we can do similar if you configure fastlane for any other server URL.
You can use this plugin I have developed.
https://github.com/MaxToyberman/fastlane-plugin-upload-to-server
here is an example of how to use it, just run it after gym:
gym(scheme: "MyApp")
upload_to_server(
endPoint: 'your endpoint here',
multipartPayload: {
// any parameters can be added here
:iosVersionNumber => options[:version]
},
headers:{
}
)
I think Fastlane only provides Beta deployment to one of the supporting beta testing services namely Testflight,Fabric Beta, HockeyApp and TestFairy. You could refer this links for more info Fastlane Docs

Twitter fabric IOS signup

I'm using Twitter fabric to build twitter login. I have signed up for it and installed the sdk into my app. I'm able to use it fine on my machine.
But when I pushed the code into git and my coworker pulled it, he was not able to build since he was directed to a webpage to signup for Fabric...
Why he need to signup since I have integrated the SDK into my source? If everyone use it need to sign up, how am I suppose to build my app with it?
What did I miss and how to resolve this?
Edit: I found the twitter Fabric app is started automatically when I build my project... How to disable that? I also found Fabric.framework/run is started everytime... How do I build without start it...
Thanks!
Lee
Figured out what's going on...
Just go to build phase in project and delete run script...

create ipa dynamically on server

I wish to create an app with the following requirements:
On the website, the user will upload a pdf. When uploading is done, ipa should be generated dynamically on the server and the user should be provided with a Download ipa link.
I have seen such sites for generating apk dynamically.
Is there a way to create ipa dynamically? If yes then how to make it dynamically?
The xCode Plugin for Jenkins is not up-to-date. The last version of it was with iOS6 (as far I know).
But using "jenkins" with "shenzhen" (in an "Execute shell") could be a good idea.
Link to Shenzhen https://github.com/nomad/Shenzhen (you can try it out in the terminal without jenkins)

Can I build and distribute app to apple store without Xcode UI?

I want to auto build object-c code and distribute app to apple store,by hudson and some scripts.
can I do that? I know xcodebuild can build code by command line. but I don't know whether I can distribute app by command line?
thanks!
No you can't upload the app automatically by a script... Few forms needs to be submitted with Application info in iTunesconnect.. and Apple don't provide anything to automatize that ..

Resources