You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occurs because CocoaPods performs SHA-256 verification on "downloaded local source code archives", and the result doesn't match the value declared in the podspec file, causing the installation to terminate directly.
12
+
13
+
### Solution
14
+
15
+
1.**Locate the podspec file**
16
+
17
+
From the log information, you can find the location of the boost podspec file:
Refer to [Error installing boost: Verification checksum was incorrect, expected](https://stackoverflow.com/questions/77738691/error-installing-boost-verification-checksum-was-incorrect-expected) to modify the link in the podspec file.
After modification, save the file and then go to the `example/ios` directory to execute:
47
+
```bash
48
+
pod install
49
+
```
50
+
51
+
## Issue 2: iOS Example Startup Error
52
+
53
+
When executing `yarn example ios` from the root directory to run the example project on iOS simulator (or physical device), you may encounter the following error:
> **Reference**: [FlipperKit 'facebook::flipper::SocketCertificateProvider' (aka 'int') is not a function or function pointer template named 'function' in namespace std](https://stackoverflow.com/questions/78184461/flipperkit-facebookflippersocketcertificateprovider-aka-int-is-not-a-f)
79
+
80
+
3.**Rerun the project**
81
+
82
+
Then execute from the root directory again:
83
+
```bash
84
+
yarn example ios
85
+
```
86
+
87
+
This will successfully run the example project on iOS simulator (or physical device).
88
+
89
+
## Reference Links
90
+
91
+
-[Error installing boost: Verification checksum was incorrect, expected](https://stackoverflow.com/questions/77738691/error-installing-boost-verification-checksum-was-incorrect-expected)
92
+
-[FlipperKit 'facebook::flipper::SocketCertificateProvider' (aka 'int') is not a function or function pointer template named 'function' in namespace std](https://stackoverflow.com/questions/78184461/flipperkit-facebookflippersocketcertificateprovider-aka-int-is-not-a-f)
> **参考**: [FlipperKit 'facebook::flipper::SocketCertificateProvider' (aka 'int') is not a function or function pointer template named 'function' in namespace std](https://stackoverflow.com/questions/78184461/flipperkit-facebookflippersocketcertificateprovider-aka-int-is-not-a-f)
79
+
80
+
3.**重新运行项目**
81
+
82
+
然后重新在根目录下执行:
83
+
```bash
84
+
yarn example ios
85
+
```
86
+
87
+
即可成功在 iOS 模拟器(或真机)运行 example 项目。
88
+
89
+
## 参考链接
90
+
91
+
-[Error installing boost: Verification checksum was incorrect, expected](https://stackoverflow.com/questions/77738691/error-installing-boost-verification-checksum-was-incorrect-expected)
92
+
-[FlipperKit 'facebook::flipper::SocketCertificateProvider' (aka 'int') is not a function or function pointer template named 'function' in namespace std](https://stackoverflow.com/questions/78184461/flipperkit-facebookflippersocketcertificateprovider-aka-int-is-not-a-f)
0 commit comments