Commit Graph
4 Commits
Author SHA1 Message Date
aboedo f6304b3339 Release/4.0.0-beta.9 (#1132)
* Version bump for 4.0.0-beta.9

* added note about "lots of under the hood improvements"

* fixed issue with carthage integration tests cache referencing file that was removed from versioning, fixed issue with scan-and-archive passing in an nonexistent scheme

* added updated deployment targets to changelog

* updated deployment target for cocoapods integration tests

* fixed issue with duplicate swift_name

* update Package.resolved

* removed unnecessary copy frameworks phase

* update deployment target for spm integration tests

* deleted duplicate line in devices

* updated swift tools to swift 5.5

* added all non-SDK files to exclude

* added missing foundation imports
2022-01-06 09:30:09 -03:00
aboedo cad10d8769 Storekit 2: update deployment targets (#977)
* updated deployment targets in Package.swift

* updated deployment targets in Podspec

* updated deployment targets in xcode project

* updated deployment target in cocoapods integration tests

* updated deployment target in SPM integration tests

* Added note in the v4_api_updates doc to document the new OS requirements

* reverted os version for watchOS back to "6.2" since it seems like `v6_2` doesn't work
2021-11-22 13:04:19 -03:00
Joshua Liebowitz 79008f5674 Switch to Swift Package Manager (#527)
* Initial removal of some fatalError calls

* Update for Nimble SPM limitations

Nimble doesn't support raiseException() when built with SPM
- paves way for SPM support and M1 support

* Update UInt8+ExtensionsTests.swift

Specify specific BitShiftError cases in test

* Let's just remove carthage while we're at it.

* Remove integration-tests-carthage from config.yml

* Update fastlane Fastfile for removing carthage

* Linter errors

* Updates for comments

* Fix config.yml

* Update ObjCThrowExceptionMatcher.swift

* private instead of fileprivate, I always forget which is more restrictive
2021-06-11 15:21:30 -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