Comments (4)
Facing the same issue, is there any fix for that?
from wormholy.
I guess the library no longer actively maintained its been 11 months since this this issue first reported, and I also am facing the same issue
from wormholy.
Hello there. I'm so sorry you were experiencing this issue with Carthage.
This should be fixed in the latest release 1.7.0. https://github.com/pmusolino/Wormholy/releases/tag/1.7.0
This error occurred because of a change in Xcode 12, which made the simulator build also include the arm64 architecture (for Apple Silicon Macs). This is causing a conflict because now both the device and simulator builds have the same architecture, and they can't be merged into one fat framework.
The error message suggests a solution: rebuild with --use-xcframeworks
to create an xcframework bundle instead.
You can do this by running the following command:
carthage update --use-xcframeworks
This will tell Carthage to build xcframeworks instead of universal (fat) frameworks. XCFrameworks is a new format that supports multiple architectures, platforms, and simulator/device slices in a single bundle, which solves the problem you're seeing.
After running this command, you'll need to update your project to link against the .xcframework bundles instead of the old .framework bundles. You can do this in the "Frameworks, Libraries, and Embedded Content" section of the "General" tab in your target settings in Xcode.
I can provide more detail about how to link against the .xcframework bundles in Xcode. Here are the steps:
-
Open your Xcode project: Double-click the
.xcodeproj
or.xcworkspace
file to open your project in Xcode. -
Select your target: In the project navigator on the left side of the Xcode window, click on the top-level project file (the one with the blue icon). In the panel that appears, click on your target under the "Targets" section. This will typically be the name of your app.
-
Go to the "General" tab: In the panel on the right side of the window, click on the "General" tab.
-
Remove the old .framework bundle: In the "Frameworks, Libraries, and Embedded Content" section, you'll see a list of all the frameworks and libraries that your app links against. Find the old .framework bundle (it will have the same name as the .xcframework bundle, but without the
.xcframework
extension). Click on it to select it, then click the "-" button below the list to remove it. -
Add the .xcframework bundle: Now you'll add the .xcframework bundle. Click the "+" button below the list of frameworks and libraries. In the dialog that appears, navigate to the location where the .xcframework bundle was created (this will typically be in the
Carthage/Build
directory in your project folder). Select the .xcframework bundle and click "Open". -
Link the .xcframework bundle: The .xcframework bundle will now appear in the list of frameworks and libraries. Make sure that the "Embed & Sign" option is selected in the dropdown menu next to the .xcframework bundle. This ensures that the .xcframework bundle will be embedded in your app bundle and will be correctly signed with your app's signature.
Now your project is set up to link against the .xcframework bundle instead of the old .framework bundle. You can build and run your project to make sure everything works correctly. If you encounter any issues, the error messages in Xcode should give you some clues about what's going wrong.
from wormholy.
Attaching a TestProject in case you want to test this change.
from wormholy.
Related Issues (20)
- This is not even working on phone or any simulator, HOT 3
- Crash when using sockets HOT 1
- Swift Package Manager SPM support? HOT 5
- The framework doesn't work with static linking
- Error in Xcode 14 beta via Cocoapods HOT 14
- Wormholy drops URLSessionWebSocketTask packets. HOT 1
- Need to customise Share Strings
- What's wrong with the new one? HOT 1
- Ability to filter by status code HOT 1
- Network traffic statistics
- We are not able to open Wormholy from our application HOT 1
- Able to mapping body response feature request HOT 1
- Wormholy on Testflight HOT 1
- Search Result on Response Body and Request Body screen not visible on darkmode. HOT 2
- How to add logic decrypt response in case response is encrypt
- How to customize menu? I would like to change url text to response body?
- Responses are not cached in CustomHTTPProtocol
- Wormholy with Alamofire SPM HOT 1
- Wormholy with SPM on XCode 15 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wormholy.