Latest 1.0.5
Homepage https://github.com/vvit/SimpoSDK
License Commercial Copyright 2019 Simpo
Platforms ios 9.3
Authors

Simpo SDK

This is a dynamic framework which is distributed with closed sources.
Latest version: 1.0.5

Installation instructions:

Carthage

  1. Install Carthage
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    $ brew install carthage
  2. Create Cartfile in the project root dir with the content:
    github "vvit/SimpoSDK"

    TODO: update repo path

  3. Install the dependency:
    carthage update --platform iOS
  4. Add Simpo.framework (located in <project-root>/Carthage/Build/iOS) to the Linked Frameworks and Libraries:
    picture
  5. Add a Run Script build phase with this content:
    picture
  6. Optional if CocoaPods script [CP] Embed Pods Frameworks exists.
    Solves the AppStore submission issue.
    Add a Run Script build phase with the name Carthage Strip Architectures and this content:

    
    FRAMEWORK="Simpo"
    FRAMEWORK_EXECUTABLE_PATH="${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/$FRAMEWORK.framework/$FRAMEWORK"
    EXTRACTED_ARCHS=()

echo "Stripping the Simpo framework"

for ARCH in $ARCHS
do
lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
done
lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
rm "${EXTRACTED_ARCHS[@]}"
rm "$FRAMEWORK_EXECUTABLE_PATH"
mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"


## CocoaPods

1. Install CocoaPods  
```bash
$ sudo gem install cocoapods
  1. If needed (first time) run:
    pod init
  2. Install the dependency by adding pod 'SimpoTest' (TODO: update name) into the Podfile. Then run:
    $ pod update

So the Podfile looks like this:

platform :ios, '9.3'

target 'CocoapodExample' do
  use_frameworks!
  pod 'SimpoTest'
end

Latest podspec

{
    "name": "SimpoTest",
    "version": "1.0.5",
    "summary": "A useful help widget.",
    "description": "Allows you to get instant help and FAQ.",
    "homepage": "https://github.com/vvit/SimpoSDK",
    "license": {
        "type": "Commercial",
        "text": "Copyright 2019 Simpo"
    },
    "authors": {
        "Vitaly": "[email protected]"
    },
    "platforms": {
        "ios": "9.3"
    },
    "source": {
        "http": "https://github.com/vvit/SimpoSDK/releases/download/v1.0.5/Simpo.framework.zip"
    },
    "source_files": "Carthage/Build/iOS/Simpo.framework/Headers/*.h",
    "ios": {
        "vendored_frameworks": "Carthage/Build/iOS/Simpo.framework"
    },
    "preserve_paths": "Carthage/Build/iOS/Simpo.framework/*"
}

Pin It on Pinterest

Share This