diff --git a/.github/workflows/ios-sdk-ci.yml b/.github/workflows/ios-sdk-ci.yml index 3cda258..86265a9 100644 --- a/.github/workflows/ios-sdk-ci.yml +++ b/.github/workflows/ios-sdk-ci.yml @@ -46,12 +46,6 @@ jobs: - name: Build Demo Swift id: build-demo-swift run: bundle exec fastlane demo_swift - - name: Store Artifacts - uses: actions/upload-artifact@v4 - with: - name: demo-swift - path: ./demo-ios-swift/Pods - retention-days: 1 - name: Store build log uses: actions/upload-artifact@v4 with: diff --git a/.gitignore b/.gitignore index 648ed38..eb4d266 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ build/ xcuserdata **/xcuserdata/* Pods/ -demo-ios-swift.xcworkspace demo-ios-objc.xcworkspace fastlane/README.md fastlane/report.xml diff --git a/README.md b/README.md index e37602f..49c8340 100644 --- a/README.md +++ b/README.md @@ -65,13 +65,15 @@ The demo apps depend on the [GAM Mobile Ads SDK for iOS](https://developers.goog **Build** -[Cocoapods](https://cocoapods.org/) is required to build the `demo-ios-swift` and `demo-ios-objc` applications. After cloning the repo, simply `cd` into either of the two demo app directories and run: +`demo-ios-swift` uses Swift Package Manager: open `demo-ios-swift/demo-ios-swift.xcodeproj` in [Xcode](https://developer.apple.com/xcode/), which fetches the dependencies, and build and run from there. + +[Cocoapods](https://cocoapods.org/) is required to build `demo-ios-objc`. After cloning the repo, `cd` into its directory and run: ```bash -cd demo-ios-swift +cd demo-ios-objc # Install dependencies pod install ``` -Then open the generated `demo-ios-swift.xcworkspace` or `demo-ios-objc.xcworkspace` in [Xcode](https://developer.apple.com/xcode/), and build and run from there. +Then open the generated `demo-ios-objc.xcworkspace` in [Xcode](https://developer.apple.com/xcode/), and build and run from there. diff --git a/demo-ios-swift/Podfile b/demo-ios-swift/Podfile deleted file mode 100644 index 7dfa9a5..0000000 --- a/demo-ios-swift/Podfile +++ /dev/null @@ -1,26 +0,0 @@ -platform :ios, '15.0' - -target 'demo-ios-swift' do - use_frameworks! - - # Switch below to use officially released OptableSDK pod instead: - pod 'OptableSDK', :path => "../" - #pod 'OptableSDK' - - pod 'Google-Mobile-Ads-SDK' - pod 'PrebidMobile' - -end - -# Xcode 27 refuses to build targets whose deployment target is below iOS 15. Some third-party pods -# (Google-Mobile-Ads-SDK, GoogleUserMessagingPlatform, PrebidMobile) still declare older minimums, -# so raise them to the platform version declared above. -post_install do |installer| - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 15.0 - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0' - end - end - end -end diff --git a/demo-ios-swift/Podfile.lock b/demo-ios-swift/Podfile.lock deleted file mode 100644 index 7b9d83e..0000000 --- a/demo-ios-swift/Podfile.lock +++ /dev/null @@ -1,33 +0,0 @@ -PODS: - - Google-Mobile-Ads-SDK (13.11.0): - - GoogleUserMessagingPlatform (>= 1.1) - - GoogleUserMessagingPlatform (3.1.0) - - OptableSDK (1.3.0) - - PrebidMobile (3.4.1): - - PrebidMobile/core (= 3.4.1) - - PrebidMobile/core (3.4.1) - -DEPENDENCIES: - - Google-Mobile-Ads-SDK - - OptableSDK (from `../`) - - PrebidMobile - -SPEC REPOS: - trunk: - - Google-Mobile-Ads-SDK - - GoogleUserMessagingPlatform - - PrebidMobile - -EXTERNAL SOURCES: - OptableSDK: - :path: "../" - -SPEC CHECKSUMS: - Google-Mobile-Ads-SDK: 09d0868abe43b9f851b7b340a245679f0eafc96c - GoogleUserMessagingPlatform: befe603da6501006420c206222acd449bba45a9c - OptableSDK: 004327f5728e41073b0546fb268d6d3820f59ac2 - PrebidMobile: 2ebb30717214023ac5178f050a4aa1a7c41396d6 - -PODFILE CHECKSUM: ae16575987318eda44e4e135cd54cad3debe5193 - -COCOAPODS: 1.16.2 diff --git a/demo-ios-swift/demo-ios-swift.xcodeproj/project.pbxproj b/demo-ios-swift/demo-ios-swift.xcodeproj/project.pbxproj index e5a10f0..5f8852b 100644 --- a/demo-ios-swift/demo-ios-swift.xcodeproj/project.pbxproj +++ b/demo-ios-swift/demo-ios-swift.xcodeproj/project.pbxproj @@ -3,11 +3,13 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 60; objects = { /* Begin PBXBuildFile section */ - 3E8C4D28A821E9F0A202EA9D /* Pods_demo_ios_swift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D76144A328FE0069ABDF4B5F /* Pods_demo_ios_swift.framework */; }; + CE5A00012F20000000000008 /* GoogleMobileAds in Frameworks */ = {isa = PBXBuildFile; productRef = CE5A00012F20000000000005 /* GoogleMobileAds */; }; + CE5A00012F20000000000007 /* OptableSDK in Frameworks */ = {isa = PBXBuildFile; productRef = CE5A00012F20000000000004 /* OptableSDK */; }; + CE5A00012F20000000000009 /* PrebidMobile in Frameworks */ = {isa = PBXBuildFile; productRef = CE5A00012F20000000000006 /* PrebidMobile */; }; 536D9E922EA0DD37006D86BE /* PrebidBannerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 536D9E912EA0DD37006D86BE /* PrebidBannerViewController.swift */; }; 631466ED24F7F555007DCA5D /* GAMBannerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 631466EC24F7F555007DCA5D /* GAMBannerViewController.swift */; }; 6352AA5B24DC7AE9002E66EB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6352AA5A24DC7AE9002E66EB /* AppDelegate.swift */; }; @@ -33,8 +35,6 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 0A022CEF25F2CA644724048D /* Pods_demo_ios_swiftTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_demo_ios_swiftTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3386157F1FDF211F3621C6CF /* Pods-demo-ios-swift-demo-ios-swiftUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo-ios-swift-demo-ios-swiftUITests.debug.xcconfig"; path = "Target Support Files/Pods-demo-ios-swift-demo-ios-swiftUITests/Pods-demo-ios-swift-demo-ios-swiftUITests.debug.xcconfig"; sourceTree = ""; }; 536D9E912EA0DD37006D86BE /* PrebidBannerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrebidBannerViewController.swift; sourceTree = ""; }; 631466EC24F7F555007DCA5D /* GAMBannerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GAMBannerViewController.swift; sourceTree = ""; }; 6352AA5724DC7AE9002E66EB /* demo-ios-swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "demo-ios-swift.app"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -45,14 +45,7 @@ 6352AA6324DC7AEC002E66EB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 6352AA6624DC7AEC002E66EB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 6352AA6824DC7AEC002E66EB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 7D56163CC808207FC0184D7A /* Pods_demo_ios_swift_demo_ios_swiftUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_demo_ios_swift_demo_ios_swiftUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A909BB3E86CA17B56519FA37 /* Pods-demo-ios-swift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo-ios-swift.debug.xcconfig"; path = "Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift.debug.xcconfig"; sourceTree = ""; }; - AC9D63E534725E310399A3FF /* Pods-demo-ios-swift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo-ios-swift.release.xcconfig"; path = "Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift.release.xcconfig"; sourceTree = ""; }; - AFE041B55E3398A6DDE84BFF /* Pods-demo-ios-swiftTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo-ios-swiftTests.release.xcconfig"; path = "Target Support Files/Pods-demo-ios-swiftTests/Pods-demo-ios-swiftTests.release.xcconfig"; sourceTree = ""; }; - BEEBA234E54019EC38C70912 /* Pods-demo-ios-swiftTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo-ios-swiftTests.debug.xcconfig"; path = "Target Support Files/Pods-demo-ios-swiftTests/Pods-demo-ios-swiftTests.debug.xcconfig"; sourceTree = ""; }; CE144EDD2F11397C00C787D8 /* HTTPURLLogProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HTTPURLLogProtocol.swift; sourceTree = ""; }; - D76144A328FE0069ABDF4B5F /* Pods_demo_ios_swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_demo_ios_swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E8E21CA91246EF005B351B37 /* Pods-demo-ios-swift-demo-ios-swiftUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo-ios-swift-demo-ios-swiftUITests.release.xcconfig"; path = "Target Support Files/Pods-demo-ios-swift-demo-ios-swiftUITests/Pods-demo-ios-swift-demo-ios-swiftUITests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -60,7 +53,9 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 3E8C4D28A821E9F0A202EA9D /* Pods_demo_ios_swift.framework in Frameworks */, + CE5A00012F20000000000007 /* OptableSDK in Frameworks */, + CE5A00012F20000000000008 /* GoogleMobileAds in Frameworks */, + CE5A00012F20000000000009 /* PrebidMobile in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -73,7 +68,6 @@ 6352AA5924DC7AE9002E66EB /* demo-ios-swift */, 6352AA5824DC7AE9002E66EB /* Products */, 63C1E32324EAD73800C4FE51 /* Frameworks */, - 8018ABD26BD652CFB14910C3 /* Pods */, ); sourceTree = ""; }; @@ -105,26 +99,10 @@ 63C1E32324EAD73800C4FE51 /* Frameworks */ = { isa = PBXGroup; children = ( - D76144A328FE0069ABDF4B5F /* Pods_demo_ios_swift.framework */, - 7D56163CC808207FC0184D7A /* Pods_demo_ios_swift_demo_ios_swiftUITests.framework */, - 0A022CEF25F2CA644724048D /* Pods_demo_ios_swiftTests.framework */, ); name = Frameworks; sourceTree = ""; }; - 8018ABD26BD652CFB14910C3 /* Pods */ = { - isa = PBXGroup; - children = ( - A909BB3E86CA17B56519FA37 /* Pods-demo-ios-swift.debug.xcconfig */, - AC9D63E534725E310399A3FF /* Pods-demo-ios-swift.release.xcconfig */, - 3386157F1FDF211F3621C6CF /* Pods-demo-ios-swift-demo-ios-swiftUITests.debug.xcconfig */, - E8E21CA91246EF005B351B37 /* Pods-demo-ios-swift-demo-ios-swiftUITests.release.xcconfig */, - BEEBA234E54019EC38C70912 /* Pods-demo-ios-swiftTests.debug.xcconfig */, - AFE041B55E3398A6DDE84BFF /* Pods-demo-ios-swiftTests.release.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; CE144EDF2F113FD500C787D8 /* Misc */ = { isa = PBXGroup; children = ( @@ -140,19 +118,21 @@ isa = PBXNativeTarget; buildConfigurationList = 6352AA8124DC7AEC002E66EB /* Build configuration list for PBXNativeTarget "demo-ios-swift" */; buildPhases = ( - 967E82BE8040FB9C5D9DB711 /* [CP] Check Pods Manifest.lock */, 6352AA5324DC7AE9002E66EB /* Sources */, 6352AA5424DC7AE9002E66EB /* Frameworks */, 6352AA5524DC7AE9002E66EB /* Resources */, 63C1E32924EAD80B00C4FE51 /* Embed Frameworks */, - CB6C39DB30FCBD8A10020CE8 /* [CP] Embed Pods Frameworks */, - E4BF60F1588582695FC58696 /* [CP] Copy Pods Resources */, ); buildRules = ( ); dependencies = ( ); name = "demo-ios-swift"; + packageProductDependencies = ( + CE5A00012F20000000000004 /* OptableSDK */, + CE5A00012F20000000000005 /* GoogleMobileAds */, + CE5A00012F20000000000006 /* PrebidMobile */, + ); productName = "demo-ios-swift"; productReference = 6352AA5724DC7AE9002E66EB /* demo-ios-swift.app */; productType = "com.apple.product-type.application"; @@ -181,6 +161,11 @@ Base, ); mainGroup = 6352AA4E24DC7AE9002E66EB; + packageReferences = ( + CE5A00012F20000000000001 /* XCLocalSwiftPackageReference ".." */, + CE5A00012F20000000000002 /* XCRemoteSwiftPackageReference "swift-package-manager-google-mobile-ads" */, + CE5A00012F20000000000003 /* XCRemoteSwiftPackageReference "prebid-mobile-ios" */, + ); productRefGroup = 6352AA5824DC7AE9002E66EB /* Products */; projectDirPath = ""; projectRoot = ""; @@ -203,65 +188,6 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 967E82BE8040FB9C5D9DB711 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-demo-ios-swift-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - CB6C39DB30FCBD8A10020CE8 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - E4BF60F1588582695FC58696 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-demo-ios-swift/Pods-demo-ios-swift-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 6352AA5324DC7AE9002E66EB /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -414,7 +340,6 @@ }; 6352AA8224DC7AEC002E66EB /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A909BB3E86CA17B56519FA37 /* Pods-demo-ios-swift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; @@ -433,7 +358,6 @@ }; 6352AA8324DC7AEC002E66EB /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = AC9D63E534725E310399A3FF /* Pods-demo-ios-swift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; @@ -472,6 +396,49 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + CE5A00012F20000000000001 /* XCLocalSwiftPackageReference ".." */ = { + isa = XCLocalSwiftPackageReference; + relativePath = ..; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCRemoteSwiftPackageReference section */ + CE5A00012F20000000000002 /* XCRemoteSwiftPackageReference "swift-package-manager-google-mobile-ads" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/googleads/swift-package-manager-google-mobile-ads.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 13.11.0; + }; + }; + CE5A00012F20000000000003 /* XCRemoteSwiftPackageReference "prebid-mobile-ios" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/prebid/prebid-mobile-ios.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 3.4.1; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + CE5A00012F20000000000004 /* OptableSDK */ = { + isa = XCSwiftPackageProductDependency; + productName = OptableSDK; + }; + CE5A00012F20000000000005 /* GoogleMobileAds */ = { + isa = XCSwiftPackageProductDependency; + package = CE5A00012F20000000000002 /* XCRemoteSwiftPackageReference "swift-package-manager-google-mobile-ads" */; + productName = GoogleMobileAds; + }; + CE5A00012F20000000000006 /* PrebidMobile */ = { + isa = XCSwiftPackageProductDependency; + package = CE5A00012F20000000000003 /* XCRemoteSwiftPackageReference "prebid-mobile-ios" */; + productName = PrebidMobile; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 6352AA4F24DC7AE9002E66EB /* Project object */; } diff --git a/demo-ios-swift/demo-ios-swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/demo-ios-swift/demo-ios-swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..8006a7e --- /dev/null +++ b/demo-ios-swift/demo-ios-swift.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,42 @@ +{ + "originHash" : "c3116483301715e895f00f5d11a28fdc5ac1ba4bc85792a679c0a85a7219a2c2", + "pins" : [ + { + "identity" : "applovin-max-swift-package", + "kind" : "remoteSourceControl", + "location" : "https://github.com/AppLovin/AppLovin-MAX-Swift-Package.git", + "state" : { + "revision" : "ddf923e9b9de295d1c2425053cf14b32735246a8", + "version" : "13.7.0" + } + }, + { + "identity" : "prebid-mobile-ios", + "kind" : "remoteSourceControl", + "location" : "https://github.com/prebid/prebid-mobile-ios.git", + "state" : { + "revision" : "2d07f25ea964ac4e027beed9164ce8d2ab7a98d4", + "version" : "3.4.1" + } + }, + { + "identity" : "swift-package-manager-google-mobile-ads", + "kind" : "remoteSourceControl", + "location" : "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", + "state" : { + "revision" : "f6308a186913b186bdc8baf87d098206ecd75ace", + "version" : "13.12.0" + } + }, + { + "identity" : "swift-package-manager-google-user-messaging-platform", + "kind" : "remoteSourceControl", + "location" : "https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git", + "state" : { + "revision" : "13b248eaa73b7826f0efb1bcf455e251d65ecb1b", + "version" : "3.1.0" + } + } + ], + "version" : 3 +} diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 4b76532..97715ee 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -15,11 +15,7 @@ platform :ios do desc "Builds the demo-ios-swift application" lane :demo_swift do - Dir.chdir("../demo-ios-swift/.") do - sh("pod install") - sh("pod update") - end - gym(workspace: "demo-ios-swift/demo-ios-swift.xcworkspace", + gym(project: "demo-ios-swift/demo-ios-swift.xcodeproj", scheme: "demo-ios-swift", clean: true, skip_codesigning: true,