This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // SpecFunctions.swift | |
| // | |
| // Created by Ben Chatelain on 6/6/15. | |
| // Copyright (c) 2015-2016 Ben Chatelain. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/SwiftGenWMO/Base.lproj/Main.storyboard b/SwiftGenWMO/Base.lproj/Main.storyboard | |
| index 3f93ac0..8bf89f1 100644 | |
| --- a/SwiftGenWMO/Base.lproj/Main.storyboard | |
| +++ b/SwiftGenWMO/Base.lproj/Main.storyboard | |
| @@ -1,5 +1,5 @@ | |
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9059" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r"> | |
| +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9059" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r"> | |
| <dependencies> | |
| <deployment identifier="iOS"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Fastlane | |
| module Actions | |
| module SharedValues | |
| CARTHAGE_FRAMEWORK = :CARTHAGE_FRAMEWORK | |
| end | |
| class BuildCarthageFrameworkAction < Action | |
| def self.run(params) | |
| Actions.sh("carthage build --no-skip-current") | |
| Actions.sh("carthage archive #{params[:framework_name]}") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % carthage build --no-skip-current --platform Mac,iOS --verbose 1 ↵ | |
| *** Building scheme "Nimble-OSX" in Nimble.xcodeproj | |
| Build settings from command line: | |
| CODE_SIGN_IDENTITY = | |
| CODE_SIGNING_REQUIRED = NO | |
| ONLY_ACTIVE_ARCH = NO | |
| === BUILD TARGET Nimble-OSX OF PROJECT Nimble WITH CONFIGURATION Release === | |
| Check dependencies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://gist.github.com/jacobvanorder/74e59f85d2994c151889 | |
| desc "Get plist values" | |
| lane :plist do | |
| # plist_file_path = "AppProject/Info.plist" #works | |
| # plist_file_path = sh("xcodebuild -project ../AppProject.xcodeproj -showBuildSettings -configuration Release | grep \"INFOPLIST_FILE\" | sed 's/[ ]*INFOPLIST_FILE = //'") #doesn't work | |
| # dynamically getting the path results in the error `You passed invalid parameters to 'get_info_plist_value'.` | |
| # NOTE: .chomp at end to remove trailing line feed | |
| plist_file_path = sh("xcodebuild -project ../Octopad.xcodeproj -showBuildSettings | grep INFOPLIST_FILE | sed 's/[ ]*INFOPLIST_FILE = //'").chomp | |
| puts plist_file_path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extension NSNotificationCenter { | |
| func postNotificationName(notification: Notifications, object: NSObject?) { | |
| postNotificationName(notification.rawValue, object: object) | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Available keys for -exportOptionsPlist: | |
| compileBitcode : Bool | |
| For non-App Store exports, should Xcode re-compile the app from bitcode? Defaults to YES. | |
| embedOnDemandResourcesAssetPacksInBundle : Bool | |
| For non-App Store exports, if the app uses On Demand Resources and this is YES, asset packs are embedded in the app bundle so that the app can be tested without a server to host asset packs. Defaults to YES unless onDemandResourcesAssetPacksBaseURL is specified. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PhaseScriptExecution Run\ Script /Users/phatblat/Library/Developer/Xcode/DerivedData/ObjectiveGitFramework-drtqacfhlqybdcdpqayztrrwneun/Build/Intermediates/ObjectiveGitFramework.build/Debug/libgit2.build/Script-D0A330F116027F2300A616FA.sh | |
| cd /Users/phatblat/dev/libgit2/objective-git | |
| export ACTION=build | |
| export ALTERNATE_GROUP=staff | |
| export ALTERNATE_MODE=u+w,go-w,a+rX | |
| export ALTERNATE_OWNER=phatblat | |
| export ALWAYS_SEARCH_USER_PATHS=NO | |
| export ALWAYS_USE_SEPARATE_HEADERMAPS=YES | |
| export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer | |
| export APPLE_INTERNAL_DIR=/AppleInternal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // MARK: - Darwin Notifications | |
| static private let defaultsOnPhoneChangedDarwinNotificationName = "UserDefaultsOnPhoneDidChangeDarwinNotification" | |
| static private let defaultsOnWatchChangedDarwinNotificationName = "UserDefaultsOnWatchDidChangeDarwinNotification" | |
| static var notificationNameForReceiving: String? | |
| static var notificationNameForSending: String? | |
| /// Sets up the broadcast and receiving darwin notification names as well as | |
| /// as the necessary observer callbacks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -e | |
| # | |
| # package-ipa.sh | |
| # | |
| # Bundles an iOS app correctly, using the same directory structure that Xcode does when using the export functionality. | |
| # | |
| xcarchive="$1" | |
| output_ipa="$2" |