Commit Graph
5 Commits
Author SHA1 Message Date
Joshua Liebowitz 41936ab6f9 Resolve XcodeDirectIntegration issues
Fix Carthage integration test
Fix SPM integration test
Update Fastfile to add "--use-xcframeworks"
Update Fastfile for spm commit branch RCv4
Update Package.resolved
Create Xcode13 specific folder
2021-09-03 15:35:59 -07:00
Joshua Liebowitz 05c2fa3803 Update the last few remaining Purchases.framework references. 2021-09-03 10:59:25 -07:00
Joshua Liebowitz ce61a6c1c1 Rename Purchases.framework to RevenueCat.framework (#811)
* Rename Purchases.framework to RevenueCat.framework

* Update for comments
2021-09-02 13:53:59 -07:00
Joshua Liebowitz 74034cb7b8 Make single package and module for Purchases (#789)
* Move tests

* Continue to move things into Purchases

* Finish move

* Fix multiple purchases targets in Package.swift

* Fix missing ]

* SPM testing

* Fix path in SPM

* Clean up references to PurchasesCoreSwift things

* Add back configure methods to objc api, add swiftlint buildscript, fix lint errors

* Add NSHumanReadableCopyright back to Info.plist

* Update for comments

* Update SPM Package

* Update for comments

* Fix Scanfile test scheme

* Fix circleci SCAN_SCHEME

* Note about publicHeadersPath in Package.swift
2021-08-26 13:54:50 -07:00
aboedo 31b619cd7c Integration tests (#381)
* added integration tests project for cocoapods

* added method to set up the sdk in cocoapods

* added fastfile and gemfile for cocoapodsIntegration project

* RCTestIntegration -> RCInterationRunner

* added unit tests target

* added unit tests

* added circleci config for cocoapods integration test

* added Appfile and added integration tests job to CI

* added cd before commands

* updated iOS deployment target to 9.0

* ignored fastlane results in subfolders

* specified iphone version for the archive

* specified OS version as well

* Added SPMIntegration project

* added spm integration test to circleci

* Added dummy swift file so obj-c targets define module, fixed SPM integration tests

* added actual call to test runner in spm test

* more fixes for cocoapods and spm

* fix cocoapods

* added missing bridging header

* added carthage integration

* added carthage to ci

* updated carthage bootstrap step

* added xcode direct integration, fixed carthage build by duplicating carthage.sh script

* updated deployment target of xcode direct integration project to 14.0

* removed UI tests target from xcode direct integration

* fix carthage dependency path

* carthage bootstrap -> carthage update

* replaced fastlane run xcarchive with direct command

* enabled automatic signing for xcode direct integration project

* disabled and re-enabled auto-signing for other projects

* updated archive destination to "generic/platform=iOS"

* fix bad copy/paste of destination

* added -allowProvisioningUpdates to allow CI to do automatic signing

* replaced xcodebuild with fastlane gym

* added matchfile for xcodeDirectIntegration, disabled other jobs for now

* commented out tests for now

* moved signing to fastlane

* specified correct certificate for development / distribution

* added export method, updated provisioning profile id

* added step to set up temporary default keychain

* fix typo in previous commit

* removed code signing from the purchases-ios framework

* replaced keychain step with fastlane run setup_circle_ci

* added fastfile and lane for archiving

* commented out the xcodeIntegration job for now, added the job for cocoapods, updated signing for cocoapods

* added missing matchfile, commented out tests

* added carthage integration fastlane config and matchfile, commented out cocoapods integration job for now

* added spm integraiton fastlane config and match file, commented out carthage integration job, updated signing for spm integration

* uncommented all jobs

* created command to install gems and reused it everywhere

* fix install-gems calls, added scan-and-archive command

* fixed missing directory in bundle install

* added scanfile and moved regular tests to use the fastlane-scan command

* unified install-gems and scan-and-archive jobs

* reordered commands in cocoapods integration

* reverted changes for regular tests which don't actually need to archive

* updated fastfiles so they all reuse the main fastfile

* moved certs repo to an env variable

* replaced api key with env variable

* ignored Cartfile.resolved in IntegrationTests/CarthageIntegration

* updated cocoapods integration and added test to assert that purchaserInfo can be fetched correctly

* removed UI tests for SPMIntegration

* updated integration tests for SPM

* updated XcodeDirectIntegrationTests

* updated tests for CarthageIntegration

* removed UI tests for Carthage

* updated deployment target for SPM integration, removed UI tests for CarthageIntegration

* fix step that injects api keys

* added extra install-gems step for cocoapodsIntegration

* replaced directory and cd with working_directory

* removed unneeded AppFiles

* separated api key replacement command to fix the step

* fixed missing name param in config.yml

* re-added accidentally-removed working_directory for the archive step

* replaced individual, repeated integrationTests files with a single, unified file, using a flag to determine how to import the framework correctly.

* fixed cocoapods

* removed unused CocoapodsIntegrationTests.swift file
2020-11-20 12:10:56 -03:00