Posts

Post not yet marked as solved
2 Replies
4.9k Views
We are explicitly using Package.resolved to be sure every developer is using the same version. This works like a charm with Xcode 12 in fast lane but we can't make this work anymore in Xcode 13 although it works wonderfully when Xcode itself (not xcodebuild) — a.k.a. the IDE — resolves. Why? Command line invocation: 310[16:06:53]: ▸ /Applications/Xcode-13.0.0.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace MyApp.xcworkspace -scheme MyApp -disableAutomaticPackageResolution 311[16:06:53]: ▸ User defaults from command line: 312[16:06:53]: ▸ IDEDisableAutomaticPackageResolution = YES 313[16:06:53]: ▸ IDEPackageSupportUseBuiltinSCM = YES 314[16:06:54]: ▸ Resolve Package Graph 315[16:06:56]: ▸ Checking out 5.12.0 of package ‘GRDB.swift’ 316[16:06:57]: ▸ Resolved source packages: 317[16:06:57]: ▸ MyApp: (null) 318[16:06:57]: ▸ xcodebuild: error: Could not resolve package dependencies: 319[16:06:57]: ▸ Couldn’t check out revision ‘32b2923e890df320906e64cbd0faca22a8bfda14’: 320[16:06:57]: ▸ fatal: reference is not a tree: 32b2923e890df320906e64cbd0faca22a8bfda14 321[16:06:57]: ▸ cannot update Package.resolved file because automatic resolution is disabled 322[16:06:57]: ▸ fatalError This happens not only with GRDB but with others as well. To clarify: The revision exists at https://github.com/groue/GRDB.swift/commit/32b2923e890df320906e64cbd0faca22a8bfda14
Posted
by stuffmc.
Last updated
.
Post not yet marked as solved
0 Replies
1k Views
I kinda like Espresso, but not so much in that context. https://github.com/stuffmc/ImageOCR ImageAnalyzer error -37:Espresso error in void vision::mod::ImageAnalyzer::initNetwork(const char *, const char *) @ /Library/Caches/com.apple.xbs/Sources/Vision_Sim/Vision-5.0.34/Libraries/cvml-Core/ImageAnalyzer/ImageAnalyzer.cpp:62 Error Domain=com.apple.vis Code=9 "failed to create image analyzer" UserInfo={NSLocalizedDescription=failed to create image analyzer, NSUnderlyingError=0x147091630 {Error Domain=com.apple.vis Code=9 "ImageAnalyzer failure with status 8539 (Espresso error)" UserInfo={NSLocalizedDescription=ImageAnalyzer failure with status 8539 (Espresso error)}}} Is it me doing something wrong?
Posted
by stuffmc.
Last updated
.
Post not yet marked as solved
0 Replies
502 Views
Our App behaves differently in Single Application Mode which we control via MDM. To test locally without an MDM it's as easy (on a device) as starting the Guided Access Mode, usually with a tripple click on a button. On the Simulator though, I couldn't find a way to start this. Is there a way? Potentially programmatically?
Posted
by stuffmc.
Last updated
.