Post

Replies

Boosts

Views

Activity

_OpenAPIGeneratorCore linking error in xcodebuild -test
Following the package example in https://github.com/apple/swift-openapi-generator/tree/main/Examples/GreetingService, when running xcodebuild test of the consumer project, we are getting the following error: _OpenAPIGeneratorCore is only to be used by swift-openapi-generator itself—your target should not link this library or the command line tool directly. Testing cancelled because the build failed. Since the generator package and it's plugin are being imported in the service package we don't exactly what we are doing wrong because we are not linking any library directly to the target, would appreciate any help, thanks!!
2
0
947
Sep ’23
EXC_CRASH SIGABRT on app launch iOS16+
Hello, we have several users experiencing a crash when launching the app, this started happening after iOS 16 and after we started building with Xcode 14, we are having troubles gathering information because the crash detection tools are not yet loaded. This is the relevant info from a stack trace that we managed to gather Last Exception Backtrace: 0 CoreFoundation 0x1cb5ce248 __exceptionPreprocess + 164 1 libobjc.A.dylib 0x1c498fa68 objc_exception_throw + 60 ... 16 libswiftCore.dylib 0x1c5807b88 dispatch thunk of Encodable.encode(to:) + 32 17 Foundation 0x1c5ea0540 __JSONEncoder.box_(_:) + 2264 18 Foundation 0x1c5e9f84c JSONEncoder.encode<A>(_:) + 556 19 Foundation 0x1c5ec4588 dispatch thunk of JSONEncoder.encode<A>(_:) + 56 ... 27 UIKitCore 0x1cdaacf40 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 300 28 UIKitCore 0x1cdaac664 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2848 29 UIKitCore 0x1cdaab640 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856 30 UIKitCore 0x1cdaab2b8 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 176 31 UIKitCore 0x1cdaf5d0c -[UIApplication _compellApplicationLaunchToCompleteUnconditionally] + 48 32 UIKitCore 0x1cdaf4d64 -[UIApplication _run] + 852 33 UIKitCore 0x1cdaf49ec UIApplicationMain + 340 34 libswiftUIKit.dylib 0x1d3fa42a0 UIApplicationMain(_:_:_:_:) + 104 ... 36 dyld 0x1e9969948 start + 2504 Thanks!
1
0
603
Oct ’22
_OpenAPIGeneratorCore linking error in xcodebuild -test
Following the package example in https://github.com/apple/swift-openapi-generator/tree/main/Examples/GreetingService, when running xcodebuild test of the consumer project, we are getting the following error: _OpenAPIGeneratorCore is only to be used by swift-openapi-generator itself—your target should not link this library or the command line tool directly. Testing cancelled because the build failed. Since the generator package and it's plugin are being imported in the service package we don't exactly what we are doing wrong because we are not linking any library directly to the target, would appreciate any help, thanks!!
Replies
2
Boosts
0
Views
947
Activity
Sep ’23
EXC_CRASH SIGABRT on app launch iOS16+
Hello, we have several users experiencing a crash when launching the app, this started happening after iOS 16 and after we started building with Xcode 14, we are having troubles gathering information because the crash detection tools are not yet loaded. This is the relevant info from a stack trace that we managed to gather Last Exception Backtrace: 0 CoreFoundation 0x1cb5ce248 __exceptionPreprocess + 164 1 libobjc.A.dylib 0x1c498fa68 objc_exception_throw + 60 ... 16 libswiftCore.dylib 0x1c5807b88 dispatch thunk of Encodable.encode(to:) + 32 17 Foundation 0x1c5ea0540 __JSONEncoder.box_(_:) + 2264 18 Foundation 0x1c5e9f84c JSONEncoder.encode<A>(_:) + 556 19 Foundation 0x1c5ec4588 dispatch thunk of JSONEncoder.encode<A>(_:) + 56 ... 27 UIKitCore 0x1cdaacf40 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 300 28 UIKitCore 0x1cdaac664 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2848 29 UIKitCore 0x1cdaab640 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856 30 UIKitCore 0x1cdaab2b8 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 176 31 UIKitCore 0x1cdaf5d0c -[UIApplication _compellApplicationLaunchToCompleteUnconditionally] + 48 32 UIKitCore 0x1cdaf4d64 -[UIApplication _run] + 852 33 UIKitCore 0x1cdaf49ec UIApplicationMain + 340 34 libswiftUIKit.dylib 0x1d3fa42a0 UIApplicationMain(_:_:_:_:) + 104 ... 36 dyld 0x1e9969948 start + 2504 Thanks!
Replies
1
Boosts
0
Views
603
Activity
Oct ’22