Skip to content

Instantly share code, notes, and snippets.

View andreas-nesheim's full-sized avatar

Andreas Nesheim andreas-nesheim

View GitHub Profile
touch ~/.bash_profile; open ~/.bash_profile
export PATH="$HOME/.fastlane/bin:$PATH"
# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools
fastlane_version "1.109.0"
# This value helps us track success metrics for Fastfiles
# we automatically generate. Feel free to remove this line
# once you get things running smoothly!
generated_fastfile_id "eaa63146-cce2-47fa-b5d5-4884f76ecada"
# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools
fastlane_version "1.109.0"
# This value helps us track success metrics for Fastfiles
# we automatically generate. Feel free to remove this line
# once you get things running smoothly!
generated_fastfile_id "eaa63146-cce2-47fa-b5d5-4884f76ecada"
using Capgemini.Mobile.Framework;
using Firebase.Analytics;
using Firebase.CloudMessaging;
using Foundation;
using HockeyApp.iOS;
using Njord.Iphone.Utils;
using Njord.Mobile.Common._Framework.Interceptors;
using Njord.Mobile.Common._Framework.Messaging;
using Njord.Mobile.Common.DomainServices;
using Njord.Mobile.Common.Interfaces.Logging;
# get current build number
build_number = get_info_plist_value(
key: 'CFBundleVersion',
path: 'path/to/projects/Info.plist'
)
# convert the build number from string to int, increment and convert back to string
build_number = Integer(build_number)
build_number += 1
build_number = build_number.to_s
xamarin_update_configuration(
property: 'CodesignKey',
value: 'iPhone Developer: John Smith (12345ABCDE)',
xamarin_project_file: 'path/to/MyProject.csproj',
build_type: 'Debug',
platform: 'iPhone'
)
xamarin_update_configuration(
property: 'CodesignProvision',
hockey(
api_token: 'insertyourtokenhere',
ipa: './bin/iPhone/Debug/MyProject.ipa'
)
# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools
fastlane_version "1.109.0"
# This value helps us track success metrics for Fastfiles
# we automatically generate. Feel free to remove this line
# once you get things running smoothly!
generated_fastfile_id "eaa63146-cce2-47fa-b5d5-4884f76ecada"
private void Button_Clicked(object sender, EventArgs e)
{
var bridgeIP = "XXX.XXX.XX.XX";
var appKey = "abcdefghijklmnopqrstuvwxyz1234567890";
ILocalHueClient client = new LocalHueClient(bridgeIP);
client.Initialize(appKey);
}