Manos Chorianopoulos

podspec test part 4

......@@ -26,7 +26,7 @@ Pod::Spec.new do |spec|
# ==> NEW
# ONLY include code files in source_files
spec.source_files = "SwiftWarplyFramework/**/*.{h,m,swift}"
# spec.source_files = "SwiftWarplyFramework/**/*.{h,m,swift}"
# <== NEW
# 'SwiftWarplyFramework/**/*',
......@@ -36,18 +36,18 @@ Pod::Spec.new do |spec|
spec.exclude_files = "Classes/Exclude"
# spec.dependency 'RSBarcodes_Swift', '~> 5.2.0'
# spec.dependency 'RSBarcodes_Swift', '~> 5.1.1'
spec.dependency 'SwiftEventBus'
# spec.resource_bundles = { 'ResourcesBundle' => ['SwiftWarplyFramework/**/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf,imageset,strings}'] }
# ==> OLD
# spec.resource_bundles = { 'ResourcesBundle' => ['SwiftWarplyFramework/**/*.{storyboard,xib,otf,ttf,xcassets}'] }
spec.resource_bundles = { 'ResourcesBundle' => ['SwiftWarplyFramework/**/*.{storyboard,xib,otf,ttf,xcassets}'] }
# <== OLD
# ==> NEW
# spec.resources = 'SwiftWarplyFramework/**/*.{storyboard,xib,otf,ttf,xcassets}'
# Include all resource files in resources
spec.resources = "SwiftWarplyFramework/**/*.{storyboard,xib,otf,ttf,xcassets,png}"
# spec.resources = "SwiftWarplyFramework/**/*.{storyboard,xib,otf,ttf,xcassets,png}"
# <== NEW
# Add explicit Swift version
......@@ -57,12 +57,12 @@ Pod::Spec.new do |spec|
spec.ios.deployment_target = '17.0'
# Add explicit build settings
spec.pod_target_xcconfig = {
'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO',
'EXPANDED_CODE_SIGN_IDENTITY' => '',
'CODE_SIGNING_REQUIRED' => 'NO',
'CODE_SIGNING_ALLOWED' => 'NO'
}
# spec.pod_target_xcconfig = {
# 'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO',
# 'EXPANDED_CODE_SIGN_IDENTITY' => '',
# 'CODE_SIGNING_REQUIRED' => 'NO',
# 'CODE_SIGNING_ALLOWED' => 'NO'
# }
# <== TEST
# spec.resources = ['SwiftWarplyFramework/SwiftWarplyFramework/Media/*.{xcassets}', 'SwiftWarplyFramework/SwiftWarplyFramework/Media/*.xib']
......