Skip to content

CI: added job to test compilation with Xcode 13.2.1 / Swift 5.5#1990

Merged
NachoSoto merged 11 commits into
mainfrom
xcode-13.2.1-ci
Oct 25, 2022
Merged

CI: added job to test compilation with Xcode 13.2.1 / Swift 5.5#1990
NachoSoto merged 11 commits into
mainfrom
xcode-13.2.1-ci

Conversation

@NachoSoto

@NachoSoto NachoSoto commented Oct 24, 2022

Copy link
Copy Markdown
Contributor

To cover SDKONCALL-156.

Screenshot 2022-10-24 at 09 17 12

@NachoSoto NachoSoto added the ci label Oct 24, 2022
@NachoSoto NachoSoto mentioned this pull request Oct 24, 2022
@NachoSoto NachoSoto requested a review from a team October 24, 2022 16:17
@NachoSoto NachoSoto force-pushed the xcode-13.2.1-ci branch 11 times, most recently from d87bb48 to a51eb80 Compare October 24, 2022 19:49
@NachoSoto NachoSoto changed the base branch from main to xcode-13.2.1-compatibility October 24, 2022 20:04
@NachoSoto NachoSoto marked this pull request as ready for review October 24, 2022 20:04
@NachoSoto

Copy link
Copy Markdown
Contributor Author

FYI I'm going to make this only run on main and releases because installing the old SwiftLint version is too slow.

@NachoSoto NachoSoto force-pushed the xcode-13.2.1-compatibility branch 2 times, most recently from 9bc4d8c to 8a0efd4 Compare October 24, 2022 20:56
@NachoSoto NachoSoto force-pushed the xcode-13.2.1-ci branch 2 times, most recently from 58c6868 to bd028ed Compare October 24, 2022 21:14
@NachoSoto

Copy link
Copy Markdown
Contributor Author

This passed, but I'm going to reference main again to make sure that it does fail to compile without #1994.

Base automatically changed from xcode-13.2.1-compatibility to main October 24, 2022 21:36
Comment thread .circleci/config.yml Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: replace with pod lib lint instead

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using pod lib lint now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote this last night, I'm doing it now hehe

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going back to swift build because pod lib lint fails with the old Xcode:

Undefined symbols for architecture arm64:
"_swift_getFunctionTypeMetadataGlobalActorBackDeploy", referenced from:
type metadata accessor for @Swift.MainActor @sendable (RevenueCat.StoreTransaction?, RevenueCat.CustomerInfo?, __C.NSError?, Swift.Bool) -> () in CustomerInfo.o
type metadata accessor for @Swift.MainActor @sendable () -> () in Deprecations.o
ld: symbol(s) not found for architecture arm64

@vegaro vegaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question that I have

Comment thread .circleci/config.yml Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using pod lib lint now?

@NachoSoto NachoSoto changed the title CI: added job to test compilation with Xcode 13.2.1 / Swift 5.5 CI: added job to test compilation with Xcode 13.2.1 / Swift 5.5 Oct 25, 2022
NachoSoto added a commit to RevenueCat/purchases-hybrid-common that referenced this pull request Oct 25, 2022
@NachoSoto NachoSoto force-pushed the xcode-13.2.1-ci branch 3 times, most recently from 557d79b to c5985d8 Compare October 25, 2022 18:17
NachoSoto added a commit to RevenueCat/purchases-hybrid-common that referenced this pull request Oct 25, 2022
@NachoSoto NachoSoto merged commit dabef77 into main Oct 25, 2022
@NachoSoto NachoSoto deleted the xcode-13.2.1-ci branch October 25, 2022 19:23
NachoSoto pushed a commit that referenced this pull request Oct 26, 2022
**This is an automatic release.**

### Bugfixes
* Fixed Xcode 13.2.x / Swift 5.5 compatibility (#1994) via NachoSoto
(@NachoSoto)
### Other Changes
* Update `fastlane` (#1998) via NachoSoto (@NachoSoto)
* Documentation: fixed missing docs from inherited symbols (#1997) via
NachoSoto (@NachoSoto)
* CI: added job to test compilation with `Xcode 13.2.1` / `Swift 5.5`
(#1990) via NachoSoto (@NachoSoto)
* Extracted `TrialOrIntroPriceEligibilityCheckerType` (#1983) via
NachoSoto (@NachoSoto)
* CI: removed redundant `swiftlint` installation (#1993) via NachoSoto
(@NachoSoto)
* `Nimble`: use a fixed version (#1991) via NachoSoto (@NachoSoto)
* Update fastlane-plugin-revenuecat_internal (#1989) via Cesar de la
Vega (@vegaro)
* `Purchases.logIn`: log warning if attempting to use a static
`appUserID` (#1958) via NachoSoto (@NachoSoto)
* Created `InternalAPI` for "health" request (#1971) via NachoSoto
(@NachoSoto)

Co-authored-by: RCGitBot <dev+RCGitBot@revenuecat.com>
NachoSoto added a commit that referenced this pull request Oct 26, 2022
It contains the updated `macOS` SDK so we should be able to use it for
most jobs.
#1990 will ensure that we maintain backwards compatibility with the
oldest Xcode version we support.

I disabled `watchOS` from `check_pods` until
CocoaPods/CocoaPods#11558 is fixed.
NachoSoto added a commit to RevenueCat/purchases-hybrid-common that referenced this pull request Nov 3, 2022
aboedo pushed a commit to RevenueCat/purchases-hybrid-common that referenced this pull request Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants