Comments (7)
@dfed yeah, it is definitely something up to the scheme.
However, for future reference, I am posting the popup that Xcode15 shows when running the scheme on the iOS simulator. Maybe someone else already faced this and will be able to help me:
from valet.
@qsd-faris I asked around and got this particular bit of insight that may help you: you likely have an exclusion of arm64
somewhere in your build settings. This could be in either your xcodeproj or your Podfile. Running git grep arm64
on your repo will likely help you find out where this is.
You may also be able to confirm this theory by filtering your build log for x86_64
– if you see that while on an ARM Mac, you almost certainly are preventing building for arm64
and that is causing your issue with SPM.
from valet.
Closing this one out since we aren't getting much traction and I do not believe this is a Valet issue. Might be a better q for iOS dev support slacks.
from valet.
Can you reproduce this issue in a sample project you can share? Hard for me to intuit what could be wrong here.
This is unlikely to be an issue with Valet's Package configuration as it is not scheme-specific. I'm happy to help if I can but again, I'd need a sample project if my help is going to comprise more than wild guesses and directional advice.
To clarify a couple things:
- Does Valet build to simulator in any other scheme for you?
- Does Valet build to device in all schemes for you?
Given that you had to delete things from other linker flags after removing the Cocoapod integration, my wild guess is that your project is misconfigured: you likely accidentally brought CP-generated build flags into your Debug scheme, and you haven't found&fixed them all yet. (I have had the Other Linker Flags issue before. It's pretty easy to accidentally bring CP-generated stuff into your scheme)
If I were you: I'd delete + recreate my Debug scheme and see if that fixes it. If it does, run a diff on what changed: one of those changes was the problem.
from valet.
@dfed thanks for the quick answer. I have tried with sample project and everything was working fine.
Answer to both of your questions is - Yes, it builds.
I have also tried making my Debug scheme looks the same as other scheme but no success building it on simulator again.
It is weird how it looks for another library. There definitely must be something.
I was firstly facing this error on Xcode 14.2, and then switched to the Xcode 15. The issue is the same, but Xcode 15 automatically asks me to run the simulator with Rosetta
, and if I do, it works! However, running Xcode 14.2 with Rosetta was not working.
from valet.
There's nothing about Valet that requires Rosetta. So there's something that's forcing you into this mode that is causing the issue 🤔
from valet.
@dfed thank you very much. I was also afraid that arm64 was the issue because I needed to put it in Excluded architectures
because Xcode is showing errors for pods like: No such module podName
without that...
What is weird here is that I have arm64
in excluded arch for each scheme and only one scheme is not running...
from valet.
Related Issues (20)
- Add convenience access methods for `Codable` types HOT 6
- .whenUnlocked vs .afterFirstUnlock HOT 3
- Create new KeyChain Option HOT 5
- SecKeychainAddCallback(_:_:_:) along with Valet HOT 4
- Enable customization of biometrics prompt with application-specific fallback HOT 26
- Unit tests fail on tvOS 14 HOT 4
- Tips on building and running the sample app? HOT 1
- Keychain Sharing between iOS App and Apple Watch Extension HOT 6
- Documentation for `afterFirstUnlockThisDeviceOnly` wrong? HOT 1
- iOS 15 crash on `specialized static SecItem.copy<A>(matching:)` HOT 18
- [Feature Request] Unlock with Apple Watch with no passcode fallback HOT 7
- iOS 16 build error HOT 6
- tvOS target doesn't compile with Xcode 14.0 beta HOT 8
- Deprecation warnings when targeting iOS 14+ HOT 4
- (Some folks) await async support HOT 5
- error: non-void function does not return a value [-Werror,-Wreturn-type] HOT 2
- No way to invalidate() HOT 1
- Support for cryptographic key item (kSecClassKey) HOT 2
- Migration from Valet 3 format HOT 3
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 valet.