I'm not sure if this helps the discussion but I ended up creating a Run Script before Compilation phase in XCode that simply checks a few points. I also exclude the mentioned Carthage/.Cartfile.resolved file from my repo via my .gitignore file. Conditions the script checks:
If Carthage/Build directory exists
If the file Carthage/.Cartfile.resolved exists
If the files Cartfile.resolved and Carthage/.Cartfile.resolved don't differ
I'm not sure if this helps the discussion but I ended up creating a Run Script before Compilation phase in XCode that simply checks a few points. I also exclude the mentioned Carthage/.Cartfile.resolved file from my repo via my .gitignore file. Conditions the script checks:
If Carthage/Build directory exists
If the file Carthage/.Cartfile.resolved exists
If the files Cartfile.resolved and Carthage/.Cartfile.resolved don't differ
This file contains 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
Thread 5Queue : com.apple.root.user-initiated-qos (concurrent) | |
#0 0x000000010f181d2b in objc_release () | |
#1 0x000000010f1831d1 in (anonymous namespace)::AutoreleasePoolPage::pop(void*) () | |
#2 0x00000001125037ce in _dispatch_root_queue_drain () | |
#3 0x0000000112503059 in _dispatch_worker_thread3 () | |
#4 0x00000001128cb4de in _pthread_wqthread () | |
#5 0x00000001128c9341 in start_wqthread () |
This file contains 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
[4/5/17, 11:32:17 AM] Shcherbinin Anatoly: @question может кто-нибудь знает как заставить подписываться встроенные в фреймворк фреймворки? | |
[4/5/17, 11:33:04 AM] Shcherbinin Anatoly: вылетает no suitable image found. Did find:... required code signature missing for... | |
[4/5/17, 12:01:47 PM] Dmitry Savenok: 1) можно добавить в Other Code Signing Flags строку --deep --force | |
2) можно добавить build phase в которой делать | |
codesign --deep --force -v -s "$CODE_SIGN_IDENTITY" "$TARGET_BUILD_DIR/$EXECUTABLE_NAME.app" | |
лучше 1е |
This file contains 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
// | |
// BubbleView1.m | |
// ChatBubbleGuiPrototype | |
// | |
// Created by Alexander Dodatko on 4/5/17. | |
// Copyright © 2017 monspace. All rights reserved. | |
// | |
#import "BubbleView1.h" |
This file contains 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
import UIKit | |
import AsyncDisplayKit | |
import NMessenger | |
import VHChatLogic | |
class ChatRoomView: NMessengerViewController, ViewType | |
{ | |
public var controller: ChatRoomController? | |
private let vhBubbleConfig = VHBubbleConfiguration() | |
override func viewDidLoad() |
This file contains 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
// | |
// AfnImageCacheForAsdk.swift | |
// | |
// Created by Alexander Dodatko on 4/26/17. | |
// | |
import Foundation | |
import AlamofireImage | |
import AsyncDisplayKit |
This file contains 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
enum APIError : ErrorType { | |
// Can't connect to the server (maybe offline?) | |
case ConnectionError(error: NSError) | |
// The server responded with a non 200 status code | |
case ServerError(statusCode: Int, error: NSError) | |
// We got no data (0 bytes) back from the server | |
case NoDataError | |
// The server response can't be converted from JSON to a Dictionary | |
case JSONSerializationError(error: ErrorType) | |
// The Argo decoding Failed |
This file contains 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
import Foundation | |
protocol Domain { | |
associatedtype Parent = Domain | |
static var name: String { get } | |
static var fullName: String { get } | |
} |
This file contains 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
PHFetchResult *result = [PHAssetCollection fetchAssetCollectionsWithType:PHAssetCollectionTypeSmartAlbum | |
subtype:PHAssetCollectionSubtypeSmartAlbumUserLibrary | |
options:nil]; | |
PHAssetCollection *assetCollection = result.firstObject; | |
NSLog(@"%@", assetCollection.localizedTitle); | |
// Camera Roll |