-
Notifications
You must be signed in to change notification settings - Fork 11
Fix Apple Silicon compatibility and general cleanup #612
Conversation
|
There is an issue on
Easiest way to reproduce:
While we can hack deployment target with |
|
@ealeksandrov thank you for taking this on board 🙌 WordPress iOS targets iOS 13. Maybe we could address this by bumping the deployment target for WordPressKit to 13.0, too? |
dvdchr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with my first pass of review.
- Code changes look good to me.
- Build & test passes on my Intel and M1 machines. 👍
Next, I'll take a look at integrating this to WP-iOS and running it in both my Intel & M1 machines.
Maybe we could address this by bumping the deployment target for WordPressKit to 13.0, too?
+1 on this. 🙂
| - OHHTTPStubs/OHPathHelpers (8.0.0) | ||
| - OHHTTPStubs/Swift (8.0.0): | ||
| - OHHTTPStubs/Default | ||
| - OCMock (3.8.1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 !! Adding context to this, support for ARM-based Macs is introduced in OCMock 3.8.
|
@mokagio @dvdchr thank you for the suggestion! I agree with alignment of deployment target everywhere. |
|
CI is green, lint passed 🎉 |
| pod 'OHHTTPStubs', '8.0.0' | ||
| pod 'OHHTTPStubs/Swift', '8.0.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😢 goodbye my baby 👋 😄
mokagio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ealeksandrov! Sorry for not following up on your progress on this yesterday after you merged the WordPress Kit iOS 13 bump.
I wanted to checkout the Pod on my M1 Mac Mini and see if it all built fine, but I run out of time, both yesterday and today.
Other folks have approved this already, and I agree. We'll deal with M1 issues if they arise 👍
Description
With #610 (
GoogleSignInupdate) merged we don't have any stale dependencies holding us back from arm64 simulator compatibility.This PR:
OHHTTPStubsdev dependencyOCMockdev dependencyTested on Intel, M1 in Rosetta mode, M1 native.
Test
try/apple-silicon-updatedbranch forWordPressAuthenticator-iOSin Podfile.)Additional note for WC-iOS + M1 users: if you want to test on arm64 simulator - hack
StripeTerminal(like described in p91TBi-5tl-p2). It's not needed for device build or Rosetta mode.