Comments (2)
I'm not currently doing ios dev (so I haven't had the fortune of running into this problem) but there's a stopgap tool called xcframework-maker that might solve your problem?
Barring that... the solution seems to be to modify the xcframework build configuration. That's beyond my ken. Googling "xcframework arm64 simulator" turned up some interesting results.
This apple thread seems especially helpful, with a solution at the bottom using xcodebuild, but I am not sure how to combine that with however TinyConstraints is configured. The xcconfig files in Configurations?
from tinyconstraints.
I'm not currently doing ios dev (so I haven't had the fortune of running into this problem) but there's a stopgap tool called xcframework-maker that might solve your problem?
@eliburke Thanks for this! I'll give this a go tomorrow and see what happens. Hopefully it's enough to tide me/others over for now.
Barring that... the solution seems to be to modify the xcframework build configuration. That's beyond my ken. Googling "xcframework arm64 simulator" turned up some interesting results.
This apple thread seems especially helpful, with a solution at the bottom using xcodebuild, but I am not sure how to combine that with however TinyConstraints is configured. The xcconfig files in Configurations?
Yeah I had come across this sort of thing too - not entirely sure how to sort it. I don't have any experience with creating/updating frameworks etc, unfortunately. Ideally hoping that @roberthein or another contributor will know what is wrong and have an idea of how to fix it. I'm sure it'll be affecting everyone using TinyConstraints on an Apple Silicon machine (at least installing with SPM). Worst case is I go back to CocoaPods just for this, with the workaround in the OP, but that wouldn't be ideal really.
from tinyconstraints.
Related Issues (20)
- TinyConstraints cannot run in x86_64 simulator on Xcode 12/13 due to VALID_ARCHS built setting
- TinyConstraintsExample.app/Frameworks/SnapKit.framework/Info.plist: No such file or directory
- Center Multiplier HOT 1
- YouTube video tutorials HOT 1
- Documentation needs more examples. HOT 9
- TinyConstraints cannot run on simulator HOT 2
- edges(to:) works incorrectly HOT 1
- Video Documentation: New YouTube Playlist
- top()/bottom()/left()/right() lacks multiplier on offset amount HOT 1
- Naming suggestion HOT 1
- Distribution in stack HOT 2
- Nested Stack View HOT 1
- Allow setting `isActive` default value.
- View declaration conflicts with SwiftUI's View
- Please add support for margins HOT 1
- Aspect Ratio Constraint for UIImageView? HOT 1
- Stack function changes translatesAutoresizingMaskIntoConstraints of superview
- Implementations of `trailingToSuperview` and `leadingToSuperview` only work correct only for Left-to-Right languages / layout. HOT 2
- M1 MacBook Air - Not able to locate the module
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 tinyconstraints.