diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cf33cbd..b23b4e7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: run: | set -eo pipefail export LIB_VERSION=${{ steps.gitversion.outputs.SemVer }} - pod spec lint --allow-warnings - pod trunk push --allow-warnings + pod spec lint --allow-warnings --skip-import-validation + pod trunk push --allow-warnings --skip-import-validation env: COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOA_KEY }} diff --git a/GrowthBook-IOS.podspec b/GrowthBook-IOS.podspec index c821e8b..805017f 100644 --- a/GrowthBook-IOS.podspec +++ b/GrowthBook-IOS.podspec @@ -18,8 +18,6 @@ Pod::Spec.new do |spec| spec.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } - spec.xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } - spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } - spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } + spec.swift_version = '5.2' end diff --git a/README.md b/README.md index fec9897..405f7f5 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ [CocoaPods](https://cocoapods.org/) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate GrowthBook into your Xcode project using CocoaPods, specify it in your `Podfile`: +- If you're using version 1.0.46 or above, it could be necessary to set "User Script Sandboxing" to "No" in your build settings. + - Add below line in your podfile, if not there ```