Skip to content

trywildcard/wildcard_ios_sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wildcard iOS SDK

Public SDK documents can be found here.

Building

All targets are included in WildcardSDKProject.xcodeproj

Project Schemes

WildcardSDK

The Core SDK as an iOS Framework. You normally should not have to select this scheme directly.

WildcardSDKTestApp

This should be the scheme primarily used for developerment. This depends on the Core SDK and serves as a test bench to run a simple application to test the SDK code.

This scheme also includes the WildcardSDKTests target which includes all the tests for the SDK.

Framework

The Framework scheme should be used when you are ready to package up the SDK and get it ready for distribution.

  1. Select the Framework scheme (Bullseye icon) and choose iOS Device
  2. Clean + Build
  3. A custom script is executed which produces packaged Framework files which need to be uploaded to S3. Both files should exist on your desktop after the build is done.

WildcardSDK.framework.tar.gz

This is a "fat" framework distribution that developers may use for Simulator + Devices.

WildcardSDK_iphoneos.framework.tar.gz

This is a framework distribution only built for Devices.

Demo App

This repo also contains a demo iOS Application (WCRedditCards) that is used to demonstrate the SDK.

When the SDK is updated, the demo app should also be updated to use the latest code.

  1. Use the official installation steps to install the latest SDK into the project.
  2. Run the project, and just sanity check that it still works.
  3. Inside the repo execute ./zip_reddit_proj.sh
  4. This should package up the Reddit App and put the WCRedditCards.tar.gz onto your desktop.
  5. This file will also need to be uploaded to S3 since the documentation links to it.

Uploading

Internal Wildcard Use Only

The files can be uploaded directly via browser.

  1. Sign into S3 with Wildcard credentials
  2. Navigate to coopkanicstang-development -> ios_sdk
  3. Three files need to be uploaded: WCRedditCards.tar.gz, WildcardSDK.framework.tar.gz, and WildcardSDK_iphoneos.framework.tar.gz
  4. Once you have tested and packaged up these files, feel free to upload them, and also make sure to mark them as Public on S3.

Future

Internal Wildcard Use Only

  • At the moment, everytime Xcode updates, the SDK will have to also be updated and re packaged.