KT-62745: update CocoaPodsPodspecIT tests
This commit is contained in:
committed by
Space Team
parent
f4097db0c2
commit
0c5a925b6e
+2
-2
@@ -1002,7 +1002,7 @@ class CocoaPodsIT : KGPBaseTest() {
|
||||
spec.summary = 'CocoaPods test library'
|
||||
spec.vendored_frameworks = 'cocoapods.xcframework'
|
||||
spec.libraries = 'c++'
|
||||
spec.ios.deployment_target = '13.5'
|
||||
spec.ios.deployment_target = '13.5'
|
||||
end
|
||||
""".trimIndent()
|
||||
|
||||
@@ -1016,7 +1016,7 @@ class CocoaPodsIT : KGPBaseTest() {
|
||||
spec.authors = { 'Kotlin Dev' => 'kotlin.dev@jetbrains.com' }
|
||||
spec.license = 'MIT'
|
||||
spec.summary = 'CocoaPods test library'
|
||||
spec.ios.deployment_target = '13.5'
|
||||
spec.ios.deployment_target = '13.5'
|
||||
spec.dependency 'AFNetworking'
|
||||
spec.social_media_url = 'https://twitter.com/kotlin'
|
||||
spec.vendored_frameworks = 'CustomFramework.xcframework'
|
||||
|
||||
+7
-1
@@ -107,7 +107,7 @@ class CocoaPodsPodspecIT : KGPBaseTest() {
|
||||
spec.summary = 'CocoaPods test library'
|
||||
spec.vendored_frameworks = 'build/cocoapods/framework/$frameworkName.framework'
|
||||
spec.libraries = 'c++'
|
||||
spec.ios.deployment_target = '11.0'
|
||||
spec.ios.deployment_target = '11.0'
|
||||
spec.dependency 'pod_dependency', '1.0'
|
||||
spec.dependency 'subspec_dependency/Core', '1.0'
|
||||
if !Dir.exist?('build/cocoapods/framework/$frameworkName.framework') || Dir.empty?('build/cocoapods/framework/$frameworkName.framework')
|
||||
@@ -117,6 +117,9 @@ class CocoaPodsPodspecIT : KGPBaseTest() {
|
||||
./gradlew :kotlin-library:generateDummyFramework
|
||||
Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
|
||||
end
|
||||
spec.xcconfig = {
|
||||
'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO',
|
||||
}
|
||||
spec.pod_target_xcconfig = {
|
||||
'KOTLIN_PROJECT_PATH' => ':kotlin-library',
|
||||
'PRODUCT_MODULE_NAME' => '$frameworkName',
|
||||
@@ -161,6 +164,9 @@ class CocoaPodsPodspecIT : KGPBaseTest() {
|
||||
./gradlew :second-library:generateDummyFramework
|
||||
Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
|
||||
end
|
||||
spec.xcconfig = {
|
||||
'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO',
|
||||
}
|
||||
spec.pod_target_xcconfig = {
|
||||
'KOTLIN_PROJECT_PATH' => ':second-library',
|
||||
'PRODUCT_MODULE_NAME' => '$frameworkName',
|
||||
|
||||
Reference in New Issue
Block a user