Same Jenkins Configuration for 2 Different Jobs - xcode

Greetings StackOverflow Community!
Is it possible to have the same configuration setup for an XCode Project and an Appcelerator Project in Jenkins?
I haven't really tried creating Titanium Project, and I'm not sure if it can generate an XCode Project (Like in Unity). If it's possible, can we do a generic setup?
EDITED:
Now I know that an Appcelerator Project builds an XCode project as well. Can we add an additional layer in Jenkins which dynamically determines the project then points the Project directory?
Or would it be best to just have a setup guide for XCode project and a different setup guide for Appcelerator Project in Jenkins? (As I'm documenting a guide, by the way)

Since Titanium indeed generates an Xcode project, you could do pretty much anything you'd do with an Xcode project once Titanium is done. So I'd document the Titanium compile step as a stage before continuing with either a Titanium-compiled or plain Xcode project.

Related

What is the best way to set up CI/CD for Xamarin Forms PCL Project

My Xamarin Forms PCL project is included a lot of DDL that requires to connect embedded devices. so i am working on to get an iOS/Android CI/CD set up.
I tried with MSBUILD plugin with Jenkins - its not always building and failing to build dependency projects.
I explored and found out that Cake Build is very good and started that. Still it failing.
Looking for any better solution for Xamarin PCL CI/CD other than Jenkins and build scripts.
I explored and found out that Cake Build is very good and started that. Still it failing.
Did you tried Appcenter Build?
https://appcenter.ms/apps

Release Build Issue in Android - Nativescript+ Angular

I am having an issue while taking a release build in android:
I am having different html files for android and ios for two components. There is no issue while building or running in develop mode.. When I am trying to take a release build this possess as an issue and not able to take the build. Is there any solution for this. Thanks in advance

Rider 2018.1 iOS simulator not running after build

I have a Xamarin iOS and Android project with a dotnet standard 2.0 library that is being shared between the two operating systems. When trying to run my iOS project, the project build fine and doesn't give any errors but Rider cannot seem to deploy it to a simulator.
I will give the following error:
I thought it could be the problem what is described here, but that did not help. When running the project in VS on MacOs, the iOS project also build and runs on a simulator.
Failed to load Xamarin Forms project with .NET Standard 2.0 Lib in Rider
Can anyone help me trying to fix this, please?
You are not the only one with this problem, the problem is already reported multiple time in Riders issue tracker:
https://youtrack.jetbrains.com/issue/RIDER-15544
https://youtrack.jetbrains.com/issue/RIDER-15514
https://youtrack.jetbrains.com/issue/RIDER-15419
According to the last issue, it's fixed in Rider 2018.2, which will probably be released pretty soon.

Rename a Xcode Project to a new app

I have a Xcode8 project with swift3 been released as version 1.0. Then I enhanced the project to version 2.0. But now customer requires to have both these two apps (i.e v1.0 and v2.0) existing on the iPhone at the same time.
I have tried to rename the v2.0 project names, but whenever I install the 2nd project, it overwrites the existing project.
Any suggestion on this? Thanks in advance.
I have found the issue, I need to rename the bundle identifier in the project General settings to make it a new app.

Deploying Phonegap 2.x App Development on another Mac

I used to develop PhoneGap Apps by using 1.x PhoneGap library or Cordova library. After that, I use Cordova 2.x library, and I got confused.
I push my sources to Github and let my friends fork it. We don't know how to deploy the development environment on another Macbook even if that Macbook has the Cordova 2.x library.
First, we found that the project did not have the Cordova lib. So, we Added Cordova 2.x library into the project.But Xcode gave us an error.
If I built Cordova Lib Xcode said :
File
/Users/[MYUSERNAME]/Library/Developer/Xcode/DerivedData/[MYAPPNAME]-gfayprtpflnyaqcwfmepqwlyjglq/Build/Products/Debug-iphonesimulator/libCordova.a
depends on itself. This target might include its own product. build
cordova 2.x Lib
If I build MYAPPNAME Xcode said :
Unknow type name "CDVViewController"
in phonegap folder you find something called update script run it and give it your project adress it should do the job(update references and more) you could find more in phonegap website
Finally I solve my problem by reading this article.
And follow the steps like the author's saying ...
Here is the link : http://zsprawl.com/iOS/2012/10/installing-cordovaphonegap-2-1-for-ios/

Resources