我升级到xcode15.3后出现这样的报错,xcode14能正常,请问怎么解决个?
Build input file cannot be found: '/FrontEnd/App/iOS/App/trunk/-Xlinker'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
Debugging
RSS for tagDiscover and resolve issues with your app.
Posts under Debugging tag
200 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
HI!
Trying to figure out a particularly odd crash report (via crashlytics).
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x7558 __pthread_kill + 8
1 libsystem_pthread.dylib 0x7118 pthread_kill + 268
2 libsystem_c.dylib 0x1d178 abort + 180
3 libswiftCore.dylib 0x3b93a8 swift::fatalError(unsigned int, char const*, ...) + 134
4 libswiftCore.dylib 0x3b93c8 swift::warningv(unsigned int, char const*, char*) + 30
5 libswiftCore.dylib 0x3bdfd8 swift_deallocPartialClassInstance + 190
6 libswiftCore.dylib 0x3bde28 _swift_release_dealloc + 56
7 libswiftCore.dylib 0x3bec4c bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 132
8 PSStore 0xab8de0 ThankYouViewController.viewCleanup() + 32 (TwoPhaseCommitHelper.swift:32)
Complete stackTrace here
com.predictspring.pos_issue_63a57f567d9db225552c2cd24d915564_crash_session_7dfdc13304324dd39f1e60b48d20a6af_DNE_0_v2_stacktrace.txt
The stack trace line that refers to our code points to a specific implementation of a ThreadedDictionary where we are removing all the objects inside the internal storage:
We have not been able to reproduce this crash, however we are seeing multiple instances in our crash reports for it (All instances happening in iPadOS + 16.4.1 devices).
Is there anything relevant to take a look in the first 7 frames of the crash report to understand what could be the issue?
While researching on this, we identified a post with a very similar stacktrace entries:
https://developer.apple.com/forums/thread/729196?login=true&page=1#752337022
We are not using GC or Unity, however the first entries in the stack trace look very similar.
Rgds!
Hello, I developed a flutter app. But its crashing in review I got. I am attaching the crash report. Can someone help in that. Thanks so much
crashlog-6B4650EA-FAC7-4D88-B3B6-FC8951C5C871.txt
crashlog-D4F6B942-0A15-4613-9E43-E93BD671BA0B.txt
2024-03-18 15:13:19.549232+0800 Xeena[5316:4106501] -[__NSCFString containsObject:]: unrecognized selector sent to instance 0x6000014393e0 2024-03-18 15:13:19.599811+0800 Xeena[5316:4106501] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString containsObject:]: unrecognized selector sent to instance 0x6000014393e0'
*** First throw call stack:
(
0 CoreFoundation 0x0000000118e168ab __exceptionPreprocess + 242
1 libobjc.A.dylib 0x000000010f06eba3 objc_exception_throw + 48
2 CoreFoundation 0x0000000118e25ab8 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3 CoreFoundation 0x0000000118e1ad71 ___forwarding___ + 1431
4 CoreFoundation 0x0000000118e1d068 _CF_forwarding_prep_0 + 120
5 UIKitCore 0x0000000129c9b3b7 -[UIApplication _checkBackgroundRefreshAPIAdoption] + 169
6 UIKitCore 0x0000000129c7520e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1023
7 UIKitCore 0x00000001290a18e5 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 179
8 UIKitCore 0x0000000129c716e4 -[UIApplication _compellApplicationLaunchToCompleteUnconditionally] + 59
9 UIKitCore 0x0000000129c71aaf -[UIApplication _run] + 958
10 UIKitCore 0x0000000129c769ef UIApplicationMain + 123
11 Xeena 0x0000000102a8b350 main + 96
12 dyld 0x000000010e7bf2bf start_sim + 10
13 ??? 0x000000020640f41f 0x0 + 8694854687
)
libc++abi: terminating with uncaught exception of type NSException`
react native projects crash on emulators after running locally, but on android machines there is no problem
2024-03-18 15:13:19.549232+0800 Xeena[5316:4106501] -[__NSCFString containsObject:]: unrecognized selector sent to instance 0x6000014393e0
2024-03-18 15:13:19.599811+0800 Xeena[5316:4106501] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString containsObject:]: unrecognized selector sent to instance 0x6000014393e0'
*** First throw call stack:
(
0 CoreFoundation 0x0000000118e168ab __exceptionPreprocess + 242
1 libobjc.A.dylib 0x000000010f06eba3 objc_exception_throw + 48
2 CoreFoundation 0x0000000118e25ab8 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3 CoreFoundation 0x0000000118e1ad71 forwarding + 1431
4 CoreFoundation 0x0000000118e1d068 _CF_forwarding_prep_0 + 120
5 UIKitCore 0x0000000129c9b3b7 -[UIApplication _checkBackgroundRefreshAPIAdoption] + 169
6 UIKitCore 0x0000000129c7520e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1023
7 UIKitCore 0x00000001290a18e5 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 179
8 UIKitCore 0x0000000129c716e4 -[UIApplication _compellApplicationLaunchToCompleteUnconditionally] + 59
9 UIKitCore 0x0000000129c71aaf -[UIApplication _run] + 958
10 UIKitCore 0x0000000129c769ef UIApplicationMain + 123
11 Xeena 0x0000000102a8b350 main + 96
12 dyld 0x000000010e7bf2bf start_sim + 10
13 ??? 0x000000020640f41f 0x0 + 8694854687
)
libc++abi: terminating with uncaught exception of type NSException
It's a crash log. react native projects crash on emulators after running locally, but on android machines there is no problem
Hello,
I’m trying to use the Frontline Teledyne Lecroy BPA100 Bluetooth Protocol Analyzer with Apples ATS v7.15.0 to capture Bluetooth connections between our device and another companies radio (or troubleshoot the lack thereof more accurately).
While the probe physically doesn’t display any signs of life, it does seem to get detected by ATS when I plug it in as the field in ATS Capture “BPA 100/600” autofill’s with “FBA41199”.
But it tells me this
When I do try to reconnect the probe ATS crashes.
Is the device broken?
Hi All,
We have desktop app using ElectronJS.
We have issue on MacOS. the app crash and we dont have enough logs or information to be able to to fix it or atleast identify the root cause.
can you help us understand the crash report?
Thanks!
I developed an iOS application, and during the debugging process in Xcode, I can choose between a real device or my Mac (designed for iPad). When I select my Mac (designed for iPad), a window pops up on my Mac machine.
I would like to change the resolution of this pop-up window to obtain a larger window so that I can display more debugging information in real time. Does anyone know how to do this?
crashlog-59B9A5D1-273B-4CC7-9DB1-EC22CF0F7CD2.txt
When I try to open Terminal, there are some errors. I have tried to fix these errors, but I cannot.
I hope anyone could help me.
================================================
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000060004467e7fc
Exception Codes: 0x0000000000000001, 0x000060004467e7fc
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [1171]
VM Region Info: 0x60004467e7fc is not in any region.
Hi, I'm developing iOS with Flutter.
Recently I can't upload iOS app on TestFlight because this Xcode crash report was shown whenever distribute app. ([Archive] - [Distribute(Validate) app])
I tried to clean Flutter cache or clean Pod cache.
But it was not solution.
So I need help how to fix this problem.
Thank you.
I am trying to watch an @EnvironmentObject in the Xcode debugger and it comes up as an Invalid Expression in the View pane. If I want to view it, I need to declare it as a local variable and then assign it the value of the passed in @EnvironmentObject.
While not impossible, it's a lot of work. Or maybe I am doing something incorrectly and this is a symptom of that? Would like to resolve this.
encl: Example code & Screenshot, where choice is the passed/unviewable EnviornmentObject and ch is the local variable I use to view it in the debugger
Project "TestingApp"
File: TestingApp
import SwiftUI
@main
struct TestingApp: App {
@StateObject private var choice = Choices()
var body: some Scene {
WindowGroup {
ContentView()
.environmentObject(choice)
}
}
}
File: Choices
import Foundation
@MainActor
class Choices: ObservableObject {
@Published var aChoice = 1
@Published var bChoice = 2
}
File: ContentView
import SwiftUI
struct ContentView: View {
@EnvironmentObject private var choice: Choices
var body: some View {
VStack {
let ch = choice
Text("\(choice.aChoice)")
.font(.largeTitle)
.padding(.bottom)
Text("2")
.font(.largeTitle)
}
.padding()
}
}
#Preview {
ContentView()
}
Hi, I have an error when running the project on Mac Intel while it runs normally on M1.
I tried to delete derived/erase simulator/restart the computer but the project can only build successfully, it cannot start the application.
What can I do to resolve it?
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/abseil.framework' is ''. (ID: 976fe056-e7a1-4d39-bacb-df90b8efea9b)
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/BoringSSL-GRPC.framework' is ''. (ID: c68c6576-9c7d-4b4f-8562-348578079194)
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/FirebaseAnalytics.framework' is ''. (ID: 098dcfe7-c07f-47e8-b9fa-ad081a0f45a6)
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/FirebaseFirestore.framework' is ''. (ID: 814fbcf1-cb95-4775-b394-f9d150f577cb)
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/GoogleAppMeasurement.framework' is ''. (ID: 288331b7-ad05-45e9-8989-4668645f9723)
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/GoogleAppMeasurementIdentitySupport.framework' is ''. (ID: 83aba61f-862e-400d-a67f-6afd021bd1d2)
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/gRPC-C++.framework' is ''. (ID: e8494bc6-78bf-496c-bc26-c71e9cb771b2)
Asset validation failed
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'MyApp.app/Frameworks/gRPC-Core.framework' is ''. (ID: c91250c0-c445-483a-a0e3-6e5b4b01197f)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/abseil.framework is required. (ID: f5adb088-e079-4df9-95ed-107fe244ee33)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/BoringSSL-GRPC.framework is required. (ID: 7e8def5b-283f-4ef7-9d17-562cf4fa0e54)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/FirebaseAnalytics.framework is required. (ID: 39ebde66-fbfc-496c-83f5-92e81b057930)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/FirebaseFirestore.framework is required. (ID: 4f34e998-9151-40d4-9b85-7942076f01ff)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/GoogleAppMeasurement.framework is required. (ID: 6ca3ba96-85df-4cd6-bcb9-4ca0d1faffe5)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/GoogleAppMeasurementIdentitySupport.framework is required. (ID: 6cb9b76b-653a-494b-97b8-88702c6fbee8)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/gRPC-C++.framework is required. (ID: 7a37ef2b-55a9-446a-9eaa-3ffccee0e99b)
Asset validation failed
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle MyApp.app/Frameworks/gRPC-Core.framework is required. (ID: a9b0eb06-2cf3-4265-87f4-997b7926e8a8)
Asset validation failed
The bundle 'Payload/MyApp.app/Frameworks/abseil.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: f7116884-2736-47e3-8c1a-942572fa6a97)
Asset validation failed
The bundle 'Payload/MyApp.app/Frameworks/BoringSSL-GRPC.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: 2faae9e4-78af-4437-8830-b778d4059489)
Asset validation failed
The bundle 'Payload/MyApp.app/Frameworks/FirebaseAnalytics.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: 4b53026c-c01c-43a3-ada0-a23340b40844)
Asset validation failed
The bundle 'Payload/MyApp.app/Frameworks/FirebaseFirestore.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: 995291aa-028e-432d-b9f9-422398739388)
Asset validation failed
The bundle 'Payload/MyApp.app/Frameworks/GoogleAppMeasurement.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: a5e7337e-4504-4119-be9a-b372efa0a95d)
Asset validation failed
The bundle 'Payload/MyApp.app/Frameworks/GoogleAppMeasurementIdentitySupport.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: 1ce00379-9d3c-442d-8959-8d400ae22137)
I'm using Firebase Auth and Firestore on my app. When I already signed in, my code in init() function workes fine and my screens automatically updated when data load. But when I first sign in, I get The operation couldn’t be completed. (NSURLErrorDomain error -1011.) error and the rest of the code dont work as it should be. What is the issue and how can I solve it?
When I start my application, it breaks, I already tried uninstalling reactotron and it keeps happening. It only happens in release mode, in debug mode, it works perfectly.
I can build fine, it closes when starting.
I’m looking to see if anybody else has noticed that iOS 17.4 seems to have broken password autofill for associated domains.
Meaning if I open my app to the login page (web view) it recognizes the associated domains and they password in my keychain.
If I tap on my user name my keychain is unlocked with biometrics (FaceID) and I’m returned to the page, but the user name and password field is not filed in.
This just started happening in iOS 17.4 (17.3.1 works fine for example).
Interestingly, if you choose the 🔑 icon on the right side of the keyboard and then choose your credentials you get a blank page until you tap in a text field then the username and password show up.
I have filled out a bug report with Apple, but in the mean time I was curious if anybody else has seen this or have a solution.
Hello,
I'm encountering an issue where my released app fails to launch only on iOS 17.4. The version of the app released through TestFlight works fine without any issues.
Specifically, when the app installed from the App Store is launched on iOS 17.4, it immediately crashes. However, I've noticed the following:
If I turn off the network connection, such as putting the device in Airplane Mode, the app launches successfully.
Once the app is launched, I can re-enable the network connection, and the app continues to run without crashing.
My app uses StoreKit2 for handling transactions and connections with the App Store. It initiates a connection to the App Store via StoreKit2 at launch. The primary difference between the TestFlight version and the production version is the App Store endpoint they connect to. This leads me to suspect that there might be an issue with the connection to the App Store.
(Another possibility is that the app communicates with Firebase or Google Admob, so there could be an issue with these SDKs as well.)
This issue only occurs in the production version, making it difficult to investigate. Are there any suggestions on what I can do to further diagnose this issue?
You can download my app from here:
https://apps.apple.com/us/app/repeatable-player-cut-loop/id616310281
I can provide the TestFlight URL if needed.
Any help or guidance would be greatly appreciated.
On app minor update, after moving to xcode 15.2
Any thoughts on what could be causing it?
Thank you in advance.
I have a problem with the JS library 'dom-to-image', This JavaScript library converts a div to an image, but it's not working well on iPhone and Mac devices. Sometimes it doesn't work at all, and other times I need to download the image multiple times for it to work. I understand that Mac/iPhone devices have different rendering logic, but is there a way to check what the problem is and how to fix it?
I tried dom-to-image-more and some delay but still not working.
Thank you!