A minimal Objective-C SDK for the Microsandbox project.
Add this to your Podfile:
pod 'Microsandbox', '~> 0.0.1'Then run:
pod installAdd this to your Cartfile:
github "yourusername/monocore" == 0.0.1
Then run:
carthage update- Clone this repository:
git clone https://github.com/yourusername/monocore.git- Drag the
sdk/objc/Microsandboxfolder into your Xcode project.
#import "MSBGreeter.h"
// Print a greeting
NSString *message = [MSBGreeter greet:@"World"];
NSLog(@"%@", message);# Clone the repository
git clone https://github.com/yourusername/monocore.git
cd monocore/sdk/objc
# Open the project in Xcode
open Microsandbox.xcodeprojRun tests from Xcode (⌘+U) or use xcodebuild:
xcodebuild test -project Microsandbox.xcodeproj -scheme Microsandbox -destination 'platform=iOS Simulator,name=iPhone 14'-
Create an account on CocoaPods if you don't have one.
-
Create a
Microsandbox.podspecfile (already included in the repository). -
Validate your pod:
pod lib lint- Push your pod to the CocoaPods trunk:
pod trunk push Microsandbox.podspecFor more details, refer to CocoaPods Guides.