Skip to content

Conversation

@AlejandroOrozco
Copy link
Contributor

@AlejandroOrozco AlejandroOrozco commented May 12, 2021

Description

  • Update Readme instructions for Carthage installation using the latest release `0.38.0``
  • Update CircleCI & Fastlane flow to zip the framework as TwilioVerifySDK.framework.zip to complain the requirements of Carthage.

Commit message

Screenshot

Testing

  • Added unit tests
  • Ran unit tests successfully
  • Added documentation for public APIs and/or Wiki

yafuquen and others added 8 commits April 8, 2021 09:25
* Update danger

* Add @AlejandroOrozco as contributor
- Remove team's placeholderID.
…aceHolderIDs

[Xcode 12 Migration] - Remove team's placeholderID.
- Remove team's placeholderID.
…aceHolderIDs

[Xcode 12 Migration] - Remove team's placeholderID.
- Quick adjustments to SDK zip framework & Update Readme with Carthage instructions.
@AlejandroOrozco AlejandroOrozco force-pushed the aorozcobuiles/SDK-Renaming/NewCarthageVersion branch from 838bf52 to 0e302d3 Compare May 12, 2021 20:10
README.md Outdated
2. Build it from source (Not recommended), this is the opted option for Carthage when it is unable to find a raw `.framework`, Carthage will be slicing the iPhone-Simulator arm64 version to create a fat framework using Xcode 12, so it will work on all devices except the Simulators running in a Mac with the SoC M1.
- This will require using the script to strip the framework's architecture before lipo command fails: https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md#workaround-script
- Also make sure to exclude the **arm64** architectures from your targets at **Built Settings** > **Architectures** > Exclude from **Any iOS Simulator SDK** > **arm64**
Since version `1.0.0` of `TwilioVerifySDK` the prebuilt asset fat version `.framework` is been deprecated, to give space for the universal framework `.xcframework`. Make sure to use the new version of Carthage [0.38.0](https://github.com/Carthage/Carthage/pull/3152) that was release in order to support the `xcframework` assets, by using this version or a superior one, Carthage will download and unzip the `TwilioVerifySDK.framework.zip` attached in the release version, resulting in a `TwilioVerifySDK.xcframework` that can be found in the build folder of Carthage.
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to point to the release (https://github.com/Carthage/Carthage/releases/tag/0.38.0) instead of the PR (Carthage/Carthage#3152)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That makes sense, Thank you. I just updated that reference 👍 .

@AlejandroOrozco AlejandroOrozco force-pushed the aorozcobuiles/SDK-Renaming/NewCarthageVersion branch from 0e302d3 to 6d64919 Compare May 20, 2021 15:19
@AlejandroOrozco AlejandroOrozco requested review from SergioFierro and removed request for SergioFierro May 20, 2021 15:20
@AuthyApps
Copy link

Code coverage

Total coverage: 95.13%

Powered by Slather

Generated by 🚫 Danger

@yafuquen yafuquen merged commit 9000a63 into dev Jun 4, 2021
@yafuquen yafuquen deleted the aorozcobuiles/SDK-Renaming/NewCarthageVersion branch July 27, 2021 19:26
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.

5 participants