PeopleInSpace/common/common.podspec

42 lines
1.6 KiB
Text
Raw Normal View History

2019-12-22 20:25:01 +00:00
Pod::Spec.new do |spec|
spec.name = 'common'
spec.version = '1.0'
2021-12-17 23:48:20 +00:00
spec.homepage = 'https://github.com/joreilly/PeopleInSpace'
2019-12-22 20:25:01 +00:00
spec.source = { :git => "Not Published", :tag => "Cocoapods/#{spec.name}/#{spec.version}" }
spec.authors = ''
spec.license = ''
2021-12-17 23:48:20 +00:00
spec.summary = 'PeopleInSpace'
2019-12-22 20:25:01 +00:00
2020-09-12 15:41:51 +00:00
spec.vendored_frameworks = "build/cocoapods/framework/common.framework"
2019-12-22 20:25:01 +00:00
spec.libraries = "c++"
spec.module_name = "#{spec.name}_umbrella"
2020-09-12 15:41:51 +00:00
2019-12-22 20:25:01 +00:00
spec.pod_target_xcconfig = {
'KOTLIN_PROJECT_PATH' => ':common',
'PRODUCT_MODULE_NAME' => 'common',
2019-12-22 20:25:01 +00:00
}
spec.script_phases = [
{
:name => 'Build common',
:execution_position => :before_compile,
:shell_path => '/bin/sh',
:script => <<-SCRIPT
if [ "YES" = "$COCOAPODS_SKIP_KOTLIN_BUILD" ]; then
echo "Skipping Gradle build task invocation due to COCOAPODS_SKIP_KOTLIN_BUILD environment variable set to \"YES\""
exit 0
fi
2019-12-22 20:25:01 +00:00
set -ev
REPO_ROOT="$PODS_TARGET_SRCROOT"
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework \
-Pkotlin.native.cocoapods.platform=$PLATFORM_NAME \
-Pkotlin.native.cocoapods.archs="$ARCHS" \
-Pkotlin.native.cocoapods.configuration=$CONFIGURATION
2019-12-22 20:25:01 +00:00
SCRIPT
}
]
2020-01-06 21:40:30 +00:00
end