4 "summary": "App Ads Kit by Snap Inc.",
5 "description": "App Ads Kit by Snap Inc.",
6 "homepage": "https://kit.snapchat.com",
9 "text": " Any access or use of the included software, associated documentation, software code, or other materials made available by Snap Inc. (and its affiliates) is subject to the Snap Developer Terms found at: \n\n https://www.snap.com/terms/developer/\n \n and the Snap Business Tools Terms found at:\n \n https://www.snap.com/terms/snap-business-tools\n \n Do not use or otherwise access any such software, documentation, software code, or other materials, and uninstall and delete any copies, unless you agree to those terms.\n"
12 "Snap Inc.": "ad-kit-support@snap.com"
15 "git": "https://github.com/Snapchat/app-ads-kit-ios.git",
18 "public_header_files": "SCAppAdsKit.framework/Headers/*.h",
19 "source_files": "SCAppAdsKit.framework/Headers/*.h",
20 "vendored_frameworks": "SCAppAdsKit.framework",
24 "pod_target_xcconfig": {
25 "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64"
27 "user_target_xcconfig": {
28 "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64"
32 "name": "SCAppAdsKit",
33 "script": "\nif [ \"$CONFIGURATION\" == \"Debug\" ]; then\necho \"Skip frameworks cleaning in debug version\"\nexit 0\nfi\n\nAPP_PATH=\"${TARGET_BUILD_DIR}/${WRAPPER_NAME}\"\n\nfind \"$APP_PATH\" -name 'SCAppAdsKit.framework' -type d | while read -r FRAMEWORK\ndo\nFRAMEWORK_EXECUTABLE_NAME=$(defaults read \"$FRAMEWORK/Info.plist\" CFBundleExecutable)\nFRAMEWORK_EXECUTABLE_PATH=\"$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME\"\necho \"Executable is $FRAMEWORK_EXECUTABLE_PATH\"\n\nEXTRACTED_ARCHS=()\n\nfor ARCH in $ARCHS\ndo\necho \"Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME\"\nlipo -extract \"$ARCH\" \"$FRAMEWORK_EXECUTABLE_PATH\" -o \"$FRAMEWORK_EXECUTABLE_PATH-$ARCH\"\nEXTRACTED_ARCHS+=(\"$FRAMEWORK_EXECUTABLE_PATH-$ARCH\")\ndone\n\necho \"Merging extracted architectures: ${ARCHS}\"\nlipo -o \"$FRAMEWORK_EXECUTABLE_PATH-merged\" -create \"${EXTRACTED_ARCHS[@]}\"\nrm \"${EXTRACTED_ARCHS[@]}\"\n\necho \"Replacing original executable with thinned version\"\nrm \"$FRAMEWORK_EXECUTABLE_PATH\"\nmv \"$FRAMEWORK_EXECUTABLE_PATH-merged\" \"$FRAMEWORK_EXECUTABLE_PATH\"\n\ndone\n\n"