Instantly share code, notes, and snippets.

View Appfile
app_identifier "com.SandeepM.app1" # The bundle identifier of your app
apple_id "sm@gmail.com" # Your Apple email address
team_id "[[DEV_PORTAL_TEAM_ID]]" # Developer Portal Team ID
View .env.App1
SCHEME = "App1"
BUNDLE_IDENTIFIER = "com.SandeepM.app1"
PROVISION_NAME_DEV = "Develop_App1"
PROVISION_NAME_ADHOC = "Adhoc_App1"
PROVISION_NAME_APPSTORE = "Appstore_App1"
APP_NAME = "App1"
View Pluginfile
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
gem 'fastlane-plugin-versioning'
gem 'fastlane-plugin-trainer'
View Fastfile-Testflight-Medium
default_platform :ios
puts "Upload to Testflight"
fastlane_require 'dotenv'
fastlane_require 'trainer'
ENV['FASTLANE_XCODEBUILD_SETTINGS_RETRIES'] = "120" // this is required to run to retry the xcode build job to retry if fails
//avoid hardcoding password try to access the password from Jenkins environment variable script
View GetVowels_objC.m
#import <Foundation/Foundation.h>
@interface FindVowels
{
}
-(int) findVowel:(int)x;
@end
@implementation FindVowels
-(int) findVowel:(char)x {
if(x >= 97)