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
fastlane_require 'xcodeproj' | |
update_fastlane | |
default_platform(:ios) | |
platform :ios do | |
@xcodeproj = "ProjectName.xcodeproj" | |
@xcworkspace = "WorkspaceName.xcworkspace" | |
@target = "TargetName" | |
@version_number = get_version_number(xcodeproj: @xcodeproj, target: @target) |
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
#import <dlfcn.h> // for dlopen() | |
#import "MirrorKit.h" // pod 'MirrirKit' | |
- (NSArray<NSString *> *)chatKitClassNames { | |
// Load the framework, close the handle. Now you can use any ChatKit class if you know its name. | |
void *handle = dlopen("/System/Library/PrivateFrameworks/ChatKit.framework/ChatKit", RTLD_NOW); | |
dlclose(handle); | |
// Making use of the Objc runtime to get the classes |