An open API service indexing awesome lists of open source software.

https://github.com/zoho/salesiq-ios-sdk-sample

A sample app to see how to use SalesIQ iOS SDK and and its api's
https://github.com/zoho/salesiq-ios-sdk-sample

Last synced: 8 months ago
JSON representation

A sample app to see how to use SalesIQ iOS SDK and and its api's

Awesome Lists containing this project

README

          

# SalesIQ-iOS-SDK-Sample
A sample app integrated with SalesIQ iOS SDK

Use install Cocoapods command on Root folder of project to install the framework using pods.

Replace your bundle identifer in info.plist

Generae appkey and accesskey with the bundle identifier form your salesiq

Replce the keys the ZohoSalesIQ.initWithAppKey("", accessKey: "") function

for more info https://www.zoho.com/salesiq/help/developer-section/ios-mobile-sdk-installation.html

**While submitting app to store add the below runscirpt in Build Pahses, The Run Script should be added after Embed frameworks**

APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
do
FRAMEWORK_EXECUTABLE_NAME=$(defaults read "$FRAMEWORK/Info.plist" CFBundleExecutable)
FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"

EXTRACTED_ARCHS=()
for ARCH in $ARCHS
do
echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
done

echo "Merging extracted architectures: ${ARCHS}"
lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
rm "${EXTRACTED_ARCHS[@]}"

echo "Replacing original executable with thinned version"
rm "$FRAMEWORK_EXECUTABLE_PATH"
mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"

done